|
| 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...
|
|
FramePoint & | operator= (const FramePoint &p) |
|
| ~FramePoint () |
| Destructor. More...
|
|
Math::Point3d | point () const |
| Get as point3d. 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...
|
|
FramePoint | changeFrameAndCopy (ReferenceFramePtr referenceFrame) const |
| copy into new frame point and change the frame of that 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...
|
|
double | distanceSquared (const FramePoint &point) const |
| Calculate the distance squared between two FramePoints. . More...
|
|
double | distance2DSquared (const FramePoint &point, int plane=2) const |
| Calculate the 2D distance squared between two FramePoints. More...
|
|
double | distance2DSquared (const Point3d &point, int plane=2) const |
| Calculate the distance squared from this point to a Point3d. More...
|
|
double | distanceSquared (const Point3d &point) const |
| Calculate the distance squared from this point to a Point3d. More...
|
|
double | distance2D (const FramePoint &point, int plane=2) const |
| Calculate the distance between two FramePoints. . More...
|
|
double | distance (const FramePoint &point) const |
| Calculate the distance between two FramePoints. . More...
|
|
double | distance2D (const Point3d &point, int plane=2) const |
| Calculate the distance to a Point3d. More...
|
|
double | distance (const Point3d &point) const |
| Calculate the distance to a Point3d. 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...
|
|
bool | epsilonEquals (const FramePoint &point, const double epsilon) const |
| Return true FramePoint argument is within epsilon of this, false otherwise. More...
|
|
bool | isApprox (const FramePoint &point, const double epsilon) const |
| Return true FramePoint argument is within epsilon of this and they have the same reference frame, false otherwise. More...
|
|
template<typename T > |
void | operator*= (const T scale) |
| Overloaded *= operator, performs this = this*scala. More...
|
|
template<typename T > |
void | operator/= (const T scale) |
| Overloaded /= operator, performs this = this*scale. More...
|
|
void | operator+= (const FrameVector &v) |
|
void | operator-= (const FrameVector &v) |
|
| FrameObject (ReferenceFramePtr referenceFrame) |
|
virtual | ~FrameObject () |
| Destructor. More...
|
|
virtual void | changeFrame (ReferenceFramePtr desiredFrame) |
| Change the ReferenceFrame this FrameObject is expressed in. More...
|
|
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...
|
|
void | checkReferenceFramesMatch (const FrameObject *frameObject) const |
| Check if two FrameObjects hold the same ReferenceFrame. More...
|
|
void | checkReferenceFramesMatch (FrameObject *frameObject) const |
|
| Point3d (const double x, const double y, const double z) |
|
| Point3d (const Point3d &point) |
|
| Point3d (const Vector3d &vector) |
|
EIGEN_STRONG_INLINE | Point3d () |
|
virtual | ~Point3d () |
|
void | transform (const Math::SpatialTransform &X) |
| Performs in place point transform. Given a point, , this performs . More...
|
|
Point3d | transform_copy (const Math::SpatialTransform &X) const |
|
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 () |
|
EIGEN_STRONG_INLINE bool | epsilonEquals (const Point3d &point, const double epsilon) const |
|
void | clampMin (const double min) |
| clamp any values that are less than min to min More...
|
|
void | clampMax (const double max) |
| clamp any values that are greater than make to max 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...
|
|
void | absoluteValue () |
| Set each element to the absolute value. More...
|
|
double | distance2DSquared (const Point3d &point, int plane=2) const |
| Square of the 2d distance between two points. More...
|
|
double | distanceSquared (const Point3d &point) const |
| Square of the distance between two points, . More...
|
|
double | distance2D (const Point3d &point, int plane=2) const |
|
double | distance (const Point3d &point) const |
|
double | distanceL1 (const Point3d &point) const |
| L1 norm of two points. More...
|
|
Vector3d | cross (const Vector3d &v) |
| Cross product between a point and vector. More...
|
|
double | distanceLinf (const Point3d &point) 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 |
|
EIGEN_STRONG_INLINE double * | data () |
|
EIGEN_STRONG_INLINE Math::Vector3d | vec () const |
|
Point3d & | operator= (const Point3d &other) |
|
template<typename T > |
void | operator*= (const T scale) |
|
template<typename T > |
void | operator/= (const T scale) |
|
bool | operator== (const Point3d &rhs) |
|
bool | operator!= (const Point3d &rhs) |
|
void | operator+= (const Vector3d &v) |
|
void | operator-= (const Vector3d &v) |
|
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.