Represents a 3D point on a unit sphere.
|
|
Point3 | operator* (double s, const Unit3 &d) |
| | Return scaled direction as Point3.
|
| |
|
const Matrix32 & | basis () const |
| | Returns the local coordinate frame to tangent plane It is a 3*2 matrix [b1 b2] composed of two orthogonal directions tangent to the sphere at the current direction.
|
| |
|
Matrix | skew () const |
| | Return skew-symmetric associated with 3D point on unit sphere.
|
| |
|
const Point3 & | point3 (boost::optional< Matrix & > H=boost::none) const |
| | Return unit-norm Point3.
|
| |
|
Vector | error (const Unit3 &q, boost::optional< Matrix & > H=boost::none) const |
| | Signed, vector-valued error between two directions.
|
| |
|
double | distance (const Unit3 &q, boost::optional< Matrix & > H=boost::none) const |
| | Distance between two directions.
|
| |
|
|
|
void | print (const std::string &s=std::string()) const |
| | The print fuction.
|
| |
|
bool | equals (const Unit3 &s, double tol=1e-9) const |
| | The equals function with tolerance.
|
| |
| virtual Value * | clone_ () const |
| | Create a duplicate object returned as a pointer to the generic Value interface. More...
|
| |
|
virtual void | deallocate_ () const |
| | Destroy and deallocate this object, only if it was originally allocated using clone_().
|
| |
|
virtual boost::shared_ptr< Value > | clone () const |
| | Clone this value (normal clone on the heap, delete with 'delete' operator)
|
| |
|
virtual bool | equals_ (const Value &p, double tol=1e-9) const |
| | equals implementing generic Value interface
|
| |
|
virtual Value * | retract_ (const Vector &delta) const |
| | Generic Value interface version of retract.
|
| |
|
virtual Vector | localCoordinates_ (const Value &value2) const |
| | Generic Value interface version of localCoordinates.
|
| |
|
virtual Value & | operator= (const Value &rhs) |
| | Assignment operator.
|
| |
|
| operator const Unit3 & () const |
| | Conversion to the derived class.
|
| |
|
| operator Unit3 & () |
| | Conversion to the derived class.
|
| |
|
virtual | ~Value () |
| | Virutal destructor.
|
| |