Package com.solibri.geometry.primitive2d
Interface MLine2d
- All Superinterfaces:
- Line2d
Interface for handling lines in the XY-plane.
- Since:
- 9.10.2
- 
Method SummaryModifier and TypeMethodDescriptionstatic MLine2dCreates a new instance.voidSets the start and end points of this line.voidsetEndPoint(Vector2d endPoint) Sets the end point of this line to the value of the given point.voidsetStartPoint(Vector2d startPoint) Sets the starting point of this line to the value of the given point.Methods inherited from interface com.solibri.geometry.primitive2d.Line2ddistance, distanceSquared, getDirection, getFirstPoint, getSecondPoint, intersect, isPointOnLeftSide, isPointOnRightSide, project
- 
Method Details- 
setStartPointSets 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
 
- 
setEndPointSets 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
 
- 
setSets 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 line
- endPoint- the value that is set to be the end point of this line
- Since:
- 9.10.2
 
- 
createCreates a new instance.- Parameters:
- firstPoint- the first point
- secondPoint- the second point
- Returns:
- a MLine2d instance
- Since:
- 9.10.2
 
 
-