Package org.opensourcephysics.display2d
Class ComplexSurfaceVertex
java.lang.Object
org.opensourcephysics.display2d.ComplexSurfaceVertex
The class
SurfaceVertex
represents a vertex in 3D space.- Since:
- 1.10
- Version:
- 1.30b1, 17 May 1997
- Author:
- Yanto Suryono
-
Field Summary
Fields -
Method Summary
-
Field Details
-
x
public double xThe x coordinate -
y
public double yThe y coordinate -
z
public double zThe z coordinate -
re
public double reThe real component. -
im
public double imThe imaginary component.
-
-
Method Details
-
isInvalid
public final boolean isInvalid()Determines whether this vertex is invalid, i.e has invalid coordinates value.- Returns:
true
if this vertex is invalid
-
projection
Gets the 2D projection of the vertex.- Returns:
- the 2D projection
-
project
public final void project() -
transform
public final void transform()Transforms coordinate values to fit the scaling factor of the projector. This routine is only used for transforming center of projection in Surface Plotter.
-