Uses of Class
georegression.struct.line.LineSegment2D_F64
Package
Description
-
Uses of LineSegment2D_F64 in georegression.geometry
Modifier and TypeMethodDescriptionstatic LineGeneral2D_F64
UtilLine2D_F64.convert
(LineSegment2D_F64 src, @Nullable LineGeneral2D_F64 ret) Converts a line segment into a general line.static LineParametric2D_F64
UtilLine2D_F64.convert
(LineSegment2D_F64 src, @Nullable LineParametric2D_F64 ret) Converts a line segment into a parametric line. -
Uses of LineSegment2D_F64 in georegression.metric
Modifier and TypeMethodDescriptionstatic Point2D_F64
ClosestPoint2D_F64.closestPoint
(LineSegment2D_F64 line, Point2D_F64 p, @Nullable Point2D_F64 output) Finds the closest point on the line segment to the provided point 'p'.static double
Distance2D_F64.distance
(LineSegment2D_F64 line, double x, double y) Returns the Euclidean distance of the closest point on a line segment to the specified point.static double
Distance2D_F64.distance
(LineSegment2D_F64 segmentA, LineSegment2D_F64 segmentB) Finds the distance between the two line segmentsstatic double
Distance2D_F64.distance
(LineSegment2D_F64 line, Point2D_F64 p) Returns the Euclidean distance of the closest point on a line segment to the specified point.static double
Distance2D_F64.distanceSq
(LineSegment2D_F64 line, double x, double y) Returns the Euclidean distance squared of the closest point on a line segment to the specified point.static double
Distance2D_F64.distanceSq
(LineSegment2D_F64 segmentA, LineSegment2D_F64 segmentB) Finds the distance squared between the two line segmentsstatic double
Distance2D_F64.distanceSq
(LineSegment2D_F64 line, Point2D_F64 p) Returns the Euclidean distance squared of the closest point on a line segment to the specified point.static double
Distance2D_F64.distanceSq
(Polygon2D_F64 poly, Point2D_F64 p, @Nullable LineSegment2D_F64 storage) Returns the Euclidean distance squared of the closest point on the Polygon to the provided point.static double
Intersection2D_F64.intersection
(LineParametric2D_F64 target, LineSegment2D_F64 l) Finds the point of intersection between a line and a line segment.static @Nullable Point2D_F64
Intersection2D_F64.intersection
(LineSegment2D_F64 l_0, LineSegment2D_F64 l_1, @Nullable Point2D_F64 ret) Finds the point of intersection between two lines segments.static boolean
Intersection2D_F64.intersects
(LineSegment2D_F64 a, LineSegment2D_F64 b, double tol) Returns true if the two line segments intersect.static boolean
Intersection2D_F64.intersects
(LineSegment2D_F64 line, Rectangle2D_F64 rect, double tol) Checks to see if the line segment and rectangle intersect each other.static boolean
Intersection2D_F64.intersects2
(LineSegment2D_F64 a, LineSegment2D_F64 b, double tol) Returns true if the two line segments intersect. -
Uses of LineSegment2D_F64 in georegression.struct
Modifier and TypeMethodDescriptionstatic LineSegment2D_F64
ConvertFloatType.convert
(LineSegment2D_F32 src, @Nullable LineSegment2D_F64 dst) Modifier and TypeMethodDescriptionstatic LineSegment2D_F64
ConvertFloatType.convert
(LineSegment2D_F32 src, @Nullable LineSegment2D_F64 dst) static LineSegment2D_F32
ConvertFloatType.convert
(LineSegment2D_F64 src, @Nullable LineSegment2D_F32 dst) -
Uses of LineSegment2D_F64 in georegression.struct.line
Modifier and TypeMethodDescriptionLineSegment2D_F64.copy()
LineSegment2D_F64.setTo
(double x0, double y0, double x1, double y1) LineSegment2D_F64.setTo
(LineSegment2D_F64 l) LineSegment2D_F64.setTo
(Point2D_F64 a, Point2D_F64 b) static LineSegment2D_F64
LineSegment2D_F64.wrap
(Point2D_F64 a, Point2D_F64 b) -
Uses of LineSegment2D_F64 in georegression.struct.shapes
Modifier and TypeMethodDescriptionPolygon2D_F64.getLine
(int index, LineSegment2D_F64 storage) Returns the line/edge defined by vertex index and index+1.Quadrilateral_F64.getLine
(int which, LineSegment2D_F64 storage) Modifier and TypeMethodDescriptionPolygon2D_F64.getLine
(int index, LineSegment2D_F64 storage) Returns the line/edge defined by vertex index and index+1.Quadrilateral_F64.getLine
(int which, LineSegment2D_F64 storage)