Home > Appendix > python > GeomEntity Class Reference
Cubit Python API 16.06
|
The base class for specifically the Geometry types (Body , Surface , etc.) More...
Public Member Functions |
|
std::vector< Body > | bodies () |
Get the bodies in the GeomEntity. More... |
|
std::vector< Curve > | curves () |
Get the curves in the GeomEntity. More... |
|
int | dimension () |
Get the dimensions of the GeomEntity. More... |
|
std::string | entity_name () |
Return the first name of the GeomEntity. More... |
|
void | entity_name (std::string name) |
Assign a name to the GeomEntity. More... |
|
std::vector< std::string > | entity_names () |
Return the all the names of the GeomEntity. More... |
|
bool | is_meshed () |
Return the current mesh state of the GeomEntity. More... |
|
void | mesh () |
Mesh the GeomEntity. More... |
|
int | num_names () |
Return the number of names for the GeomEntity. More... |
|
void | remove_entity_name (std::string name) |
Remove a specific name from the list of names assigned to the GeomEntity. More... |
|
void | remove_entity_names () |
Remove all the names assigned to the GeomEntity. More... |
|
void | remove_mesh () |
Removes the mesh on the GeomEntity. More... |
|
void | set_entity_name (std::string name) |
Assign a name to the GeomEntity. More... |
|
void | smooth () |
Smooths the mesh on the GeomEntity. More... |
|
std::vector< Surface > | surfaces () |
Get the surfaces in the GeomEntity. More... |
|
std::vector< Vertex > | vertices () |
Get the vertices in the GeomEntity. More... |
|
std::vector< Volume > | volumes () |
Get the volumes in the GeomEntity. More... |
|
![]() |
|
Entity () | |
Entity (CubitEntity *entity_ptr) | |
Entity (Entity const ©_from) | |
~Entity () | |
std::array< double, 6 > | bounding_box () |
Get the bounding box of the Entity. More... |
|
std::array< double, 3 > | center_point () |
Get the center point of the Entity. More... |
|
void | destroy_cubit_entity () |
CubitEntity * | entity_ptr () |
int | id () |
Get the id of the Entity. More... |
|
int | is_transparent () |
Get the tranparency state of the Entity. More... |
|
void | is_transparent (int transparency_flag) |
Set the tranparency state of the Entity. More... |
|
int | is_visible () |
Get the visibility state of the Entity. More... |
|
void | is_visible (bool visibility_flag) |
Set the visibility state of the Entity. More... |
|
Entity & | operator= (const Entity &rhs) |
void | set_transparent (int transparency_flag) |
Set the tranparency state of the Entity. More... |
|
void | set_visible (bool visibility_flag) |
Set the visibility state of the Entity. More... |
|
Protected Member Functions |
|
GeomEntity (const GeomEntity &other) | |
GeomEntity (CubitEntity *entity_ptr) | |
Additional Inherited Members |
|
![]() |
|
CubObserver * | cubitWatcher |
CubitEntity * | mEntityPtr |
|
inlineprotected |
|
inlineprotected |
std::vector<Body> bodies | ( | ) |
Get the bodies in the GeomEntity .
std::vector<Curve> curves | ( | ) |
Get the curves in the GeomEntity .
int dimension | ( | ) |
Get the dimensions of the GeomEntity .
std::string entity_name | ( | ) |
Return the first name of the GeomEntity .
void entity_name | ( | std::string | name | ) |
Assign a name to the GeomEntity .
[in] | name | The name to be assigned to the GeomEntity |
std::vector<std::string> entity_names | ( | ) |
Return the all the names of the GeomEntity .
bool is_meshed | ( | ) |
Return the current mesh state of the GeomEntity .
void mesh | ( | ) |
int num_names | ( | ) |
Return the number of names for the GeomEntity .
void remove_entity_name | ( | std::string | name | ) |
Remove a specific name from the list of names assigned to the GeomEntity .
[in] | name | The name to be removed from the list of names assigned to the GeomEntity |
void remove_entity_names | ( | ) |
Remove all the names assigned to the GeomEntity .
void remove_mesh | ( | ) |
void set_entity_name | ( | std::string | name | ) |
Assign a name to the GeomEntity .
[in] | name | The name to be assigned to the GeomEntity |
void smooth | ( | ) |
std::vector<Surface> surfaces | ( | ) |
Get the surfaces in the GeomEntity .
std::vector<Vertex> vertices | ( | ) |
Get the vertices in the GeomEntity .
std::vector<Volume> volumes | ( | ) |
Get the volumes in the GeomEntity .