76 double operator[](
const unsigned int index)
const;
arma::vec6 coordinates_
Plucker coordinates.
arma::vec3 get_ua_vector() const
Gets cross product vector UxA.
void compute()
Compute Plucker coordinates and set computed to true.
arma::vec3 get_u_vector() const
Gets directional vector U.
double operator*(const Plucker &b)
Compute product of two Plucker coordinates.
friend std::ostream & operator<<(std::ostream &os, const Plucker &p)
Friend output operator.
double operator[](const unsigned int index) const
Returns Plucker coordinate of index.
bool computed_
True, if Plucker coordinates are computed; false otherwise.
void clear()
Sets the flag computed on false.
arma::vec3 point(unsigned int idx) const
Gets coordinates of point.
arma::vec6 get_plucker_coords() const
Gets Plucker coordinates.
bool is_computed() const
Return true if Plucker coordinates have been computed already.
Plucker coordinates representing line given by points A,B.