2027 Method
Changes 0
M

Line.CreateBound

Description:
Creates a new instance of a bound linear curve.
public static Line CreateBound(
	XYZ endpoint1,
	XYZ endpoint2
)
  • endpoint1
    The first line endpoint.
  • endpoint2
    The second line endpoint.
Return Value Line The new bound line.
// define start and end for bound line
XYZ startPoint = new XYZ(0, 0, 0);
XYZ endPoint = new XYZ(10, 10, 10);

// create line
Line line = Line.CreateBound(startPoint, endPoint);