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

Description

WSM.Point3d namespace.

Functions

json Point3d (x, y, z)
 Point3d constructs a Point3d. More...
 
json AreEqual (pt1, pt2)
 
json AddPoint (point1, point2)
 Adds two points. More...
 
json AddVector (point, vector)
 
json SubtractPoint (point1, point2)
 Subtracts a point from a point. More...
 
json SubtractVector (point, vector)
 
json MultiplyByFactor (point, factor)
 
json DotWithVector (point, vector)
 Returns the dot product between a point and vector. More...
 
json DistanceBetweenPoints (point1, point2)
 Returns the distance between two points. More...
 
json DistanceSquaredBetweenPoints (point1, point2)
 Returns the squared distance between two points. More...
 
json IsBetweenPoints (point, linePoint1, linePoint2)
 Returns true if a point (that is assumed to lie on the line defined by the two points p1, p2) is between the two given points or is coincident with one of the points In: WSM.Point3d, WSM.Point3d, WSM.Point3d Out: bool. More...
 
json Transform (point, transf3d)