Uses of Class
georegression.struct.line.LineSegment2D_F32
Packages that use LineSegment2D_F32
Package
Description
-
Uses of LineSegment2D_F32 in georegression.geometry
Methods in georegression.geometry with parameters of type LineSegment2D_F32Modifier and TypeMethodDescriptionstatic LineGeneral2D_F32UtilLine2D_F32.convert(LineSegment2D_F32 src, @Nullable LineGeneral2D_F32 ret) Converts a line segment into a general line.static LineParametric2D_F32UtilLine2D_F32.convert(LineSegment2D_F32 src, @Nullable LineParametric2D_F32 ret) Converts a line segment into a parametric line. -
Uses of LineSegment2D_F32 in georegression.metric
Methods in georegression.metric with parameters of type LineSegment2D_F32Modifier and TypeMethodDescriptionstatic Point2D_F32ClosestPoint2D_F32.closestPoint(LineSegment2D_F32 line, Point2D_F32 p, @Nullable Point2D_F32 output) Finds the closest point on the line segment to the provided point 'p'.static floatDistance2D_F32.distance(LineSegment2D_F32 line, float x, float y) Returns the Euclidean distance of the closest point on a line segment to the specified point.static floatDistance2D_F32.distance(LineSegment2D_F32 segmentA, LineSegment2D_F32 segmentB) Finds the distance between the two line segmentsstatic floatDistance2D_F32.distance(LineSegment2D_F32 line, Point2D_F32 p) Returns the Euclidean distance of the closest point on a line segment to the specified point.static floatDistance2D_F32.distanceSq(LineSegment2D_F32 line, float x, float y) Returns the Euclidean distance squared of the closest point on a line segment to the specified point.static floatDistance2D_F32.distanceSq(LineSegment2D_F32 segmentA, LineSegment2D_F32 segmentB) Finds the distance squared between the two line segmentsstatic floatDistance2D_F32.distanceSq(LineSegment2D_F32 line, Point2D_F32 p) Returns the Euclidean distance squared of the closest point on a line segment to the specified point.static floatDistance2D_F32.distanceSq(Polygon2D_F32 poly, Point2D_F32 p, @Nullable LineSegment2D_F32 storage) Returns the Euclidean distance squared of the closest point on the Polygon to the provided point.static floatIntersection2D_F32.intersection(LineParametric2D_F32 target, LineSegment2D_F32 l) Finds the point of intersection between a line and a line segment.static @Nullable Point2D_F32Intersection2D_F32.intersection(LineSegment2D_F32 l_0, LineSegment2D_F32 l_1, @Nullable Point2D_F32 ret) Finds the point of intersection between two lines segments.static booleanIntersection2D_F32.intersects(LineSegment2D_F32 a, LineSegment2D_F32 b, float tol) Returns true if the two line segments intersect.static booleanIntersection2D_F32.intersects(LineSegment2D_F32 line, Rectangle2D_F32 rect, float tol) Checks to see if the line segment and rectangle intersect each other.static booleanIntersection2D_F32.intersects2(LineSegment2D_F32 a, LineSegment2D_F32 b, float tol) Returns true if the two line segments intersect. -
Uses of LineSegment2D_F32 in georegression.struct
Methods in georegression.struct that return LineSegment2D_F32Modifier and TypeMethodDescriptionstatic LineSegment2D_F32ConvertFloatType.convert(LineSegment2D_F64 src, @Nullable LineSegment2D_F32 dst) Methods in georegression.struct with parameters of type LineSegment2D_F32Modifier 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_F32 in georegression.struct.line
Methods in georegression.struct.line that return LineSegment2D_F32Modifier and TypeMethodDescriptionLineSegment2D_F32.copy()LineSegment2D_F32.setTo(float x0, float y0, float x1, float y1) LineSegment2D_F32.setTo(LineSegment2D_F32 l) LineSegment2D_F32.setTo(Point2D_F32 a, Point2D_F32 b) static LineSegment2D_F32LineSegment2D_F32.wrap(Point2D_F32 a, Point2D_F32 b) Methods in georegression.struct.line with parameters of type LineSegment2D_F32 -
Uses of LineSegment2D_F32 in georegression.struct.shapes
Methods in georegression.struct.shapes that return LineSegment2D_F32Modifier and TypeMethodDescriptionPolygon2D_F32.getLine(int index, LineSegment2D_F32 storage) Returns the line/edge defined by vertex index and index+1.Quadrilateral_F32.getLine(int which, LineSegment2D_F32 storage) Methods in georegression.struct.shapes with parameters of type LineSegment2D_F32Modifier and TypeMethodDescriptionPolygon2D_F32.getLine(int index, LineSegment2D_F32 storage) Returns the line/edge defined by vertex index and index+1.Quadrilateral_F32.getLine(int which, LineSegment2D_F32 storage)