Package com.solibri.geometry.primitive3d
Interface MSegment3d
- All Superinterfaces:
- Segment3d
Interface for handling segments in 3-dimensional space.
- Since:
- 9.10.2
- 
Method SummaryModifier and TypeMethodDescriptionstatic MSegment3dCreates an instance.voidresize3d(double resize) Resizes the segment by the given amount by adding the resize amount as tolerance to each side of the segment.voidSets the start and end points of this Segment.voidsetEndPoint(Vector3d endPoint) Sets the end point of this Segment to the value of the given point.voidsetStartPoint(Vector3d startPoint) Sets the starting point of this Segment to the value of the given point.Methods inherited from interface com.solibri.geometry.primitive3d.Segment3dclosestPointTo, contains, distance, distance, distanceSquared, distanceSquared, equalsWithTolerance, getEndPoint, getLength, getLengthSquared, getStartPoint, intersect, intersect, intersects, intersects, sample, shortestSegmentBetween
- 
Method Details- 
resize3dvoid resize3d(double resize) Resizes the segment by the given amount by adding the resize amount as tolerance to each side of the segment.- Parameters:
- resize- the resize amount
- Since:
- 9.10.2
 
- 
setStartPointSets the starting point of this Segment to the value of the given point. This Segment does not take ownership of the given point.- Parameters:
- startPoint- the value that is set to be the starting point of this Segment
- Since:
- 9.10.2
 
- 
setEndPointSets the end point of this Segment to the value of the given point. This Segment does not take ownership of the given point.- Parameters:
- endPoint- the value that is set to be the end point of this Segment
- Since:
- 9.10.2
 
- 
setSets the start and end points of this Segment. This Segment does not take ownership of the given points.- Parameters:
- startPoint- the value that is set to be the starting point of this Segment
- endPoint- the value that is set to be the end point of this Segment
- Since:
- 9.10.2
 
- 
createCreates an instance.- Parameters:
- startPoint- the start point
- endPoint- the end point
- Returns:
- the newly created instance
- Since:
- 9.10.2
 
 
-