Uses of Class
georegression.struct.line.LineSegment2D_F64
Packages that use LineSegment2D_F64
Package
Description
-
Uses of LineSegment2D_F64 in georegression.geometry
Methods in georegression.geometry with parameters of type LineSegment2D_F64Modifier and TypeMethodDescriptionstatic LineGeneral2D_F64UtilLine2D_F64.convert(LineSegment2D_F64 src, @Nullable LineGeneral2D_F64 ret) Converts a line segment into a general line.static LineParametric2D_F64UtilLine2D_F64.convert(LineSegment2D_F64 src, @Nullable LineParametric2D_F64 ret) Converts a line segment into a parametric line. -
Uses of LineSegment2D_F64 in georegression.metric
Methods in georegression.metric with parameters of type LineSegment2D_F64Modifier and TypeMethodDescriptionstatic Point2D_F64ClosestPoint2D_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 doubleDistance2D_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 doubleDistance2D_F64.distance(LineSegment2D_F64 segmentA, LineSegment2D_F64 segmentB) Finds the distance between the two line segmentsstatic doubleDistance2D_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 doubleDistance2D_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 doubleDistance2D_F64.distanceSq(LineSegment2D_F64 segmentA, LineSegment2D_F64 segmentB) Finds the distance squared between the two line segmentsstatic doubleDistance2D_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 doubleDistance2D_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 doubleIntersection2D_F64.intersection(LineParametric2D_F64 target, LineSegment2D_F64 l) Finds the point of intersection between a line and a line segment.static @Nullable Point2D_F64Intersection2D_F64.intersection(LineSegment2D_F64 l_0, LineSegment2D_F64 l_1, @Nullable Point2D_F64 ret) Finds the point of intersection between two lines segments.static booleanIntersection2D_F64.intersects(LineSegment2D_F64 a, LineSegment2D_F64 b, double tol) Returns true if the two line segments intersect.static booleanIntersection2D_F64.intersects(LineSegment2D_F64 line, Rectangle2D_F64 rect, double tol) Checks to see if the line segment and rectangle intersect each other.static booleanIntersection2D_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
Methods in georegression.struct that return LineSegment2D_F64Modifier and TypeMethodDescriptionstatic LineSegment2D_F64ConvertFloatType.convert(LineSegment2D_F32 src, @Nullable LineSegment2D_F64 dst) Methods in georegression.struct with parameters of type LineSegment2D_F64Modifier and TypeMethodDescriptionstatic LineSegment2D_F64ConvertFloatType.convert(LineSegment2D_F32 src, @Nullable LineSegment2D_F64 dst) static LineSegment2D_F32ConvertFloatType.convert(LineSegment2D_F64 src, @Nullable LineSegment2D_F32 dst) -
Uses of LineSegment2D_F64 in georegression.struct.line
Methods in georegression.struct.line that return LineSegment2D_F64Modifier 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_F64LineSegment2D_F64.wrap(Point2D_F64 a, Point2D_F64 b) Methods in georegression.struct.line with parameters of type LineSegment2D_F64 -
Uses of LineSegment2D_F64 in georegression.struct.shapes
Methods in georegression.struct.shapes that return LineSegment2D_F64Modifier 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) Methods in georegression.struct.shapes with parameters of type LineSegment2D_F64Modifier 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)