Line.CreateUnbound
Description:
Creates a new instance of an unbound linear curve.
Creates a new instance of an unbound linear curve.
-
originThe origin of the unbound line.
-
directionThe direction of the 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);
-
A non-optional argument was NULL
-
direction has zero length.
-
Vector and origin cannot form a proper unbound line.