cgma
|
#include <PartitionEntity.hpp>
Public Member Functions | |
virtual | ~PartitionEntity () |
TopologyBridge * | partitioned_entity () const |
SubEntitySet & | sub_entity_set () const |
virtual CubitStatus | move_to_geometry (CubitVector &position) |
CubitStatus | relax_to_geometry (CubitPoint *facet_point, const CubitVector *input_position=0) |
virtual void | print_debug_info (const char *prefix=0, bool print_subentity_set=true) const |
void | print_partitioned_entity (const char *prefix=0) const |
virtual void | transform (const CubitTransformMatrix &xform)=0 |
virtual void | reverse_sense ()=0 |
virtual void | notify_split (FacetEntity *old_entity, FacetEntity *new_entity)=0 |
virtual CubitStatus | save (CubitSimpleAttrib &attrib)=0 |
virtual CubitBox | bounding_box () const =0 |
Public Attributes | |
int | mark |
Protected Member Functions | |
PartitionEntity () | |
Private Member Functions | |
PartitionEntity (const PartitionEntity &) | |
void | operator= (const PartitionEntity &) |
Private Attributes | |
SubEntitySet * | entitySet |
PartitionEntity * | entitySetNext |
int | entitySetId |
Friends | |
class | SubEntitySet |
Definition at line 22 of file PartitionEntity.hpp.
PartitionEntity::~PartitionEntity | ( | ) | [virtual] |
Definition at line 20 of file PartitionEntity.cpp.
PartitionEntity::PartitionEntity | ( | ) | [protected] |
Definition at line 25 of file PartitionEntity.cpp.
: mark(0), entitySet(0), entitySetNext(0), entitySetId(0) { }
PartitionEntity::PartitionEntity | ( | const PartitionEntity & | ) | [private] |
virtual CubitBox PartitionEntity::bounding_box | ( | ) | const [pure virtual] |
Implemented in PartitionBody, SegmentedCurve, PartitionSurface, PartitionLump, PartitionCoEdge, PartPTCurve, SubCurve, and PartitionPoint.
CubitStatus PartitionEntity::move_to_geometry | ( | CubitVector & | position | ) | [virtual] |
Reimplemented in PartitionSurface, PartitionCurve, and PartitionPoint.
Definition at line 51 of file PartitionEntity.cpp.
{ return CUBIT_SUCCESS; }
virtual void PartitionEntity::notify_split | ( | FacetEntity * | old_entity, |
FacetEntity * | new_entity | ||
) | [pure virtual] |
Implemented in PartitionSurface, PartitionCurve, PartitionBody, PartitionCoEdge, PartitionLump, and PartitionPoint.
void PartitionEntity::operator= | ( | const PartitionEntity & | ) | [private] |
TopologyBridge * PartitionEntity::partitioned_entity | ( | ) | const [inline] |
Definition at line 76 of file PartitionEntity.hpp.
{ return entitySet->get_entity(); }
void PartitionEntity::print_debug_info | ( | const char * | prefix = 0 , |
bool | print_subentity_set = true |
||
) | const [virtual] |
Reimplemented in PartitionSurface, SegmentedCurve, PartitionCurve, and PartitionPoint.
Definition at line 30 of file PartitionEntity.cpp.
{ if( !prefix ) prefix = ""; PRINT_INFO("%sPartitionEntity %p\n", prefix, (void*)this ); if( print_subent_set ) sub_entity_set().print_debug_info(prefix); else print_partitioned_entity( prefix ); }
void PartitionEntity::print_partitioned_entity | ( | const char * | prefix = 0 | ) | const |
Definition at line 41 of file PartitionEntity.cpp.
{ if(!prefix) prefix = ""; PRINT_INFO("%sPartitioned Entity: %s %p\n", prefix, partitioned_entity() ? fix_type_name(typeid(*partitioned_entity()).name()) : "TopologyBridge", (void*)partitioned_entity() ); }
CubitStatus PartitionEntity::relax_to_geometry | ( | CubitPoint * | facet_point, |
const CubitVector * | input_position = 0 |
||
) |
Definition at line 54 of file PartitionEntity.cpp.
{ if (input_pos) { CubitVector closest(*input_pos); if (move_to_geometry(closest) && facet_point->check_inverted_facets(closest)) { facet_point->set(closest); return CUBIT_SUCCESS; } } CubitVector facet_pos(facet_point->coordinates()); if (move_to_geometry(facet_pos) && facet_point->check_inverted_facets(facet_pos)) { facet_point->set(facet_pos); return CUBIT_SUCCESS; } return CUBIT_FAILURE; }
virtual void PartitionEntity::reverse_sense | ( | ) | [pure virtual] |
Implemented in PartitionSurface, SubSurface, SegmentedCurve, PartPTCurve, PartitionBody, PartitionLump, PartitionCoEdge, PartitionPoint, and SubCurve.
virtual CubitStatus PartitionEntity::save | ( | CubitSimpleAttrib & | attrib | ) | [pure virtual] |
Implemented in PartitionBody, PartitionSurface, PartitionCoEdge, PartitionPoint, PartitionLump, SubCurve, PartPTCurve, SegmentedCurve, and SubSurface.
SubEntitySet & PartitionEntity::sub_entity_set | ( | ) | const [inline] |
Definition at line 81 of file PartitionEntity.hpp.
{ return *entitySet; }
virtual void PartitionEntity::transform | ( | const CubitTransformMatrix & | xform | ) | [pure virtual] |
Implemented in PartitionSurface, SegmentedCurve, PartitionCurve, PartitionBody, PartitionLump, PartitionCoEdge, and PartitionPoint.
friend class SubEntitySet [friend] |
Definition at line 65 of file PartitionEntity.hpp.
SubEntitySet* PartitionEntity::entitySet [private] |
Definition at line 67 of file PartitionEntity.hpp.
int PartitionEntity::entitySetId [private] |
Definition at line 72 of file PartitionEntity.hpp.
PartitionEntity* PartitionEntity::entitySetNext [private] |
Definition at line 68 of file PartitionEntity.hpp.
Definition at line 38 of file PartitionEntity.hpp.