Blender  V2.59
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 223 of file BSP_MeshPrimitives.h.


Constructor & Destructor Documentation

BSP_MFace::BSP_MFace ( )

Face primitive methods

Definition at line 242 of file BSP_MeshPrimitives.cpp.


Member Function Documentation

void BSP_MFace::Invert ( )

Definition at line 252 of file BSP_MeshPrimitives.cpp.

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

int BSP_MFace::OpenTag ( ) const

Definition at line 284 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 269 of file BSP_MeshPrimitives.cpp.

References m_verts.

void BSP_MFace::SetOpenTag ( int  tag)

Definition at line 291 of file BSP_MeshPrimitives.cpp.

References m_open_tag.

void BSP_MFace::SetSelectTag ( bool  tag)

Definition at line 276 of file BSP_MeshPrimitives.cpp.

References m_verts.


Member Data Documentation

Definition at line 235 of file BSP_MeshPrimitives.h.

Referenced by OpenTag(), and SetOpenTag().

unsigned int BSP_MFace::m_orig_face

Definition at line 236 of file BSP_MeshPrimitives.h.

Referenced by BOP_exportMesh(), and BSP_CSGMesh_FaceIt_Fill().

Definition at line 233 of file BSP_MeshPrimitives.h.

Referenced by BSP_CSGMesh::AddPolygon(), BOP_exportMesh(), and Invert().


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