CrystalSpace

Public API Reference

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

csTriangleVertex Class Reference

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

#include <csgeom/trimesh.h>

Inheritance diagram for csTriangleVertex:

csTriangleVertexCost List of all members.

Public Member Functions

 csTriangleVertex ()
 ~csTriangleVertex ()

Public Attributes

csArray< size_t > con_triangles
 Triangles that this vertex is connected to.
csArray< int > con_vertices
 Other vertices that this vertex is connected to.
int idx
 Index of this vertex.
csVector3 pos
 Position of this vertex in 3D space.

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 73 of file trimesh.h.


Member Data Documentation

csArray<size_t> csTriangleVertex::con_triangles
 

Triangles that this vertex is connected to.

Definition at line 82 of file trimesh.h.

csArray<int> csTriangleVertex::con_vertices
 

Other vertices that this vertex is connected to.

Definition at line 85 of file trimesh.h.

int csTriangleVertex::idx
 

Index of this vertex.

Definition at line 79 of file trimesh.h.

csVector3 csTriangleVertex::pos
 

Position of this vertex in 3D space.

Definition at line 77 of file trimesh.h.


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