SpherePackingScenarioGenerator
|
#include <SphereGeometry.h>
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 |
Class SphereGeometry generate the geometry of sphere
Constructor
algorithms::geometries::SphereGeometry::SphereGeometry | ( | tarch::la::Vector< 3, double > | position, |
double | radius | ||
) | [inline] |
Constructor
positionX | the position of x axis |
SphereGeometry::SphereGeometry | ( | double | positionX, |
double | positionY, | ||
double | positionZ | ||
) |
Constructor
positionX | the position of x axis |
positiony | the position of y axis |
positionz | the position of z axis |
SphereGeometry::SphereGeometry | ( | double | positionX, |
double | positionY, | ||
double | positionZ, | ||
double | radius | ||
) |
Constructor
positionX | the position of x axis |
positiony | the position of y axis |
positionz | the position of z axis |
radius | of the sphere |
SphereGeometry::~SphereGeometry | ( | ) | [virtual] |
Destructor
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
value | the value of position |
void SphereGeometry::setPositionY | ( | double | value | ) |
Sets the position y axis for certain sphere
value | the value of position |
void SphereGeometry::setPositionZ | ( | double | value | ) |
Sets the position z axis for certain sphere
value | the value of position |
void SphereGeometry::setRadius | ( | double | value | ) |
Reimplemented in algorithms::ls2::Sphere.