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