|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.genopus.nonWidget.vehicle.geometry.CustomCylinder
public class CustomCylinder
Cylinder shape class.
| Constructor Summary | |
|---|---|
CustomCylinder(double xAxisSurf,
double transversalSurf)
Creates a new instance of a cylinder. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
double |
getCrossSection(org.apache.commons.math3.geometry.euclidean.threed.Vector3D direction)
|
double |
getEquivalentTransversalSurf()
Get equivalent transversal surface. |
double |
getLength()
Get length corresponding to transversal surface (x length) (m). |
static double |
getLenthFromTSurfaceAndRadius(double tarnsversalSurf,
double radius)
Get length from the transversal surface and radius. |
double |
getRadius()
Get radius corresponding to perpendicular x axis surface (m). |
double |
getSurfX()
Get surface perpendicular to X axis (m2). |
double |
getTransversalSurf()
Get transversal surface (m2). |
static double |
getTSurfaceFromRadiusAndLegth(double radius,
double length)
Get transversal surface from radius and length. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CustomCylinder(double xAxisSurf,
double transversalSurf)
xAxisSurf - surface perpendicular to X axis (m2)transversalSurf - transversal 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 getSurfX()
public double getRadius()
public double getLength()
throws NonWidgetException
NonWidgetException - if radius is negative or zero (undetermined length)public double getEquivalentTransversalSurf()
public double getTransversalSurf()
public static double getLenthFromTSurfaceAndRadius(double tarnsversalSurf,
double radius)
throws NonWidgetException
tarnsversalSurf - cylinder transversal surfaceradius - cylinder radius
NonWidgetException - if radius is negative or zero (undetermined length)
public static double getTSurfaceFromRadiusAndLegth(double radius,
double length)
radius - cylinder radiuslength - cylinder length
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 | |||||||||