Package georegression.struct.shapes
Class Cylinder3D_F64
java.lang.Object
georegression.struct.shapes.Cylinder3D_F64
- All Implemented Interfaces:
Serializable,MapFormattable
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
FieldsModifier and TypeFieldDescriptionLine which defines the cylinder's axisdoubleRadius of the cylinder -
Constructor Summary
ConstructorsConstructorDescriptionCylinder3D_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 TypeMethodDescriptionbooleanformatMap(MapPrintFormat format) inthashCode()booleanisIdentical(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()voidzero()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ejml.MapFormattable
formatMap
-
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
-
formatMap
- Specified by:
formatMapin interfaceMapFormattable
-
toString
-
hashCode
public int hashCode()
-