Public Member Functions | Private Member Functions | Private Attributes | List of all members
BSPNode Class Reference

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
 
BSPNodefils_moins
 
BSPNodefils_plus
 
Polygonepolygone
 
vector< Point * > pts_moins
 
vector< Point * > pts_plus
 
vector< Segment * > seg_moins
 
vector< Segment * > seg_plus
 

Detailed Description

Definition at line 124 of file BSPSortMethod.cpp.

Constructor & Destructor Documentation

◆ BSPNode()

BSPNode::BSPNode ( Polygone P)

Definition at line 576 of file BSPSortMethod.cpp.

◆ ~BSPNode()

BSPNode::~BSPNode ( )

Definition at line 181 of file BSPSortMethod.cpp.

Member Function Documentation

◆ Classify() [1/3]

void BSPNode::Classify ( Polygone P,
Polygone *&  moins_,
Polygone *&  plus_ 
)
private

Definition at line 302 of file BSPSortMethod.cpp.

◆ Classify() [2/3]

void BSPNode::Classify ( Segment S,
Segment *&  moins_,
Segment *&  plus_ 
)
private

Definition at line 197 of file BSPSortMethod.cpp.

◆ Classify() [3/3]

int BSPNode::Classify ( Point P)
private

Definition at line 187 of file BSPSortMethod.cpp.

◆ initEquation()

void BSPNode::initEquation ( const Polygone P,
double &  a,
double &  b,
double &  c,
double &  d 
)
private

Definition at line 586 of file BSPSortMethod.cpp.

◆ insert() [1/3]

void BSPNode::insert ( Polygone P)

Definition at line 489 of file BSPSortMethod.cpp.

◆ insert() [2/3]

void BSPNode::insert ( Segment S)

Definition at line 555 of file BSPSortMethod.cpp.

◆ insert() [3/3]

void BSPNode::insert ( Point P)

Definition at line 536 of file BSPSortMethod.cpp.

◆ recursFillPrimitiveArray()

void BSPNode::recursFillPrimitiveArray ( vector< PtrPrimitive > &  primitive_tab) const

Definition at line 514 of file BSPSortMethod.cpp.

Member Data Documentation

◆ a

double BSPNode::a
private

Definition at line 137 of file BSPSortMethod.cpp.

◆ b

double BSPNode::b
private

Definition at line 137 of file BSPSortMethod.cpp.

◆ c

double BSPNode::c
private

Definition at line 137 of file BSPSortMethod.cpp.

◆ d

double BSPNode::d
private

Definition at line 137 of file BSPSortMethod.cpp.

◆ fils_moins

BSPNode* BSPNode::fils_moins
private

Definition at line 139 of file BSPSortMethod.cpp.

◆ fils_plus

BSPNode* BSPNode::fils_plus
private

Definition at line 140 of file BSPSortMethod.cpp.

◆ polygone

Polygone* BSPNode::polygone
private

Definition at line 148 of file BSPSortMethod.cpp.

◆ pts_moins

vector<Point *> BSPNode::pts_moins
private

Definition at line 146 of file BSPSortMethod.cpp.

◆ pts_plus

vector<Point *> BSPNode::pts_plus
private

Definition at line 145 of file BSPSortMethod.cpp.

◆ seg_moins

vector<Segment *> BSPNode::seg_moins
private

Definition at line 143 of file BSPSortMethod.cpp.

◆ seg_plus

vector<Segment *> BSPNode::seg_plus
private

Definition at line 142 of file BSPSortMethod.cpp.


The documentation for this class was generated from the following file:


octovis
Author(s): Kai M. Wurm , Armin Hornung
autogenerated on Mon Feb 28 2022 22:58:17