Package georegression.struct.shapes
Class Sphere3D_F64
java.lang.Object
georegression.struct.shapes.Sphere3D_F64
- All Implemented Interfaces:
Serializable,MapFormattable
Defines a sphere in 3D space using a center point and radius.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionCenter point of the spheredoubleRadius of the sphere -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformatMap(MapPrintFormat format) setTo(double x, double y, double z, double radius) toString()voidzero()Sets the value of all fields to zeroMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ejml.MapFormattable
formatMap
-
Field Details
-
center
Center point of the sphere -
radius
public double radiusRadius of the sphere
-
-
Constructor Details
-
Sphere3D_F64
public Sphere3D_F64() -
Sphere3D_F64
public Sphere3D_F64(double x, double y, double z, double radius) -
Sphere3D_F64
-
-
Method Details
-
setTo
-
setTo
-
zero
public void zero()Sets the value of all fields to zero -
formatMap
- Specified by:
formatMapin interfaceMapFormattable
-
toString
-