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

Description

WSM.Line3d namespace.

Functions

json Line3d (point, pointOrVector)
 
json Distance (line, point)
 
json Project (line, point)
 
json Intersect (line1, line2, tolerance)
 Returns the intersection point of two lines. More...
 
json IntersectWithParameters (line1, line2, tolerance)
 Returns the intersection point of two lines. More...
 
json GetParameter (line, point)
 Returns the parameter of the nearest point on the line In: WSM.Line3d In: WSM.Point3d Out: double. More...
 
json GetPointFromParameter (line, parameter)
 Returns the point on a line from the given parameter In: WSM.Line3d In: double Out: WSM.Point3d. More...
 
json AreEqual (line1, line2)
 
json IsValid (line)
 
json AreCoincident (line1, line2, sameDirectionAlso, tolerance)
 Coincident lines are such lines whose vectors are parallel and for which the root point of one line lies on the other line and vice versa. More...
 
json Null ()
 Returns a zero length line with the point at the origin Out: WSM.Line3d. More...
 
json XAxis ()
 Returns a line in the x direction with length 1 and with the point at the origin Out: WSM.Line3d. More...
 
json YAxis ()
 Returns a line in the y direction with length 1 and with the point at the origin Out: WSM.Line3d. More...
 
json ZAxis ()
 Returns a line in the z direction with length 1 and with the point at the origin Out: WSM.Line3d. More...