Package georegression.struct.shapes
Class Cylinder3D_F64
java.lang.Object
georegression.struct.shapes.Cylinder3D_F64
- All Implemented Interfaces:
Serializable
Defines a cylinder in 3D space using a point and vector, which defines a line, and a radius around the line.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionLine which defines the cylinder's axisdouble
Radius of the cylinder -
Constructor Summary
ConstructorDescriptionCylinder3D_F64
(boolean declare) Cylinder3D_F64
(double x_0, double y_0, double z_0, double slopeX, double slopeY, double slopeZ, double radius) Cylinder3D_F64
(LineParametric3D_F64 line, double radius) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
isIdentical
(Cylinder3D_F64 c, double tol) Returns true if every parameter is identical to the passed in Cylinder to within the specified tolerancesetTo
(double x_0, double y_0, double z_0, double slopeX, double slopeY, double slopeZ, double radius) setTo
(LineParametric3D_F64 line, double radius) toString()
void
zero()
-
Field Details
-
line
Line which defines the cylinder's axis -
radius
public double radiusRadius of the cylinder
-
-
Constructor Details
-
Cylinder3D_F64
public Cylinder3D_F64() -
Cylinder3D_F64
public Cylinder3D_F64(double x_0, double y_0, double z_0, double slopeX, double slopeY, double slopeZ, double radius) -
Cylinder3D_F64
-
Cylinder3D_F64
-
Cylinder3D_F64
public Cylinder3D_F64(boolean declare)
-
-
Method Details
-
setTo
public Cylinder3D_F64 setTo(double x_0, double y_0, double z_0, double slopeX, double slopeY, double slopeZ, double radius) -
setTo
-
setTo
-
zero
public void zero() -
isIdentical
Returns true if every parameter is identical to the passed in Cylinder to within the specified tolerance -
equals
-
toString
-
hashCode
public int hashCode()
-