SOLIDOS Modeler - Planes
Planes are auxiliary geometries for drawing more complex geometries.
There are the following activities that create plans:
Properties (for use in VB expressions)
- Origin - origin of the plane (
point)
- Vector - normal vector of the plane (
vector)
Methods (for use in VB expressions)
- GetClosestPointTo - calculates a point (pt) on the plane that is closest to the given point (pinf)
pt = plan.GetClosestPointTo(pinf)
Where:
pt and pinf will be a
Point
- EntitySide - calculates the side on which a geometry lies in relation to a plane
signal = plane.EntitySide(geom)
Where:
geom is any geometry (solid, point, curve, etc.)
The result will be:
- -1: the geometry is on the side opposite the plane's normal vector
- +1: the geometry is on the same side as the plane's normal vector
- 0: the geometry is intersected by the plane
- Double.NaN: the geometry is on both sides at the same time, or it has no volume, or it is not valid