Documentation of 'georegression.struct.shapes.Sphere3D_F32' Java class
Sphere3D_F32
georegression.struct.shapes

Class Sphere3D_F32

  • All Implemented Interfaces:
    java.io.Serializable


    public class Sphere3D_F32
    extends java.lang.Object
    implements java.io.Serializable
    Defines a sphere in 3D space using a center point and radius.
    See Also:
    Serialized Form
    • 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)
    • Method Detail

      • set

        public void set(float x,
                        float y,
                        float z,
                        float radius)
      • setCenter

        public void setCenter(Point3D_F32 center)
      • setRadius

        public void setRadius(float radius)
      • getRadius

        public float getRadius()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.