59 return pl1 == pl2 ? 0 : 1;
77 int& qcrpll,
vfloat prec)
const;
83std::ostream&
operator<<(std::ostream& file,
const plane& s);
Plane, defined by defined by a point and a vector normal to the plane.
plane & operator=(const plane &fpl)
Copy assignment operator.
plane(const plane &p)
Copy constructor.
point cross(const straight &sl) const
friend bool apeq(const plane &pl1, const plane &pl2, vfloat prec)
static absref absref::* aref[2]
friend std::ostream & operator<<(std::ostream &file, const plane &s)
point piv
Origin point, pivot.
friend int operator!=(const plane &pl1, const plane &pl2)
vec dir
Direction of normal, unit vector.
friend int operator==(const plane &pl1, const plane &pl2)
plane(const point &fpiv, const vec &fdir)
int check_point_in(const point &fp, vfloat prec) const
Return 1 if a point is in the plane (within precision prec).
vfloat distance(const point &fpt) const
virtual absref_transmit get_components() override
Straight line, as combination of vector and point.
std::ostream & operator<<(std::ostream &file, const BGMesh &bgm)