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