georegression.geometry
Class UtilLine3D_F64
- java.lang.Object
-
- georegression.geometry.UtilLine3D_F64
-
public class UtilLine3D_F64 extends java.lang.ObjectVarious utilty functions related to lines in 3D
-
-
Constructor Summary
Constructors Constructor and Description UtilLine3D_F64()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static doublecomputeT(LineParametric3D_F64 line, Point3D_F64 pointOnLine)Computes the value of T for a point on the parametric linestatic LineParametric3D_F64convert(LineSegment3D_F64 line, LineParametric3D_F64 output)Converts aLineSegment3D_F64intoLineParametric3D_F64.
-
-
-
Method Detail
-
convert
public static LineParametric3D_F64 convert(LineSegment3D_F64 line, LineParametric3D_F64 output)
Converts aLineSegment3D_F64intoLineParametric3D_F64.- Parameters:
line- Line segmentoutput- Storage for converted line. If null new line will be declared.- Returns:
- Line in parametric format
-
computeT
public static double computeT(LineParametric3D_F64 line, Point3D_F64 pointOnLine)
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
-
-
DataMelt 3.0 © DataMelt by jWork.ORG