cgma
GeometryEntity Class Reference

#include <GeometryEntity.hpp>

Inheritance diagram for GeometryEntity:
TopologyBridge Curve Lump Surface TBPoint CompositeCurve CurveSM FacetCurve OCCCurve PartitionCurve CompositeLump FacetLump LumpSM OCCLump PartitionLump CompositeSurface FacetSurface OCCSurface PartitionSurface SurfaceSM CompositePoint FacetPoint OCCPoint PartitionPoint PointSM

List of all members.

Public Member Functions

 GeometryEntity ()
virtual ~GeometryEntity ()
virtual CubitBox bounding_box () const =0
virtual double measure ()=0
virtual GeometryType geometry_type ()=0
int get_saved_id () const
void set_saved_id (int value)
void get_saved_names (std::vector< CubitString > &names)
void set_saved_names (const std::vector< CubitString > &names)

Private Attributes

int myId
std::vector< CubitStringmyNames

Detailed Description

Definition at line 44 of file GeometryEntity.hpp.


Constructor & Destructor Documentation

Definition at line 48 of file GeometryEntity.hpp.

: myId(0) {}

Definition at line 39 of file GeometryEntity.cpp.

{}

Member Function Documentation

int GeometryEntity::get_saved_id ( ) const [inline]

Definition at line 72 of file GeometryEntity.hpp.

{ return myId; }
void GeometryEntity::get_saved_names ( std::vector< CubitString > &  names)

Definition at line 42 of file GeometryEntity.cpp.

{
  names = myNames;
}
void GeometryEntity::set_saved_id ( int  value) [inline]

Definition at line 73 of file GeometryEntity.hpp.

{ myId = value; }
void GeometryEntity::set_saved_names ( const std::vector< CubitString > &  names)

Definition at line 47 of file GeometryEntity.cpp.

{
  myNames = names;
}

Member Data Documentation

int GeometryEntity::myId [private]

Reimplemented in FacetCurve.

Definition at line 81 of file GeometryEntity.hpp.

std::vector<CubitString> GeometryEntity::myNames [private]

Definition at line 82 of file GeometryEntity.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines