|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.physics.solids.AtlasObject
org.jscience.physics.solids.geom.AtlasPosition
public class AtlasPosition
A spatial location.
| Field Summary | |
|---|---|
protected static java.lang.String |
TYPE
DOCUMENT ME! |
| Constructor Summary | |
|---|---|
AtlasPosition()
CRreates a point at global origin. |
|
AtlasPosition(AtlasCoordSys cs,
double x,
double y,
double z)
Creates a point at the specified xyz location in the specified CS. |
|
AtlasPosition(double x,
double y,
double z)
Creates a point at the specified xyz location in the global CS. |
|
| Method Summary | |
|---|---|
double |
computeDistance(AtlasPosition p)
Computes the distance between the two points. |
double[] |
getGlobalPosition()
Returns the location in the global coordinate system. |
java.lang.String |
getType()
DOCUMENT ME! |
double |
getX()
DOCUMENT ME! |
double |
getY()
DOCUMENT ME! |
double |
getZ()
DOCUMENT ME! |
AtlasPosition[] |
interpolatePoints(int numPoints,
AtlasPosition otherPoint)
Creates numPoints evenly spaced between the two nodes. |
boolean |
isEquivalent(AtlasPosition v,
double tolerance)
Determines whether the two vectors have the same direction |
java.lang.String |
toString()
DOCUMENT ME! |
| Methods inherited from class org.jscience.physics.solids.AtlasObject |
|---|
compareTo, equals, getId, getParentModel, loadJDOMElement, populateGeometry, setId, setParentModel, unloadJDOMElement |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static java.lang.String TYPE
| Constructor Detail |
|---|
public AtlasPosition()
public AtlasPosition(double x,
double y,
double z)
public AtlasPosition(AtlasCoordSys cs,
double x,
double y,
double z)
| Method Detail |
|---|
public java.lang.String getType()
getType in class AtlasObjectpublic double[] getGlobalPosition()
public double computeDistance(AtlasPosition p)
p - DOCUMENT ME!
public java.lang.String toString()
toString in class AtlasObject
public AtlasPosition[] interpolatePoints(int numPoints,
AtlasPosition otherPoint)
numPoints - DOCUMENT ME!otherPoint - DOCUMENT ME!
public double getX()
public double getY()
public double getZ()
public boolean isEquivalent(AtlasPosition v,
double tolerance)
v - DOCUMENT ME!tolerance - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||