|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Used for accessing to a Point3D.
IVertex3D
Method Summary | |
IPoint3D |
add(IPoint3D p)
Add a Point3D to this Point3D. |
IPoint3D |
copy(IPoint3D point3d)
Copy values of a Point3D into this Point3D. |
IPoint3D |
getCopy()
Get a new instance of this Point3D. |
double |
getX()
Gets the x component. |
double |
getY()
Gets the y component. |
double |
getZ()
Gets the z component. |
IPoint3D |
normalize()
Normalize this Point3D. |
void |
set(double x,
double y,
double z)
Sets the x,y,z components. |
void |
setX(double val)
Sets the x component. |
void |
setY(double val)
Sets the y component. |
void |
setZ(double val)
Sets the z component. |
IPoint3D |
sub(IPoint3D p)
Substract a Point3D to this Point3D. |
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 Point3D
public IPoint3D add(IPoint3D p)
p
- source Point3D
public IPoint3D sub(IPoint3D p)
p
- source Point3D
public IPoint3D normalize()
public IPoint3D getCopy()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |