Uses of Interface
com.solibri.geometry.primitive2d.Segment2d
-
Packages that use Segment2d Package Description com.solibri.geometry.mesh com.solibri.geometry.primitive2d com.solibri.smc.api.model.components -
-
Uses of Segment2d in com.solibri.geometry.mesh
Methods in com.solibri.geometry.mesh that return types with arguments of type Segment2d Modifier and Type Method Description Optional<Segment2d>
TriangleMesh. shortest2dPathInXYPlaneProjectionTo(Vector3d point)
Returns the shortest 2D path from the projection of thisTriangleMesh
to the projection of a point in the XY-plane, if such path exists.Optional<Segment2d>
TriangleMesh. shortest2dPathInXYPlaneProjectionTo(TriangleMesh other)
Returns the shortest 2D path from the projection of thisTriangleMesh
to the projection of anotherTriangleMesh
in the XY-plane, if such path exists. -
Uses of Segment2d in com.solibri.geometry.primitive2d
Subinterfaces of Segment2d in com.solibri.geometry.primitive2d Modifier and Type Interface Description interface
MSegment2d
Interface for handling segments in the XY-plane.Methods in com.solibri.geometry.primitive2d that return Segment2d Modifier and Type Method Description static Segment2d
Segment2d. create(Vector2d startPoint, Vector2d endPoint)
Creates an new instance.Segment2d
Rectangle2d. getLongerRectangleSegment()
Returns the longer segment of the rectangle.Segment2d
Rectangle2d. getShorterRectangleSegment()
Returns the shorter segment of the rectangle.Segment2d
Segment2d. shortestSegmentBetween(Segment2d segment)
Returns the shortest segment from this segment to the given segment in the XY-plane.Segment2d
Polygon2d. shortestSegmentTo(Polygon2d polygon)
Returns the shortest segment between this polygon and the given polygon.Methods in com.solibri.geometry.primitive2d that return types with arguments of type Segment2d Modifier and Type Method Description Iterator<Segment2d>
Polygon2d. getEdgeIterator()
Returns an iterator that iterates through the edges of this polygon.List<Segment2d>
AABB2d. getEdges()
Returns the edges of this axis-aligned bounding box in counter clockwise order.List<Segment2d>
Rectangle2d. getLongerRectangleSegments()
Returns the longer segments of the rectangle.List<Segment2d>
Rectangle2d. getShorterRectangleSegments()
Returns the shorter segments of the rectangle.static Comparator<Segment2d>
Segment2d. lengthComparator()
Returns a comparator that compares non-null Segments by their length in the XY-plane.Methods in com.solibri.geometry.primitive2d with parameters of type Segment2d Modifier and Type Method Description default double
Polygon2d. distance(Segment2d segment)
Returns the minimum distance between this polygon and the given segment.double
Segment2d. distance(Segment2d other)
Returns the minimum distance in the XY-plane between this and the given segment.double
Polygon2d. distanceSquared(Segment2d segment)
Returns the square of the minimum distance between this polygon and the given segment.double
Segment2d. distanceSquared(Segment2d other)
Returns the square of the minimum distance in the XY-plane between this and the given segment.default boolean
Segment2d. equalsWithTolerance(Segment2d other, double tolerance)
Returns true if the start and end points of this segment are within tolerance of the start and end points of other in the XY-plane.Optional<MVector2d>
Segment2d. intersect(Segment2d other)
Returns the point of intersection between this segment and other in the XY-plane.Collection<MVector2d>
Polygon2d. intersectEdges(Segment2d segment)
Returns all intersection points between the edges of this polygon and the given segment.default boolean
Segment2d. intersects(Segment2d other)
Returns true if this segment and other intersect in the XY-plane, otherwise returns false.Segment2d
Segment2d. shortestSegmentBetween(Segment2d segment)
Returns the shortest segment from this segment to the given segment in the XY-plane. -
Uses of Segment2d in com.solibri.smc.api.model.components
Methods in com.solibri.smc.api.model.components that return Segment2d Modifier and Type Method Description Segment2d
Flight. getBottomSegment()
Returns the flight bottom 2D segment.Segment2d
Flight. getTopSegment()
Returns the flight top 2D segment.
-