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

BSP_MEdge Class Reference

#include <BSP_MeshPrimitives.h>

List of all members.

Public Member Functions

 BSP_MEdge ()
bool operator== (BSP_MEdge &rhs)
void SwapFace (BSP_FaceInd old_f, BSP_FaceInd new_f)
BSP_VertexInd OpVertex (BSP_VertexInd vi) const
bool SelectTag () const
void SetSelectTag (bool tag)
int OpenTag () const
void SetOpenTag (int tag)

Public Attributes

BSP_VertexInd m_verts [2]
BSP_FaceList m_faces

Detailed Description

Definition at line 174 of file BSP_MeshPrimitives.h.


Constructor & Destructor Documentation

BSP_MEdge::BSP_MEdge ( )

Edge Primitive Methods.

Definition at line 139 of file BSP_MeshPrimitives.cpp.

References CTR_TaggedIndex< 24, 0x00ffffff >::Empty(), and m_verts.


Member Function Documentation

int BSP_MEdge::OpenTag ( ) const

We use one of the vertex indices for tag informtaion. This means these tags will not survive if you change the vertex indices.

Definition at line 220 of file BSP_MeshPrimitives.cpp.

References m_verts, and CTR_TaggedIndex< tag_shift, index_mask >::Tag().

bool BSP_MEdge::operator== ( BSP_MEdge rhs)

Definition at line 146 of file BSP_MeshPrimitives.cpp.

References m_verts.

BSP_VertexInd BSP_MEdge::OpVertex ( BSP_VertexInd  vi) const
bool BSP_MEdge::SelectTag ( ) const

Definition at line 206 of file BSP_MeshPrimitives.cpp.

References m_verts.

void BSP_MEdge::SetOpenTag ( int  tag)
void BSP_MEdge::SetSelectTag ( bool  tag)
void BSP_MEdge::SwapFace ( BSP_FaceInd  old_f,
BSP_FaceInd  new_f 
)

Definition at line 175 of file BSP_MeshPrimitives.cpp.

References credits_svn_gen::e, e_mesh_error, find(), m_faces, and MT_assert.


Member Data Documentation

Definition at line 177 of file BSP_MeshPrimitives.h.

Referenced by SwapFace(), and LOD_ManMesh2::VertexFaces().


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