All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class Texte3D.MonPoint3D

java.lang.Object
    |
    +----Texte3D.MonPoint3D

public class MonPoint3D
extends Object
A class corresponding to a 3D coordinates

Author:
Sylvain Leterreur, Laure Ottavj

Constructor Index

 o MonPoint3D(int, int, int)
 o MonPoint3D(MonPoint3D)

Method Index

 o getCoordXY()
Get the x and y coordinates
 o getCoordXZ()
Get the x and z coordinates
 o getCoordZY()
Get the z and y coordinates
 o getX()
Get the x coordinate
 o getY()
Get the y coordinate
 o getZ()
Get the z coordinate
 o setCoordXY(int, int)
Set the x and y coordinates
 o setCoordXZ(int, int)
Set the x and z coordinate
 o setCoordZY(int, int)
Set the z and y coordinate

Constructors

 o MonPoint3D
public MonPoint3D(MonPoint3D p)
 o MonPoint3D
public MonPoint3D( int x,
                   int y,
                   int z)

Methods

 o getCoordXY
public Point getCoordXY()
Get the x and y coordinates

Returns:
Point the x, y coordinates
 o setCoordXY
public void setCoordXY( int x,
                        int y)
Set the x and y coordinates

Parameters:
int - the new x coordinate
int - the new y coordinate
 o getCoordXZ
public Point getCoordXZ()
Get the x and z coordinates

Returns:
Point the x, z coordinates
 o setCoordXZ
public void setCoordXZ( int x,
                        int z)
Set the x and z coordinate

Parameters:
int - the new x coordinate
int - the new z coordinate
 o getCoordZY
public Point getCoordZY()
Get the z and y coordinates

Returns:
Point the z, y coordinates
 o setCoordZY
public void setCoordZY( int z,
                        int y)
Set the z and y coordinate

Parameters:
int - the new z coordinate
int - the new y coordinate
 o getX
public  int getX()
Get the x coordinate

Returns:
int the x coordinate
 o getY
public  int getY()
Get the y coordinate

Returns:
int the y coordinate
 o getZ
public  int getZ()
Get the z coordinate

Returns:
int the z coordinate

All Packages  Class Hierarchy  This Package  Previous  Next  Index