SpherePackingScenarioGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
algorithms::geometries::SphereGeometry Class Reference

#include <SphereGeometry.h>

Inheritance diagram for algorithms::geometries::SphereGeometry:
Inheritance graph
[legend]

List of all members.

Public Member Functions

double getPositionX () const
double getPositionY () const
double getPositionZ () const
double getRadius () const
bool operator< (const SphereGeometry &A) const
bool operator== (const SphereGeometry &A) const
void setPositionX (double value)
void setPositionY (double value)
void setPositionZ (double value)
void setRadius (double value)
 SphereGeometry ()
 SphereGeometry (tarch::la::Vector< 3, double > position, double radius)
 SphereGeometry (double positionX, double positionY, double positionZ)
 SphereGeometry (double positionX, double positionY, double positionZ, double radius)
virtual ~SphereGeometry ()

Public Attributes

double _positionX
double _positionY
double _positionZ
double _radius

Detailed Description

Class SphereGeometry generate the geometry of sphere


Constructor & Destructor Documentation

Constructor

algorithms::geometries::SphereGeometry::SphereGeometry ( tarch::la::Vector< 3, double >  position,
double  radius 
) [inline]

Constructor

Parameters:
positionXthe position of x axis
SphereGeometry::SphereGeometry ( double  positionX,
double  positionY,
double  positionZ 
)

Constructor

Parameters:
positionXthe position of x axis
positionythe position of y axis
positionzthe position of z axis
SphereGeometry::SphereGeometry ( double  positionX,
double  positionY,
double  positionZ,
double  radius 
)

Constructor

Parameters:
positionXthe position of x axis
positionythe position of y axis
positionzthe position of z axis
radiusof the sphere

Destructor


Member Function Documentation

double SphereGeometry::getPositionX ( ) const

Gets the position x axis for certain sphere

double SphereGeometry::getPositionY ( ) const

Gets the position y axis for certain sphere

double SphereGeometry::getPositionZ ( ) const

Gets the position z axis for certain sphere

double SphereGeometry::getRadius ( ) const

Reimplemented in algorithms::ls2::Sphere.

bool algorithms::geometries::SphereGeometry::operator< ( const SphereGeometry A) const [inline]
bool algorithms::geometries::SphereGeometry::operator== ( const SphereGeometry A) const [inline]
void SphereGeometry::setPositionX ( double  value)

Sets the position x axis for certain sphere

Parameters:
valuethe value of position
void SphereGeometry::setPositionY ( double  value)

Sets the position y axis for certain sphere

Parameters:
valuethe value of position
void SphereGeometry::setPositionZ ( double  value)

Sets the position z axis for certain sphere

Parameters:
valuethe value of position
void SphereGeometry::setRadius ( double  value)

Reimplemented in algorithms::ls2::Sphere.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines