georegression.struct.shapes
Class CylinderBounded3D_F32
- java.lang.Object
-
- georegression.struct.shapes.CylinderBounded3D_F32
-
- All Implemented Interfaces:
- java.io.Serializable
public class CylinderBounded3D_F32 extends java.lang.Object implements java.io.SerializableSpecifies 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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description Point3D_F32endAEnd points of the cylinderPoint3D_F32endBEnd points of the cylinderfloatradiusRadius of the cylinder
-
Constructor Summary
Constructors Constructor and Description CylinderBounded3D_F32()CylinderBounded3D_F32(boolean declare)Constructor which makes declaration of the two end points optionalCylinderBounded3D_F32(CylinderBounded3D_F32 o)CylinderBounded3D_F32(float x_0, float y_0, float z_0, float x_1, float y_1, float z_1, float radius)CylinderBounded3D_F32(Point3D_F32 endA, Point3D_F32 endB, float radius)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Point3D_F32getEndA()Point3D_F32getEndB()floatgetRadius()voidset(CylinderBounded3D_F32 o)voidset(float x_0, float y_0, float z_0, float x_1, float y_1, float z_1, float radius)voidset(Point3D_F32 endA, Point3D_F32 endB, float radius)java.lang.StringtoString()
-
-
-
Field Detail
-
endA
public Point3D_F32 endA
End points of the cylinder
-
endB
public Point3D_F32 endB
End points of the cylinder
-
radius
public float radius
Radius of the cylinder
-
-
Constructor Detail
-
CylinderBounded3D_F32
public CylinderBounded3D_F32()
-
CylinderBounded3D_F32
public CylinderBounded3D_F32(float x_0, float y_0, float z_0, float x_1, float y_1, float z_1, float radius)
-
CylinderBounded3D_F32
public CylinderBounded3D_F32(Point3D_F32 endA, Point3D_F32 endB, float radius)
-
CylinderBounded3D_F32
public CylinderBounded3D_F32(CylinderBounded3D_F32 o)
-
CylinderBounded3D_F32
public CylinderBounded3D_F32(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 Detail
-
set
public void set(float x_0, float y_0, float z_0, float x_1, float y_1, float z_1, float radius)
-
set
public void set(Point3D_F32 endA, Point3D_F32 endB, float radius)
-
set
public void set(CylinderBounded3D_F32 o)
-
getEndA
public Point3D_F32 getEndA()
-
getEndB
public Point3D_F32 getEndB()
-
getRadius
public float getRadius()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG