Public Types | |
| enum | { BPT_POLY_MAX_VERTS = 24 } |
Public Member Functions | |
| PolygonClass (void) | |
| PolygonClass (const PolygonClass &that) | |
| PolygonClass (const VertexClass *points, int num) | |
| PolygonClass & | operator= (const PolygonClass &that) |
| const VertexClass & | operator[] (int i) const |
| VertexClass & | operator[] (int i) |
| int | Get_Vertex_Count (void) const |
| int | Get_Material_ID (void) const |
| const PlaneClass & | Get_Plane (void) const |
| void | Set_Vertex_Count (int count) |
| void | Set_Material_Id (int id) |
| void | Set_Plane (const PlaneClass &plane) |
| void | Compute_Plane (void) |
| int | Which_Side (const PlaneClass &plane) const |
| void | Split (const PlaneClass &plane, PolygonClass &front, PolygonClass &back) const |
| bool | Is_Degenerate (void) |
| bool | Salvage_Degenerate (void) |
Public Attributes | |
| int | MaterialId |
| int | NumVerts |
| VertexClass | Verts [BPT_POLY_MAX_VERTS] |
| PlaneClass | Plane |
PolygonClass Temporary representation of polygons as they are being clipped
Definition at line 127 of file shattersystem.cpp.
| anonymous enum |
| Enumerator | |
|---|---|
| BPT_POLY_MAX_VERTS | |
Definition at line 131 of file shattersystem.cpp.
| PolygonClass::PolygonClass | ( | void | ) |
Definition at line 392 of file shattersystem.cpp.
| PolygonClass::PolygonClass | ( | const PolygonClass & | that | ) |
Definition at line 397 of file shattersystem.cpp.
| PolygonClass::PolygonClass | ( | const VertexClass * | points, |
| int | num ) |
Definition at line 405 of file shattersystem.cpp.
| void PolygonClass::Compute_Plane | ( | void | ) |
Definition at line 426 of file shattersystem.cpp.
|
inline |
Definition at line 143 of file shattersystem.cpp.
|
inline |
Definition at line 144 of file shattersystem.cpp.
|
inline |
Definition at line 142 of file shattersystem.cpp.
| bool PolygonClass::Is_Degenerate | ( | void | ) |
Definition at line 618 of file shattersystem.cpp.
| PolygonClass & PolygonClass::operator= | ( | const PolygonClass & | that | ) |
Definition at line 413 of file shattersystem.cpp.
|
inline |
Definition at line 140 of file shattersystem.cpp.
|
inline |
Definition at line 139 of file shattersystem.cpp.
| bool PolygonClass::Salvage_Degenerate | ( | void | ) |
Definition at line 655 of file shattersystem.cpp.
|
inline |
Definition at line 147 of file shattersystem.cpp.
|
inline |
Definition at line 148 of file shattersystem.cpp.
|
inline |
Definition at line 146 of file shattersystem.cpp.
| void PolygonClass::Split | ( | const PlaneClass & | plane, |
| PolygonClass & | front, | ||
| PolygonClass & | back ) const |
Definition at line 487 of file shattersystem.cpp.
| int PolygonClass::Which_Side | ( | const PlaneClass & | plane | ) | const |
Definition at line 461 of file shattersystem.cpp.
| int PolygonClass::MaterialId |
Definition at line 159 of file shattersystem.cpp.
| int PolygonClass::NumVerts |
Definition at line 160 of file shattersystem.cpp.
| PlaneClass PolygonClass::Plane |
Definition at line 163 of file shattersystem.cpp.
| VertexClass PolygonClass::Verts[BPT_POLY_MAX_VERTS] |
Definition at line 161 of file shattersystem.cpp.