Module simpa.core

Class SphereDescripton

java.lang.Object
simpa.core.api.SphereDescripton

public class SphereDescripton extends Object
Class that describes a single sphere.
  • Constructor Summary

    Constructors
    Constructor
    Description
    SphereDescripton(org.apache.commons.math3.geometry.euclidean.threed.Vector3D centre, double radius)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    org.apache.commons.math3.geometry.euclidean.threed.Vector3D
     
    double
     
    int
     
    void
    setCentre(org.apache.commons.math3.geometry.euclidean.threed.Vector3D centre)
     
    void
    setRadius(double radius)
     

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SphereDescripton

      public SphereDescripton(org.apache.commons.math3.geometry.euclidean.threed.Vector3D centre, double radius)
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getCentre

      public org.apache.commons.math3.geometry.euclidean.threed.Vector3D getCentre()
    • setCentre

      public void setCentre(org.apache.commons.math3.geometry.euclidean.threed.Vector3D centre)
    • getRadius

      public double getRadius()
    • setRadius

      public void setRadius(double radius)