Blender V2.61 - r43446
Public Member Functions | Public Attributes

BSP_MFace Class Reference

#include <BSP_MeshPrimitives.h>

List of all members.

Public Member Functions

 BSP_MFace ()
void Invert ()
bool SelectTag () const
void SetSelectTag (bool tag)
int OpenTag () const
void SetOpenTag (int tag)

Public Attributes

BSP_VertexList m_verts
MT_Plane3 m_plane
int m_open_tag
unsigned int m_orig_face

Detailed Description

Definition at line 222 of file BSP_MeshPrimitives.h.


Constructor & Destructor Documentation

BSP_MFace::BSP_MFace ( )

Face primitive methods

Definition at line 241 of file BSP_MeshPrimitives.cpp.


Member Function Documentation

void BSP_MFace::Invert ( )

Definition at line 251 of file BSP_MeshPrimitives.cpp.

References MT_Plane3::Invert(), m_plane, and m_verts.

int BSP_MFace::OpenTag ( ) const

Definition at line 283 of file BSP_MeshPrimitives.cpp.

References m_open_tag.

bool BSP_MFace::SelectTag ( ) const

Tagging We use the tag from m_verts[1] for the select tag and the the tag from m_verts[0] for the open tag. There is always a chance that the polygon contains no vertices but this should be checked at construction time. Also note that changing the vertex indices of this polygon will likely remove tagging information.

Definition at line 268 of file BSP_MeshPrimitives.cpp.

References m_verts.

void BSP_MFace::SetOpenTag ( int  tag)

Definition at line 290 of file BSP_MeshPrimitives.cpp.

References m_open_tag.

void BSP_MFace::SetSelectTag ( bool  tag)

Definition at line 275 of file BSP_MeshPrimitives.cpp.

References m_verts.


Member Data Documentation

Definition at line 234 of file BSP_MeshPrimitives.h.

Referenced by OpenTag(), and SetOpenTag().

unsigned int BSP_MFace::m_orig_face

Definition at line 235 of file BSP_MeshPrimitives.h.

Referenced by BOP_exportMesh(), BSP_CSGMesh_FaceIt_Fill(), and Carve_exportMesh().


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