|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kabeja.dxf.DXFExtrusion
public class DXFExtrusion
This class implements the arbitrary axis algorithm to extract the direction x,y,z of the plane defined by the extrusion.
Field Summary | |
---|---|
protected Vector |
n
|
protected Vector |
x
|
protected Vector |
y
|
Constructor Summary | |
---|---|
DXFExtrusion()
|
Method Summary | |
---|---|
Point |
extrudePoint(Point basePoint,
double elevation)
|
Vector |
getDirectionX()
Calculate and returns the x direction of the plane. |
Vector |
getDirectionY()
Calculate the y direction of the plane. |
Vector |
getDirectionZ()
|
Vector |
getNormal()
Return the normal direction of the plane. |
double |
getX()
|
double |
getY()
|
double |
getZ()
|
void |
setX(double x)
Set the x value of the extrusion direction. |
void |
setY(double y)
Set the x value of the extrusion direction. |
void |
setZ(double z)
Set the x value of the extrusion direction. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Vector n
protected Vector x
protected Vector y
Constructor Detail |
---|
public DXFExtrusion()
Method Detail |
---|
public double getX()
public void setX(double x)
public double getY()
public void setY(double y)
public double getZ()
public void setZ(double z)
public Vector getDirectionX()
public Vector getDirectionY()
public Point extrudePoint(Point basePoint, double elevation)
public Vector getNormal()
public Vector getDirectionZ()
getNormal()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |