cgma
|
#include <GeometryEntity.hpp>
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< CubitString > | myNames |
Definition at line 44 of file GeometryEntity.hpp.
GeometryEntity::GeometryEntity | ( | ) | [inline] |
Definition at line 48 of file GeometryEntity.hpp.
: myId(0) {}
GeometryEntity::~GeometryEntity | ( | ) | [virtual] |
Definition at line 39 of file GeometryEntity.cpp.
{}
virtual CubitBox GeometryEntity::bounding_box | ( | ) | const [pure virtual] |
Implemented in FacetSurface, OCCPoint, FacetPoint, OCCSurface, FacetCurve, OCCLump, CompositeCurve, OCCCurve, CompositeSurface, FacetLump, SegmentedCurve, PartitionSurface, PartitionLump, TBPoint, CompositeLump, PartPTCurve, SubCurve, and PartitionPoint.
virtual GeometryType GeometryEntity::geometry_type | ( | ) | [pure virtual] |
Implemented in OCCSurface, FacetSurface, Surface, Curve, OCCCurve, FacetCurve, CompositeCurve, CompositeSurface, PartitionSurface, PartPTCurve, TBPoint, SubCurve, Lump, and SubSurface.
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; }
virtual double GeometryEntity::measure | ( | ) | [pure virtual] |
Implemented in OCCSurface, FacetSurface, OCCLump, FacetCurve, FacetLump, OCCCurve, CompositeCurve, CompositeSurface, SegmentedCurve, PartitionSurface, PartitionLump, CompositeLump, PartPTCurve, SubCurve, TBPoint, and SubSurface.
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; }
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.