|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensourcephysics.display2d.SurfaceVertex
public final class SurfaceVertex
The class SurfaceVertex
represents a vertex in 3D space.
Field Summary | |
---|---|
double |
x
The x coordinate |
double |
y
The y coordinate |
double |
z
The z coordinate |
Method Summary | |
---|---|
boolean |
isInvalid()
Determines whether this vertex is invalid, i.e has invalid coordinates value. |
void |
project()
|
java.awt.Point |
projection()
Gets the 2D projection of the vertex. |
void |
transform()
Transforms coordinate values to fit the scaling factor of the projector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public double x
public double y
public double z
Method Detail |
---|
public final boolean isInvalid()
true
if this vertex is invalidpublic final java.awt.Point projection()
public final void project()
public final void transform()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |