MeshCore::MeshFacetArray Class Reference

Stores all facets of the mesh data-structure. More...

#include <Elements.h>

Inherits vector< MeshFacet >.

List of all members.

Public Types

typedef std::vector< MeshFacet >
::const_iterator 
_TConstIterator
typedef std::vector< MeshFacet >
::iterator 
_TIterator

Public Member Functions

void DecrementIndices (unsigned long ulIndex)
 Decrements all point indices that are higher than ulIndex.
void Erase (_TIterator pIter)
 Removes the facet from the array the iterator points to.
MeshFacetArrayoperator= (const MeshFacetArray &rclFAry)
void TransposeIndices (unsigned long ulOrig, unsigned long ulNew)
 Checks and flips the point indices if needed.
Construction



 MeshFacetArray (unsigned long ulSize)
 constructor
 MeshFacetArray (void)
 constructor
 ~MeshFacetArray (void)
 destructor
Flag state

Note:
All flag methods are const as they do NOT change the actual properties of the object


void ResetFlag (MeshFacet::TFlagType tF) const
 Resets the flag for all facets.
void ResetInvalid (void) const
 Sets all facets invalid.
void SetFlag (MeshFacet::TFlagType tF) const
 Sets the flag for all facets.
void SetProperty (unsigned long ulVal) const
 Sets the property for all facets.

Detailed Description

Stores all facets of the mesh data-structure.

Definition at line 533 of file Elements.h.


Member Typedef Documentation

typedef std::vector<MeshFacet>::const_iterator MeshCore::MeshFacetArray::_TConstIterator

Definition at line 538 of file Elements.h.

typedef std::vector<MeshFacet>::iterator MeshCore::MeshFacetArray::_TIterator

Definition at line 537 of file Elements.h.


Constructor & Destructor Documentation

MeshCore::MeshFacetArray::MeshFacetArray ( void   )  [inline]

constructor

Definition at line 543 of file Elements.h.

MeshCore::MeshFacetArray::MeshFacetArray ( unsigned long  ulSize  )  [inline]

constructor

Definition at line 545 of file Elements.h.

MeshCore::MeshFacetArray::~MeshFacetArray ( void   )  [inline]

destructor

Definition at line 547 of file Elements.h.


Member Function Documentation

void MeshFacetArray::DecrementIndices ( unsigned long  ulIndex  ) 

Decrements all point indices that are higher than ulIndex.

Definition at line 124 of file Elements.cpp.

References Sketcher::end.

void MeshFacetArray::Erase ( _TIterator  pIter  ) 

Removes the facet from the array the iterator points to.

All neighbour indices of the other facets get adjusted.

Definition at line 93 of file Elements.cpp.

References Sketcher::end.

Referenced by MeshCore::MeshKernel::DeleteFacet().

MeshFacetArray & MeshFacetArray::operator= ( const MeshFacetArray rclFAry  ) 

Definition at line 155 of file Elements.cpp.

void MeshFacetArray::ResetFlag ( MeshFacet::TFlagType  tF  )  const
void MeshFacetArray::ResetInvalid ( void   )  const

Sets all facets invalid.

Definition at line 150 of file Elements.cpp.

References Sketcher::end.

Referenced by MeshCore::MeshKernel::DeleteFacets(), and MeshCore::MeshFixDegeneratedFacets::RemoveEdgeTooSmall().

void MeshFacetArray::SetFlag ( MeshFacet::TFlagType  tF  )  const
void MeshFacetArray::SetProperty ( unsigned long  ulVal  )  const

Sets the property for all facets.

Definition at line 145 of file Elements.cpp.

References Sketcher::end.

Referenced by MeshCore::MeshKernel::AddFacets(), SpringbackCorrection::InitFaceCheck(), and MeshCore::MeshAlgorithm::SetFacetsProperty().

void MeshFacetArray::TransposeIndices ( unsigned long  ulOrig,
unsigned long  ulNew 
)

Checks and flips the point indices if needed.

See also:
MeshFacet::Transpose().

Definition at line 113 of file Elements.cpp.

References Sketcher::end.


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

Generated on Wed Nov 23 19:02:24 2011 for FreeCAD by  doxygen 1.6.1