Package georegression.struct.shapes
Class Cylinder3D_F32
java.lang.Object
georegression.struct.shapes.Cylinder3D_F32
- All Implemented Interfaces:
Serializable
@Generated("georegression.struct.shapes.Cylinder3D_F64")
public class Cylinder3D_F32
extends Object
implements 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 axisfloat
Radius of the cylinder -
Constructor Summary
ConstructorDescriptionCylinder3D_F32
(boolean declare) Cylinder3D_F32
(float x_0, float y_0, float z_0, float slopeX, float slopeY, float slopeZ, float radius) Cylinder3D_F32
(LineParametric3D_F32 line, float radius) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
isIdentical
(Cylinder3D_F32 c, float tol) Returns true if every parameter is identical to the passed in Cylinder to within the specified tolerancesetTo
(float x_0, float y_0, float z_0, float slopeX, float slopeY, float slopeZ, float radius) setTo
(LineParametric3D_F32 line, float radius) toString()
void
zero()
-
Field Details
-
line
Line which defines the cylinder's axis -
radius
public float radiusRadius of the cylinder
-
-
Constructor Details
-
Cylinder3D_F32
public Cylinder3D_F32() -
Cylinder3D_F32
public Cylinder3D_F32(float x_0, float y_0, float z_0, float slopeX, float slopeY, float slopeZ, float radius) -
Cylinder3D_F32
-
Cylinder3D_F32
-
Cylinder3D_F32
public Cylinder3D_F32(boolean declare)
-
-
Method Details
-
setTo
public Cylinder3D_F32 setTo(float x_0, float y_0, float z_0, float slopeX, float slopeY, float slopeZ, float 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()
-