Package | Description |
---|---|
com.solibri.geometry.mesh | |
com.solibri.geometry.primitive3d | |
com.solibri.smc.api.visualization |
Modifier and Type | Method and Description |
---|---|
Optional<Segment3d> |
TriangleMesh.shortestHorizontalPathTo(TriangleMesh other)
Returns the shortest horizontal path from this
TriangleMesh to another, if such path exists. |
Optional<Segment3d> |
TriangleMesh.shortestHorizontalPathTo(Vector3d point)
Returns the shortest horizontal path from this
TriangleMesh to a point, if such path exists. |
Optional<Segment3d> |
TriangleMesh.shortestPathTo(TriangleMesh other)
Returns the shortest path from this
TriangleMesh to another, if such path exists. |
Optional<Segment3d> |
TriangleMesh.shortestPathTo(Vector3d point)
Returns the shortest path from this
TriangleMesh to a given point, if such path exists. |
Optional<Segment3d> |
TriangleMesh.shortestVerticalPathTo(TriangleMesh other)
Returns the shortest vertical path from this
TriangleMesh to another, if such path exists. |
Optional<Segment3d> |
TriangleMesh.shortestVerticalPathTo(Vector3d point)
Returns the shortest vertical path from this
TriangleMesh to a point, if such path exists. |
Modifier and Type | Interface and Description |
---|---|
interface |
MSegment3d
Interface for handling segments in 3-dimensional space.
|
Modifier and Type | Method and Description |
---|---|
static Segment3d |
Segment3d.create(Vector3d startPoint,
Vector3d endPoint)
Creates an instance.
|
Segment3d |
Rectangle3d.getLongerRectangleSegment()
Returns the longer segment of the rectangle.
|
Segment3d |
Rectangle3d.getShorterRectangleSegment()
Returns the shorter segment of the rectangle.
|
Modifier and Type | Method and Description |
---|---|
default Iterator<Segment3d> |
Polygon3d.getEdgeIterator()
Returns an iterator that iterates through the segments in this polygon.
|
Collection<Segment3d> |
AABB3d.getEdges()
Returns the edges of this bounding box.
|
List<Segment3d> |
Rectangle3d.getLongerRectangleSegments()
Returns the longer segments of the rectangle.
|
List<Segment3d> |
Rectangle3d.getShorterRectangleSegments()
Returns the shorter segments of the rectangle.
|
static Comparator<Segment3d> |
Segment3d.lengthComparator()
Returns a comparator that compares non-null Segments by their length.
|
Modifier and Type | Method and Description |
---|---|
double |
Segment3d.distance(Segment3d other)
Returns the minimum distance between this Segment and the given Segment.
|
double |
Segment3d.distanceSquared(Segment3d other)
Returns the square of the minimum distance between this Segment and the
given Segment.
|
default boolean |
Segment3d.equalsWithTolerance(Segment3d other,
double tolerance)
Returns true if the ends of this Segment match the ends of Segment other
within tolerance.
|
Optional<MVector3d> |
Polygon3d.intersect(Segment3d segment)
Returns the intersection point of this polygon and the given segment.
|
Optional<MVector3d> |
Segment3d.intersect(Segment3d other)
Returns the intersection point of this and other Segment.
|
default boolean |
Polygon3d.intersects(Segment3d segment)
Returns true if the given segment intersects this polygon.
|
default boolean |
Segment3d.intersects(Segment3d other)
Returns true if this Segment intersects the given Segment, otherwise
returns false.
|
MSegment3d |
Segment3d.shortestSegmentBetween(Segment3d otherSegment)
Returns the shortest segment from this Segment to Segment b.
|
Modifier and Type | Method and Description |
---|---|
static Lines |
Lines.create(ARGBColor color,
Collection<Segment3d> segments,
Lines.LinePattern linePattern,
float lineThickness)
Creates visualization of a set of segments.
|
Copyright © 2019 Solibri, Inc.. All rights reserved.