Package georegression.fitting.cylinder
Class PointNormalDistanceFromCylinder_F64
java.lang.Object
georegression.fitting.cylinder.PointNormalDistanceFromCylinder_F64
- All Implemented Interfaces:
DistanceFromModel<Cylinder3D_F64,
PlaneNormal3D_F64>
public class PointNormalDistanceFromCylinder_F64
extends Object
implements DistanceFromModel<Cylinder3D_F64,PlaneNormal3D_F64>
Implementation of
DistanceFromModel
for Cylinder3D_F64
and PlaneNormal3D_F64
. It
returns the distance the point is from the cylinder's surface. The normal vector is ignored.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
distance
(PlaneNormal3D_F64 point) void
distances
(List<PlaneNormal3D_F64> list, double[] errors) void
setModel
(Cylinder3D_F64 plane)
-
Constructor Details
-
PointNormalDistanceFromCylinder_F64
public PointNormalDistanceFromCylinder_F64()
-
-
Method Details
-
setModel
- Specified by:
setModel
in interfaceDistanceFromModel<Cylinder3D_F64,
PlaneNormal3D_F64>
-
distance
- Specified by:
distance
in interfaceDistanceFromModel<Cylinder3D_F64,
PlaneNormal3D_F64>
-
distances
- Specified by:
distances
in interfaceDistanceFromModel<Cylinder3D_F64,
PlaneNormal3D_F64>
-
getPointType
- Specified by:
getPointType
in interfaceDistanceFromModel<Cylinder3D_F64,
PlaneNormal3D_F64>
-
getModelType
- Specified by:
getModelType
in interfaceDistanceFromModel<Cylinder3D_F64,
PlaneNormal3D_F64>
-