Package com.solibri.geometry.primitive3d
Interface MLine3d
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static MLine3d
create(Vector3d firstPoint, Vector3d secondPoint)
Creates a new instance.void
set(Vector3d startPoint, Vector3d endPoint)
Sets the start and end points of this line.void
setEndPoint(Vector3d endPoint)
Sets the end point of this line to the value of the given point.void
setStartPoint(Vector3d startPoint)
Sets the starting point of this line to the value of the given point.-
Methods inherited from interface com.solibri.geometry.primitive3d.Line3d
distance, distanceSqr, getDirection, getFirstPoint, getIntersectionPoint, getSecondPoint, intersects
-
-
-
-
Method Detail
-
setStartPoint
void setStartPoint(Vector3d startPoint)
Sets the starting point of this line to the value of the given point. This line does not take ownership of the given point.- Parameters:
startPoint
- the value that is set to be the starting point of this line- Since:
- 9.10.2
-
setEndPoint
void setEndPoint(Vector3d endPoint)
Sets the end point of this line to the value of the given point. This line does not take ownership of the given point.- Parameters:
endPoint
- the value that is set to be the end point of this line- Since:
- 9.10.2
-
set
void set(Vector3d startPoint, Vector3d endPoint)
Sets the start and end points of this line. This line does not take ownership of the given points.- Parameters:
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 line- Since:
- 9.10.2
-
-