FormIt Plugin API  v23.0.0 (2023.0.0)
WSM.Plane Namespace Reference

Description

WSM.Plane namespace.

Functions

json Plane (arg1, arg2, arg3)
 
json FromPoints (points, checkPlanarity)
 Returns a plane from the given set of coplanar points. More...
 
json FromPointsUsingThreeNoncollinearPnts (points, checkPlanarity, tolerance, tryAgain)
 Returns a plane from the first three non-collinear points of a vector of points resultStatus: can be 0, -1, -2. More...
 
json Negate (plane)
 Returns a plane that points in the opposite direction Parameters: In: WSM.Plane Out: WSM.Plane. More...
 
json Distance (plane, point)
 Returns the perpendicular distance of a point from a plane Parameters: In: WSM.Plane, WSM.Point3d Out: double. More...
 
json Project (plane, geomObject)
 
json OffsetByDistance (plane, distance)
 Returns a plane that is offset by a distance from a given plane Parameters: In: WSM.Plane, double Out: WSM.Plane. More...
 
json IntersectsInPoint (plane, line)
 Returns the intersection point of a plane and line. More...
 
json IntersectsInLine (plane1, plane2)
 Returns the intersection line of two planes. More...
 
json IsValid (plane)
 
json AreEqual (plane1, plane2, distanceTolerance, angleTolerance)
 
json AreEquivalent (plane1, plane2, distanceTolerance, angleTolerance)
 Returns true if two planes are equal within a given distance and angle tolerance, with possibly reversed normals Parameters: In: WSM.Plane In: WSM.Plane In: double In: double Out: bool. More...
 
json PointLiesOnNegativeSide (plane, point, tolerance)
 Returns true if a point lies on the plane or the negative side of the plane, using the given tolerance Parameters: In: WSM.Plane In: WSM.Point3d In: double Out: bool. More...
 
json IntervalIntersectsNegativeSide (plane, interval, tolerance)
 Returns true if the interval intersects the negative side of the plane, using the given tolerance Parameters: In: WSM.Plane In: WSM.Interval3d In: double Out: bool. More...
 
json IntervalLiesOnNegativeSide (plane, interval, tolerance)
 Returns true if the interval lies on the negative side of the plane, using the given tolerance Parameters: In: WSM.Plane In: WSM.Interval3d In: double Out: bool. More...