|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface used for accessing to a 3D Point with x,y and z components.
IVertex3D
Method Summary | |
IPoint3D |
add(IPoint3D p)
Add values of a Point3D to this Point3D |
IPoint3D |
copy(IPoint3D point3d)
Copy values of a Point3D into this Point3D |
IPoint3D |
getCopy()
|
double |
getX()
Get the x component. |
double |
getY()
Get the y component. |
double |
getZ()
Get the z component. |
IPoint3D |
normalize()
|
void |
set(double x,
double y,
double z)
Set the x,y,z components. |
void |
setX(double val)
Set the x component. |
void |
setY(double val)
Set the y component. |
void |
setZ(double val)
Set the z component. |
IPoint3D |
sub(IPoint3D p)
|
Method Detail |
public double getX()
public double getY()
public double getZ()
public void setX(double val)
val
- x component valuepublic void setY(double val)
val
- y component valuepublic void setZ(double val)
val
- z component valuepublic void set(double x, double y, double z)
x
- x component valuey
- y component valuez
- z component valuepublic IPoint3D copy(IPoint3D point3d)
point3d
- source Point3Dpublic IPoint3D add(IPoint3D p)
public IPoint3D sub(IPoint3D p)
public IPoint3D normalize()
public IPoint3D getCopy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |