Modifier and Type | Method and Description |
---|---|
static MLine2d |
create(Vector2d firstPoint,
Vector2d secondPoint)
Creates a new instance.
|
void |
set(Vector2d startPoint,
Vector2d endPoint)
Sets the start and end points of this line.
|
void |
setEndPoint(Vector2d endPoint)
Sets the end point of this line to the value of the given point.
|
void |
setStartPoint(Vector2d startPoint)
Sets the starting point of this line to the value of the given point.
|
distance, distanceSquared, getDirection, getFirstPoint, getSecondPoint, intersect, isPointOnLeftSide, isPointOnRightSide, project
void setStartPoint(Vector2d startPoint)
startPoint
- the value that is set to be the starting point of this
linevoid setEndPoint(Vector2d endPoint)
endPoint
- the value that is set to be the end point of this linevoid set(Vector2d startPoint, Vector2d endPoint)
startPoint
- the value that is set to be the starting point of this
lineendPoint
- the value that is set to be the end point of this lineCopyright © 2019 Solibri, Inc.. All rights reserved.