Public Member Functions | |
BSPNode (Polygone *) | |
void | insert (Polygone *) |
void | insert (Segment *) |
void | insert (Point *) |
void | recursFillPrimitiveArray (vector< PtrPrimitive > &) const |
~BSPNode () | |
Private Member Functions | |
void | Classify (Polygone *, Polygone *&, Polygone *&) |
void | Classify (Segment *, Segment *&, Segment *&) |
int | Classify (Point *) |
void | initEquation (const Polygone *P, double &a, double &b, double &c, double &d) |
Private Attributes | |
double | a |
double | b |
double | c |
double | d |
BSPNode * | fils_moins |
BSPNode * | fils_plus |
Polygone * | polygone |
vector< Point * > | pts_moins |
vector< Point * > | pts_plus |
vector< Segment * > | seg_moins |
vector< Segment * > | seg_plus |
Definition at line 124 of file BSPSortMethod.cpp.
BSPNode::BSPNode | ( | Polygone * | P | ) |
Definition at line 576 of file BSPSortMethod.cpp.
Definition at line 181 of file BSPSortMethod.cpp.
void BSPNode::Classify | ( | Polygone * | P, |
Polygone *& | moins_, | ||
Polygone *& | plus_ | ||
) | [private] |
Definition at line 302 of file BSPSortMethod.cpp.
void BSPNode::Classify | ( | Segment * | S, |
Segment *& | moins_, | ||
Segment *& | plus_ | ||
) | [private] |
Definition at line 197 of file BSPSortMethod.cpp.
int BSPNode::Classify | ( | Point * | P | ) | [private] |
Definition at line 187 of file BSPSortMethod.cpp.
void BSPNode::initEquation | ( | const Polygone * | P, |
double & | a, | ||
double & | b, | ||
double & | c, | ||
double & | d | ||
) | [private] |
Definition at line 586 of file BSPSortMethod.cpp.
void BSPNode::insert | ( | Polygone * | P | ) |
Definition at line 489 of file BSPSortMethod.cpp.
void BSPNode::insert | ( | Segment * | S | ) |
Definition at line 555 of file BSPSortMethod.cpp.
void BSPNode::insert | ( | Point * | P | ) |
Definition at line 536 of file BSPSortMethod.cpp.
void BSPNode::recursFillPrimitiveArray | ( | vector< PtrPrimitive > & | primitive_tab | ) | const |
Definition at line 514 of file BSPSortMethod.cpp.
double BSPNode::a [private] |
Definition at line 137 of file BSPSortMethod.cpp.
double BSPNode::b [private] |
Definition at line 137 of file BSPSortMethod.cpp.
double BSPNode::c [private] |
Definition at line 137 of file BSPSortMethod.cpp.
double BSPNode::d [private] |
Definition at line 137 of file BSPSortMethod.cpp.
BSPNode* BSPNode::fils_moins [private] |
Definition at line 139 of file BSPSortMethod.cpp.
BSPNode* BSPNode::fils_plus [private] |
Definition at line 140 of file BSPSortMethod.cpp.
Polygone* BSPNode::polygone [private] |
Definition at line 148 of file BSPSortMethod.cpp.
vector<Point *> BSPNode::pts_moins [private] |
Definition at line 146 of file BSPSortMethod.cpp.
vector<Point *> BSPNode::pts_plus [private] |
Definition at line 145 of file BSPSortMethod.cpp.
vector<Segment *> BSPNode::seg_moins [private] |
Definition at line 143 of file BSPSortMethod.cpp.
vector<Segment *> BSPNode::seg_plus [private] |
Definition at line 142 of file BSPSortMethod.cpp.