|
| SpacePoint (const ASpaceSharedPtr &space=ASpaceSharedPtr()) |
|
| SpacePoint (const SpacePoint &r) |
|
| SpacePoint (const 1 &coord, Id iech=-1, const ASpaceSharedPtr &space=ASpaceSharedPtr()) |
|
SpacePoint & | operator= (const SpacePoint &r) |
|
virtual | ~SpacePoint () |
|
SpacePoint | spacePointOnSubspace (Id ispace=-1) const |
|
bool | operator== (const SpacePoint &v) const |
| TODO : should also test the space definition.
|
|
constvect | getCoords () const |
|
vect | getCoordRef () |
|
& | getCoordUnprotected () |
|
double | getCoord (Id idim) const |
|
void | setCoord (double coord) |
|
void | setCoord (Id i, double val) |
|
void | setCoords (const 1 &coord) |
|
void | setCoords (const double *coord, Id size) |
|
void | setIech (Id iech) const |
|
void | setProjected (bool status) |
|
Id | getIech () const |
|
bool | isProjected () const |
|
bool | isConsistent (const ASpace *space) const override |
| Return true if the point is consistent with the provided space.
|
|
void | move (const 1 &vec) |
| Move me by the given vector.
|
|
double | getDistance (const SpacePoint &pt, Id ispace=-1) const |
| Return the distance between 'this' and another point.
|
|
| getDistances (const SpacePoint &pt) const |
| Return all the distance (space composits) between 'this' and another point.
|
|
| getIncrement (const SpacePoint &pt, Id ispace=-1) const |
| Return the increment vector between 'this' and another point.
|
|
void | getIncrementInPlace (1 &inc, const SpacePoint &pt, Id ispace=-1) const |
|
void | setFFFF () |
| Fill with TEST values to simulate a missing Space Point.
|
|
bool | isFFFF () const |
| Check if the SpacePoint is actually defined.
|
|
double | getCosineToDirection (const SpacePoint &T2, const 1 &codir) const |
| Return the cosine of the angle between the bipoint and a reference direction.
|
|
double | getOrthogonalDistance (const SpacePoint &P2, const 1 &codir) const |
| Return the orthogonal distance between a bipair and a reference direction.
|
|
void | setCoordFromAngle (const 1 &angles) |
| Initialize coordinates from angles /// TODO : to be removed.
|
|
String | toString (const AStringFormat *strfmt=nullptr) const override |
| Convert space point to string.
|
|
| ASpaceObject (const ASpaceSharedPtr &space=ASpaceSharedPtr()) |
|
| ASpaceObject (const ASpaceObject &r) |
|
ASpaceObject & | operator= (const ASpaceObject &r) |
|
virtual | ~ASpaceObject () |
|
ASpaceSharedPtr | getSpace () const |
| Accessor to the current object space context.
|
|
bool | isConsistent () const |
| Indicate if I am consistent with my current space context.
|
|
void | setSpace (ASpaceSharedPtr &&space) |
|
| getUnitaryVector () const |
| Return unitary vector for the current space context.
|
|
bool | isConsistent (const ASpaceSharedPtr &space) const |
| Indicate if I am consistent with the provided space.
|
|
size_t | getNDim (Id ispace=-1) const |
| Shortcuts to ASpace methods.
|
|
const & | getOrigin (Id ispace=-1) const |
| Return the current space context origin coordinates.
|
|
double | getDistance (const SpacePoint &p1, const SpacePoint &p2, Id ispace=0) const |
| Return the distance between two space points for the current space context.
|
|
| getDistances (const SpacePoint &p1, const SpacePoint &p2) const |
| Return all the distances (space composits) between two space points for the current space context.
|
|
| getIncrement (const SpacePoint &p1, const SpacePoint &p2, Id ispace=0) const |
| Return the increment vector between two space points for the current space context.
|
|
void | getIncrementInPlace (const SpacePoint &p1, const SpacePoint &p2, 1 &ptemp, Id ispace=-1) const |
|
| AStringable () |
|
| AStringable (const AStringable &r) |
|
AStringable & | operator= (const AStringable &r) |
|
virtual | ~AStringable () |
|
virtual void | display (const AStringFormat *strfmt=nullptr) const final |
|
virtual void | display (Id level) const final |
|