PointCloud2BIM Library  1.0
Library to facilitate the transpormation of point clouds into digital BIM representation
Public Member Functions | List of all members
PointXYZ Class Reference
Inheritance diagram for PointXYZ:
Inheritance graph
[legend]
Collaboration diagram for PointXYZ:
Collaboration graph
[legend]

Public Member Functions

 PointXYZ ()
 Constructs PointXYZ with coordinates {0,0,0}.
 
 PointXYZ (const PointXYZ &p2)
 Constructs a copy of the given PointXYZ. More...
 
 PointXYZ (double x, double y, double z)
 Constructs PointXYZ with given coordinates. More...
 
virtual void setCoords (double x, double y, double z)
 Sets x, y, z coordinates. More...
 
virtual double getX ()
 Returns x coordinate. More...
 
virtual double getY ()
 Returns y coordinate. More...
 
virtual double getZ ()
 Returns z coordinate. More...
 
virtual void setX (double x)
 Sets x coordinate. More...
 
virtual void setY (double y)
 Sets y coordinate. More...
 
virtual void setZ (double z)
 Sets z coordinate. More...
 
- Public Member Functions inherited from Point< 3 >
double * getCoords ()
 Returns Point coordinates. More...
 
virtual void setId (double id)
 Sets Point identifier. More...
 
virtual int getId ()
 Returns Point identifier. More...
 

Constructor & Destructor Documentation

PointXYZ::PointXYZ ( const PointXYZ p2)
inline

Constructs a copy of the given PointXYZ.

Parameters
p2Point to be copied
PointXYZ::PointXYZ ( double  x,
double  y,
double  z 
)
inline

Constructs PointXYZ with given coordinates.

Parameters
xCoordinate in x-direction
yCoordinate in y-direction
zCoordinate in z-direction

Member Function Documentation

virtual double PointXYZ::getX ( )
inlinevirtual

Returns x coordinate.

Returns
Coordinate in x-direction
virtual double PointXYZ::getY ( )
inlinevirtual

Returns y coordinate.

Returns
Coordinate in y-direction
virtual double PointXYZ::getZ ( )
inlinevirtual

Returns z coordinate.

Returns
Coordinate in z-direction
virtual void PointXYZ::setCoords ( double  x,
double  y,
double  z 
)
inlinevirtual

Sets x, y, z coordinates.

Parameters
xCoordinate in x-direction
yCoordinate in y-direction
zCoordinate in z-direction
virtual void PointXYZ::setX ( double  x)
inlinevirtual

Sets x coordinate.

Parameters
xCoordinate in x-direction
virtual void PointXYZ::setY ( double  y)
inlinevirtual

Sets y coordinate.

Parameters
yCoordinate in y-direction
virtual void PointXYZ::setZ ( double  z)
inlinevirtual

Sets z coordinate.

Parameters
zCoordinate in z-direction

The documentation for this class was generated from the following file: