FormIt Plugin API v25.0.0 (2025.0.0)
Loading...
Searching...
No Matches
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.
 
json IntersectWithParameters (line1, line2, tolerance)
 Returns the intersection point of two lines.
 
json GetParameter (line, point)
 Returns the parameter of the nearest point on the line In: WSM.Line3d In: WSM.Point3d Out: double
 
json GetPointFromParameter (line, parameter)
 Returns the point on a line from the given parameter In: WSM.Line3d In: double Out: WSM.Point3d
 
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.
 
json Null ()
 Returns a zero length line with the point at the origin Out: WSM.Line3d
 
json XAxis ()
 Returns a line in the x direction with length 1 and with the point at the origin Out: WSM.Line3d
 
json YAxis ()
 Returns a line in the y direction with length 1 and with the point at the origin Out: WSM.Line3d
 
json ZAxis ()
 Returns a line in the z direction with length 1 and with the point at the origin Out: WSM.Line3d