2027 Method
Changes 0
M

Line.CreateUnbound

Description:
Creates a new instance of an unbound linear curve.
public static Line CreateUnbound(
	XYZ origin,
	XYZ direction
)
  • origin
    The origin of the unbound line.
  • direction
    The direction of the unbound line.
Return Value Line The new unbound line.
// define start point and direction for unbound line
XYZ startPoint = new XYZ(0, 0, 0);
XYZ directionPt = new XYZ(10, 10, 10);

// create line
Line line = Line.CreateUnbound(startPoint, directionPt);