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


Constructor & Destructor Documentation

BSP_MEdge::BSP_MEdge ( )

Edge Primitive Methods.

Definition at line 140 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 221 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 147 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 207 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 176 of file BSP_MeshPrimitives.cpp.

References e_mesh_error, find(), m_faces, and MT_assert.


Member Data Documentation

Definition at line 178 of file BSP_MeshPrimitives.h.

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


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