36 virtual void get_components(ActivePtr<absref_transmit>& aref_tran);
42 :
piv(fpiv),
dir(unit_vec(fdir)) {
50 pvecerror(
"straight::straight(const point& fp1, const point& fp2)");
52 dir = unit_vec(fp2 - fp1);
72 return sl1 == sl2 ? 0 : 1;
76 return apeq(sl1, sl2, prec) == 1 ? 0 : 1;
147std::ostream&
operator<<(std::ostream& file,
const straight& s);
#define check_econd12(a, sign, b, stream)
point cross(const straight &sl, vfloat prec) const
vfloat vecdistance(const straight &sl, int &type_of_cross, point pt[2]) const
friend int operator!=(const straight &sl1, const straight &sl2)
friend std::ostream & operator<<(std::ostream &file, const straight &s)
friend int operator==(const straight &sl1, const straight &sl2)
friend int apeq(const straight &sl1, const straight &sl2, vfloat prec)
straight(const point &fpiv, const vec &fdir)
vfloat distance(const straight &sl, int &type_of_cross, point pt[2]) const
straight(const point &fp1, const point &fp2)
int check_point_in(const point &fp, vfloat prec) const
static absrefabsref::*[2] aref
virtual void get_components(ActivePtr< absref_transmit > &aref_tran)
straight & operator=(const straight &fsl)
friend int not_apeq(const straight &sl1, const straight &sl2, vfloat prec)
std::ostream & operator<<(std::ostream &file, const BGMesh &bgm)
#define pvecerror(string)