|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.genopus.nonWidget.vehicle.geometry.CustomSphere
public class CustomSphere
Sphere shape class.
| Constructor Summary | |
|---|---|
CustomSphere(double surface)
Creates a new instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
double |
getCrossSection(org.apache.commons.math3.geometry.euclidean.threed.Vector3D direction)
|
double |
getRadius()
Get surface radius. |
static double |
getRadiusFromSurface(double surface)
Get radius from surface value. |
double |
getSurface()
Get surface. |
static double |
getSurfaceFromRadius(double radius)
Get surface from radius value. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CustomSphere(double surface)
surface - sphere surface (m2)| Method Detail |
|---|
public double getCrossSection(org.apache.commons.math3.geometry.euclidean.threed.Vector3D direction)
getCrossSection in interface org.apache.commons.math3.geometry.euclidean.threed.CrossSectionProviderpublic double getSurface()
public double getRadius()
public static double getRadiusFromSurface(double surface)
surface - surface
public static double getSurfaceFromRadius(double radius)
radius - radius
public boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||