|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.genopus.nonWidget.vehicle.geometry.CustomParallelepiped
public class CustomParallelepiped
Parallelepiped shape class.
| Constructor Summary | |
|---|---|
CustomParallelepiped(double surfX,
double surfY,
double surfZ)
Creates a new instance of a parallelepiped. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
double |
getCrossSection(org.apache.commons.math3.geometry.euclidean.threed.Vector3D direction)
|
double |
getHeight()
Get z direction dimension (m). |
static double |
getHeightFromSurfs(double surfX,
double surfY,
double surfZ)
Get parallelepiped height (Z direction dimension). |
double |
getLength()
Get x direction dimension (m). |
static double |
getLengthFromSurfs(double surfX,
double surfY,
double surfZ)
Get parallelepiped length (X direction dimension). |
double |
getSurfX()
Get surface perpendicular to X axis (m2). |
double |
getSurfY()
Get surface perpendicular to Y axis (m2). |
double |
getSurfZ()
Get surface perpendicular to Z axis (m2). |
double |
getWidth()
Get y direction dimension (m). |
static double |
getWidthFromSurfs(double surfX,
double surfY,
double surfZ)
Get parallelepiped width (Y direction dimension). |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CustomParallelepiped(double surfX,
double surfY,
double surfZ)
surfX - surface perpendicular to X axis (m2)surfY - surface perpendicular to Y axis (m2)surfZ - surface perpendicular to Z axis (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 getSurfY()
public double getSurfZ()
public double getLength()
throws NonWidgetException
NonWidgetException - if surfX is negative or zero (undetermined Length)
public double getWidth()
throws NonWidgetException
NonWidgetException - if surfZ is negative or zero (undetermined Width)
public double getHeight()
throws NonWidgetException
NonWidgetException - if surfZ is negative or zero (undetermined height)
public static double getWidthFromSurfs(double surfX,
double surfY,
double surfZ)
throws NonWidgetException
surfX - surface perpendicular to X axis (m2)surfY - surface perpendicular to Y axis (m2)surfZ - surface perpendicular to Z axis (m2)
NonWidgetException - if surfZ is negative or zero (undetermined Width)
public static double getLengthFromSurfs(double surfX,
double surfY,
double surfZ)
throws NonWidgetException
surfX - surface perpendicular to X axis (m2)surfY - surface perpendicular to Y axis (m2)surfZ - surface perpendicular to Z axis (m2)
NonWidgetException - if surfX is negative or zero (undetermined Length)
public static double getHeightFromSurfs(double surfX,
double surfY,
double surfZ)
throws NonWidgetException
surfX - surface perpendicular to X axis (m2)surfY - surface perpendicular to Y axis (m2)surfZ - surface perpendicular to Z axis (m2)
NonWidgetException - if surfZ is negative or zero (undetermined height)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 | |||||||||