Package georegression.struct.shapes
Class CylinderBounded3D_F64
java.lang.Object
georegression.struct.shapes.CylinderBounded3D_F64
- All Implemented Interfaces:
Serializable
Specifies a Cylinder in 3D space which is bounded along the axis. The axis line is specified using two points,
where the points are its end points.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionEnd points of the cylinderEnd points of the cylinderdouble
Radius of the cylinder -
Constructor Summary
ConstructorDescriptionCylinderBounded3D_F64
(boolean declare) Constructor which makes declaration of the two end points optionalCylinderBounded3D_F64
(double x_0, double y_0, double z_0, double x_1, double y_1, double z_1, double radius) CylinderBounded3D_F64
(Point3D_F64 endA, Point3D_F64 endB, double radius) -
Method Summary
Modifier and TypeMethodDescriptionsetTo
(double x_0, double y_0, double z_0, double x_1, double y_1, double z_1, double radius) setTo
(Point3D_F64 endA, Point3D_F64 endB, double radius) toString()
void
zero()
-
Field Details
-
endA
End points of the cylinder -
endB
End points of the cylinder -
radius
public double radiusRadius of the cylinder
-
-
Constructor Details
-
CylinderBounded3D_F64
public CylinderBounded3D_F64() -
CylinderBounded3D_F64
public CylinderBounded3D_F64(double x_0, double y_0, double z_0, double x_1, double y_1, double z_1, double radius) -
CylinderBounded3D_F64
-
CylinderBounded3D_F64
-
CylinderBounded3D_F64
public CylinderBounded3D_F64(boolean declare) Constructor which makes declaration of the two end points optional- Parameters:
declare
- if true the end points will be declared, otherwise they will be initalized to null.
-
-
Method Details
-
setTo
public CylinderBounded3D_F64 setTo(double x_0, double y_0, double z_0, double x_1, double y_1, double z_1, double radius) -
setTo
-
setTo
-
zero
public void zero() -
toString
-