Modifier and Type | Method and Description |
---|---|
static MSegment3d |
create(Vector3d startPoint,
Vector3d endPoint)
Creates an instance.
|
void |
resize3d(double resize)
Resizes the segment by the given amount by adding the resize amount
as tolerance to each side of the segment.
|
void |
set(Vector3d startPoint,
Vector3d endPoint)
Sets the start and end points of this Segment.
|
void |
setEndPoint(Vector3d endPoint)
Sets the end point of this Segment to the value of the given point.
|
void |
setStartPoint(Vector3d startPoint)
Sets the starting point of this Segment to the value of the given point.
|
closestPointTo, contains, distance, distance, distanceSquared, distanceSquared, equalsWithTolerance, getEndPoint, getLength, getLengthSquared, getStartPoint, intersect, intersect, intersects, intersects, lengthComparator, sample, shortestSegmentBetween
void resize3d(double resize)
resize
- the resize amountvoid setStartPoint(Vector3d startPoint)
startPoint
- the value that is set to be the starting point of this
Segmentvoid setEndPoint(Vector3d endPoint)
endPoint
- the value that is set to be the end point of this Segmentvoid set(Vector3d startPoint, Vector3d endPoint)
startPoint
- the value that is set to be the starting point of this
SegmentendPoint
- the value that is set to be the end point of this Segmentstatic MSegment3d create(Vector3d startPoint, Vector3d endPoint)
Copyright © 2019 Solibri, Inc.. All rights reserved.