Line2D.set Method
Parent Object:
Line2DDefined in namespace "adsk::core" and the header file is <Core/Geometry/Line2D.h>
Description
Sets all of the data defining the line segment.
Syntax
"line2D_var" is a variable referencing a Line2D object.returnValue = line2D_var.set(startPoint, endPoint)
|
"line2D_var" is a variable referencing a Line2D object.
#include <Core/Geometry/Line2D.h>
returnValue = line2D_var->set(startPoint, endPoint);
|
Return Value
boolean |
Returns true if redefining the line is successful |
Parameters
startPoint |
Point2D |
The start point of the line |
endPoint |
Point2D |
The end point of the line |
Version
Introduced in version August 2014