50 virtual void PopulateTiXmlElement(TiXmlElement &Element,
OUTPUT_TYPE OutputType)
const;
56 const CMesh &GetMesh(
const vector<XY> &Section)
const;
62 virtual bool CreateMesh(
const vector<XY> &Section)
const = 0;
65 bool CreateMeshIfNeeded(
const vector<XY> &Section)
const;
Defines the nodes and elements of a surface or volume mesh.
Object container to help handle memory management issues.
Abstract base class to create a 2D mesh of a section.
virtual string GetType() const =0
Derived class should return the class name.
CMesh m_Mesh
Used to cache the result of the previous mesh for efficiency.
virtual CSectionMesh * Copy() const =0
This is a function to allow copying of derived classes correctly.
virtual int GetNumLayers()
virtual void SetNumLayers(int iNumLayers)
virtual bool CreateMesh(const vector< XY > &Section) const =0
Create a mesh out of given list of points representing the edge of the section.
vector< XY > m_Section
Store the section used to request a mesh the last time.
Namespace containing a series of customised math operations not found in the standard c++ library.