CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

csTriangleVertex Class Reference

The representation of a vertex in a triangle mesh. More...

#include <trimesh.h>

Inheritance diagram for csTriangleVertex:

csTriangleVertexCost List of all members.

Public Attributes

csVector3 pos
 Position of this vertex in 3D space.

int idx
 Index of this vertex.

csArray< int > con_triangles
 Triangles that this vertex is connected to.

csArray< int > con_vertices
 Other vertices that this vertex is connected to.


Detailed Description

The representation of a vertex in a triangle mesh.

This is basically used as a temporary structure to be able to calculate the cost of collapsing this vertex more quickly.

Definition at line 72 of file trimesh.h.


Member Data Documentation

csArray<int> csTriangleVertex::con_triangles
 

Triangles that this vertex is connected to.

Definition at line 81 of file trimesh.h.

csArray<int> csTriangleVertex::con_vertices
 

Other vertices that this vertex is connected to.

Definition at line 84 of file trimesh.h.

int csTriangleVertex::idx
 

Index of this vertex.

Definition at line 78 of file trimesh.h.

csVector3 csTriangleVertex::pos
 

Position of this vertex in 3D space.

Definition at line 76 of file trimesh.h.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.18