georegression.struct.shapes
Class Sphere3D_F32
- java.lang.Object
-
- georegression.struct.shapes.Sphere3D_F32
-
- All Implemented Interfaces:
- java.io.Serializable
public class Sphere3D_F32 extends java.lang.Object implements java.io.SerializableDefines a sphere in 3D space using a center point and radius.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description Point3D_F32centerCenter point of the spherefloatradiusRadius of the sphere
-
Constructor Summary
Constructors Constructor and Description Sphere3D_F32()Sphere3D_F32(float x, float y, float z, float radius)Sphere3D_F32(Sphere3D_F32 o)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Point3D_F32getCenter()floatgetRadius()voidset(float x, float y, float z, float radius)voidset(Sphere3D_F32 o)voidsetCenter(Point3D_F32 center)voidsetRadius(float radius)java.lang.StringtoString()
-
-
-
Field Detail
-
center
public Point3D_F32 center
Center point of the sphere
-
radius
public float radius
Radius of the sphere
-
-
Constructor Detail
-
Sphere3D_F32
public Sphere3D_F32()
-
Sphere3D_F32
public Sphere3D_F32(float x, float y, float z, float radius)
-
Sphere3D_F32
public Sphere3D_F32(Sphere3D_F32 o)
-
-
Method Detail
-
set
public void set(float x, float y, float z, float radius)
-
set
public void set(Sphere3D_F32 o)
-
setCenter
public void setCenter(Point3D_F32 center)
-
setRadius
public void setRadius(float radius)
-
getCenter
public Point3D_F32 getCenter()
-
getRadius
public float getRadius()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG