Uses of Interface
com.solibri.geometry.primitive2d.Segment2d
Package
Description
-
Uses of Segment2d in com.solibri.geometry.mesh
Modifier and TypeMethodDescriptionTriangleMesh.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.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
Modifier and TypeInterfaceDescriptioninterface
Interface for handling segments in the XY-plane.Modifier and TypeMethodDescriptionstatic Segment2d
Creates an new instance.Rectangle2d.getLongerRectangleSegment()
Returns the longer segment of the rectangle.Rectangle2d.getShorterRectangleSegment()
Returns the shorter segment of the rectangle.Segment2d.shortestSegmentBetween
(Segment2d segment) Returns the shortest segment from this segment to the given segment in the XY-plane.Polygon2d.shortestSegmentTo
(Polygon2d polygon) Returns the shortest segment between this polygon and the given polygon.Modifier and TypeMethodDescriptionPolygon2d.getEdgeIterator()
Returns an iterator that iterates through the edges of this polygon.AABB2d.getEdges()
Returns the edges of this axis-aligned bounding box in counter clockwise order.Rectangle2d.getLongerRectangleSegments()
Returns the longer segments of the rectangle.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.Modifier and TypeMethodDescriptiondefault double
Returns the minimum distance between this polygon and the given segment.double
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.Returns the point of intersection between this segment and other in the XY-plane.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.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
Modifier and TypeMethodDescriptionFlight.getBottomSegment()
Returns the flight bottom 2D segment.Flight.getTopSegment()
Returns the flight top 2D segment.