Track::MeshFaces::Face Struct Reference

A structure to store information about a single triangular face. More...

#include <MeshFaces.h>

Inheritance diagram for Track::MeshFaces::Face:

Track::MeshFaces::FaceGraph List of all members.

Public Member Functions

 Face ()
 create leaving all fields undefined.
 Face (std::size_t v1, std::size_t v2, std::size_t v3)
 Create from vertex indices. No normals or texture coords set.
 Face (const FaceVertex &fv1, const FaceVertex &fv2, const FaceVertex &fv3)
 Create from three vertex descriptions.

Public Attributes

FaceVertex fv1
 Information about the first vertex of the triangle.
FaceVertex fv2
 Information about the second vertex of the triangle.
FaceVertex fv3
 Information about the third vertex of the triangle.
bool is_edge
 True if the face comes from an edge, false if from a vertex.
unsigned long int object_name
 The name of the PathEdge or PathVertex the face originated from.

Detailed Description

A structure to store information about a single triangular face.

Definition at line 82 of file MeshFaces.h.


Constructor & Destructor Documentation

Track::MeshFaces::Face::Face (  ) 

create leaving all fields undefined.

Definition at line 32 of file MeshFaces.cpp.

Track::MeshFaces::Face::Face ( std::size_t  v1,
std::size_t  v2,
std::size_t  v3 
)

Create from vertex indices. No normals or texture coords set.

Definition at line 36 of file MeshFaces.cpp.

Track::MeshFaces::Face::Face ( const FaceVertex fv1,
const FaceVertex fv2,
const FaceVertex fv3 
)

Create from three vertex descriptions.

Definition at line 44 of file MeshFaces.cpp.


Member Data Documentation

FaceVertex Track::MeshFaces::Face::fv1

Information about the first vertex of the triangle.

Definition at line 92 of file MeshFaces.h.

FaceVertex Track::MeshFaces::Face::fv2

Information about the second vertex of the triangle.

Definition at line 94 of file MeshFaces.h.

FaceVertex Track::MeshFaces::Face::fv3

Information about the third vertex of the triangle.

Definition at line 96 of file MeshFaces.h.

bool Track::MeshFaces::Face::is_edge

True if the face comes from an edge, false if from a vertex.

Definition at line 99 of file MeshFaces.h.

unsigned long int Track::MeshFaces::Face::object_name

The name of the PathEdge or PathVertex the face originated from.

Definition at line 101 of file MeshFaces.h.


The documentation for this struct was generated from the following files:
Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:18 2010 by Doxygen version 1.4.7 for Racer version svn335.