Package georegression.geometry
Class UtilLine3D_F64
java.lang.Object
georegression.geometry.UtilLine3D_F64
Various utilty functions related to lines in 3D
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic double
computeT
(LineParametric3D_F64 line, Point3D_F64 pointOnLine) Computes the value of T for a point on the parametric linestatic LineParametric3D_F64
convert
(LineSegment3D_F64 line, @Nullable LineParametric3D_F64 output) Converts aLineSegment3D_F64
intoLineParametric3D_F64
.
-
Constructor Details
-
UtilLine3D_F64
public UtilLine3D_F64()
-
-
Method Details
-
convert
public static LineParametric3D_F64 convert(LineSegment3D_F64 line, @Nullable @Nullable LineParametric3D_F64 output) Converts aLineSegment3D_F64
intoLineParametric3D_F64
.- Parameters:
line
- Line segmentoutput
- Storage for converted line. If null new line will be declared.- Returns:
- Line in parametric format
-
computeT
Computes the value of T for a point on the parametric line- Parameters:
line
- The linepointOnLine
- Point on a line- Returns:
- Value of T for the point
-