|
FramePoint | changeFrameAndCopy (ReferenceFramePtr referenceFrame) const |
| copy into new frame point and change the frame of that More...
|
|
double | distance (const FramePoint &point) const |
| Calculate the distance between two FramePoints. . More...
|
|
double | distanceL1 (const FramePoint &point) const |
| Calculate the L1 distance between two FramePoints by . More...
|
|
double | distanceLinf (const FramePoint &point) const |
| Calculate the LInfinity distance between two FramePoints by . More...
|
|
double | distanceSquared (const FramePoint &point) const |
| Calculate the distance squared between two FramePoints. . More...
|
|
bool | epsilonEquals (const FramePoint &point, const double epsilon) const |
| Return true FramePoint argument is within epsilon of this, false otherwise. More...
|
|
| FramePoint (ReferenceFramePtr referenceFrame, const double x, const double y, const double z) |
| Constructor. More...
|
|
| FramePoint (ReferenceFramePtr referenceFrame, Math::Vector3d v) |
| Constructor. More...
|
|
| FramePoint (ReferenceFramePtr referenceFrame, const Math::Point3d &point) |
| Constructor. More...
|
|
| FramePoint (const FramePoint &framePoint) |
| Copy constructor. More...
|
|
| FramePoint (ReferenceFramePtr referenceFrame) |
| Constructor that initializes to (x,y,z) = (0,0,0) More...
|
|
| FramePoint () |
| Empty constructor that creates a point with ReferencFrame=nullptr and (x,y,z)=(0,0,0) More...
|
|
Math::TransformableGeometricObject * | getTransformableGeometricObject () |
| Return a pointer to this as base class type Math::TransformableGeometricObject. See FrameObject::changeFrame for how this method is used. More...
|
|
template<typename T > |
void | operator*= (const T scale) |
| Overloaded *= operator, performs this = this*scala. More...
|
|
void | operator+= (const FrameVector &v) |
|
void | operator-= (const FrameVector &v) |
|
template<typename T > |
void | operator/= (const T scale) |
| Overloaded /= operator, performs this = this*scale. More...
|
|
Math::Point3d | point () const |
| Get as point3d. More...
|
|
EIGEN_STRONG_INLINE void | setIncludingFrame (const Math::Vector3d &v, ReferenceFramePtr referenceFrame) |
| Set both the ReferenceFrame this object is expressed in as well as the (x,y,z) coordinates of the point. More...
|
|
void | setIncludingFrame (const double x, const double y, const double z, ReferenceFramePtr referenceFrame) |
| Set both the ReferenceFrame the point is expressed in as well as the (x,y,z) coordinates. More...
|
|
void | setIncludingFrame (const Math::Point3d &point, ReferenceFramePtr referenceFrame) |
| Set both the ReferenceFrame the point is expressed in as well as the (x,y,z) coordinates. More...
|
|
| ~FramePoint () |
| Destructor. More...
|
|
virtual void | changeFrame (ReferenceFramePtr desiredFrame) |
| Change the ReferenceFrame this FrameObject is expressed in. More...
|
|
void | checkReferenceFramesMatch (const FrameObject *frameObject) const |
| Check if two ReferenceFrameHolders hold the same ReferenceFrame. More...
|
|
void | checkReferenceFramesMatch (FrameObject *frameObject) const |
|
| FrameObject (ReferenceFramePtr referenceFrame) |
|
ReferenceFramePtr | getReferenceFrame () const |
| Get a pointer to the reference frame this FrameObject is expressed in. More...
|
|
void | setReferenceFrame (ReferenceFramePtr frame) |
| Set frame objects internal reference frame. More...
|
|
virtual | ~FrameObject () |
| Destructor. More...
|
|
void | absoluteValue () |
| Set each element to the absolute value. More...
|
|
void | clampMax (const double max) |
| clamp any values that are greater than make to max More...
|
|
void | clampMin (const double min) |
| clamp any values that are less than min to min More...
|
|
void | clampMinMax (const double min, const double max) |
| clamp any values greater than max to max, and any value less than min to min More...
|
|
Vector3d | cross (const Vector3d &v) |
| Cross product between a point and vector. More...
|
|
EIGEN_STRONG_INLINE double * | data () |
|
double | distance (const Point3d &point) const |
|
double | distanceL1 (const Point3d &point) const |
| L1 norm of two points. More...
|
|
double | distanceLinf (const Point3d &point) const |
|
double | distanceSquared (const Point3d &point) const |
| Square of the distance between two ponts, . More...
|
|
EIGEN_STRONG_INLINE bool | epsilonEquals (const Point3d &point, const double epsilon) const |
|
bool | operator!= (const Point3d &rhs) |
|
template<typename T > |
void | operator*= (const T scale) |
|
void | operator+= (const Vector3d &v) |
|
void | operator-= (const Vector3d &v) |
|
template<typename T > |
void | operator/= (const T scale) |
|
Point3d & | operator= (const Point3d &other) |
|
bool | operator== (const Point3d &rhs) |
|
| Point3d (const double x, const double y, const double z) |
|
| Point3d (const Point3d &point) |
|
| Point3d (const Vector3d &vector) |
|
EIGEN_STRONG_INLINE | Point3d () |
|
EIGEN_STRONG_INLINE void | set (const std::vector< double > &vector) |
|
EIGEN_STRONG_INLINE void | set (const Point3d &point) |
|
void | set (const Math::Vector3d &v) |
|
void | set (const double x, const double y, const double z) |
|
EIGEN_STRONG_INLINE void | setToZero () |
|
void | transform (const Math::SpatialTransform &X) |
| Performs in place point transform. Given a point, , this performs . More...
|
|
Point3d | transform_copy (const Math::SpatialTransform &X) |
|
EIGEN_STRONG_INLINE Math::Vector3d | vec () const |
|
EIGEN_STRONG_INLINE double & | x () |
|
EIGEN_STRONG_INLINE double | x () const |
|
EIGEN_STRONG_INLINE double & | y () |
|
EIGEN_STRONG_INLINE double | y () const |
|
EIGEN_STRONG_INLINE double & | z () |
|
EIGEN_STRONG_INLINE double | z () const |
|
virtual | ~Point3d () |
|
A FramePoint is a 3D point that is expressed in a ReferenceFrame. To change the ReferenceFrame a FramePoint is expressed in, you may call the inhereted FrameObject::changeFrame method and supply it a pointer to the ReferenceFrame you wish to have the FramePoint expressed in. This class and its implementation are an adaptation of FramePoint.java by Jerry Pratt and the IHMC Robotics Group.
Definition at line 40 of file FramePoint.hpp.