Detailed Description
Definition at line 23 of file spheroid.hpp.
List of all members.
Public Types |
enum | Axis { X,
Y,
Z
} |
Public Member Functions |
| Spheroid (const double &_ray, const jblas::vec3 &_origin, const double &_angle=(M_PI/4)) |
void | calculateShootPoints () |
| Calcultes shoot points directions and positions based on those equations : x = R.cos u.cos v y = R.cos u.sin v z = Rsin u u and v belongs to [0..2PI] normally but in our case u belongs to [0..PI].
|
void | truncateFromAxis (const Spheroid::Axis &axis, const double &minValue, const double &maxValue) |
| truncates a range defined by and from
|
void | removeValueFromAxis (const Spheroid::Axis &axis, const double &value) |
| removes shoot points with on
|
void | cleanShootPoints () |
| erases unreachable shoot points
|
void | setShootPointsIds (const int &startIndex, const int &lastIndex, const int &step) |
ShootPoints | getShootPoints () |
| getter for
|
ShootPoint | getShootPoint (const int &_id) |
| returns a ShootPoint given its id
|
ShootPoint | getShootPoint (const ShootPoint::Faces &_face) |
| returns a ShootPoint given its face
|
std::vector< int > | getFacesIndexes () |
void | writeCenter (const std::string &fileName="centroide.txt") |
void | printShootPoints () |
void | writeShootPoints (const std::string &fileName="sphericos4Xav.txt") |
Private Attributes |
double | ray |
double | angle |
double | u |
double | v |
jblas::vec3 | origin |
ShootPoints | points |
The documentation for this class was generated from the following file: