|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.common.Ly3DBox
public class Ly3DBox
This class defines a box in a 3D space.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
Ly3DBox()
Constructor. |
|
Ly3DBox(float x1,
float y1,
float z1,
float x2,
float y2,
float z2)
Constructor. |
|
Ly3DBox(LyPoint startPoint,
LyPoint endPoint)
Constructor. |
Method Summary | |
---|---|
float |
getDiameter()
|
LyPoint |
getEndPoint()
Returns the end point of the box. |
java.util.Vector<LyPoint> |
getPoints()
Returns all the points of the box. |
LyPoint |
getStartPoint()
Returns the start point of the box. |
void |
init()
Init method. |
void |
setEndPoint(LyPoint endPoint)
Sets the end point of the box. |
void |
setStartPoint(LyPoint startPoint)
Sets the start point of the box. |
java.lang.String |
toString()
Returns a string representation of the box. |
Ly3DBox |
union(Ly3DBox box)
Calculates the union of the current box and the given box. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public Ly3DBox()
public Ly3DBox(float x1, float y1, float z1, float x2, float y2, float z2)
x1
- Start point x valuey1
- Start point y valuez1
- Start point z valuex2
- End point x valuey2
- End point y valuez2
- End point z valuepublic Ly3DBox(LyPoint startPoint, LyPoint endPoint)
startPoint
- Start pointendPoint
- End pointMethod Detail |
---|
public void init()
public Ly3DBox union(Ly3DBox box)
box
- the box to use for unionpublic java.lang.String toString()
toString
in class java.lang.Object
public void setStartPoint(LyPoint startPoint)
startPoint
- start pointpublic void setEndPoint(LyPoint endPoint)
startPoint
- end pointpublic LyPoint getStartPoint()
public LyPoint getEndPoint()
public java.util.Vector<LyPoint> getPoints()
public float getDiameter()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |