|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.chart.computation.Object3D
Object3D
Constructor Summary | |
Object3D(int points)
|
|
Object3D(Location3D la)
|
|
Object3D(Location3D[] loa)
|
|
Object3D(Object3D original)
|
Method Summary | |
void |
clip(Engine3D engine)
|
Vector |
getCenter()
Returns center of gravity of polygon |
Location3D[] |
getLocation3D()
|
Vector |
getNormal()
returns the normal vector (pointing outside the enclosed volume for oriented polygons.) |
Location[] |
getPoints2D(double xOffset,
double yOffset)
|
Vector[] |
getVectors()
|
Vector[] |
getViewerVectors()
|
double |
getXMax()
|
double |
getXMin()
|
double |
getYMax()
|
double |
getYMin()
|
double |
getZMax()
|
double |
getZMin()
|
void |
perspective(double distance)
Perspective transformation of the vectors. |
void |
prepareZSort()
|
void |
reset()
Resets all values to defaults. |
boolean |
testSwap(Object3D near)
|
boolean |
testZOverlap(Object3D near)
|
void |
transform(Matrix m)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Object3D(int points)
points
- public Object3D(Location3D la)
la
- public Object3D(Location3D[] loa)
loa
- public Object3D(Object3D original)
original
- Method Detail |
public Location3D[] getLocation3D()
public Vector getNormal()
public Vector getCenter()
public void reset()
public double getXMax()
public double getXMin()
public double getYMax()
public double getYMin()
public double getZMax()
public double getZMin()
public void transform(Matrix m)
m
- public void clip(Engine3D engine)
engine
- public void prepareZSort()
public void perspective(double distance)
distance
- public Vector[] getVectors()
public Vector[] getViewerVectors()
public Location[] getPoints2D(double xOffset, double yOffset)
xOffset
- yOffset
-
public boolean testSwap(Object3D near)
near
-
public boolean testZOverlap(Object3D near)
near
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |