11.5 GeomEntity
The base class for specifically the Geometry types (Body, Surface, etc.) More...
#include <CubitInterfaceEx.hpp>
11.5.1 Inheritance diagram for GeomEntity:

|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
| |
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
| |
| |
The base class for specifically the Geometry types (Body, Surface, etc.)
Member Function Documentation
bodies()
std::vector<Body> bodies ( )
std::vector<Body> bodies = geomEntity->bodies(); |
bodies = geomEntity.bodies() |
Returns:
A vector (or list) of bodies contained within the GeomEntity
curves()
std::vector<Curve> curves ( )
std::vector<Curve> curves = geomEntity->curves(); |
curves = geomEntity.curves() |
Returns:
A vector (or list) of curves contained within the GeomEntity
dimension()
int dimension ( )
int dim = geomEntity->dimension(); |
dim = geomEntity.dimension() |
Returns:
The dimension of the GeomEntity
entity_name() [1/2]
std::string entity_name ( )
std::string name = geomEntity->entity_name(); |
name = geomEntity.entity_name() |
Returns:
The first name of the GeomEntity
entity_name() [2/2]
void entity_name ( std::string name)
geomEntity->entity_name("Brick1"); |
geomEntity.entity_name("Brick1") |
|
|
|
std::vector<std::string> entity_names ( )
std::vector<std::string> names = geomEntity->entity_names(); |
names = geomEntity.entity_names() |
Returns:
A vector (or list) of all the names of the GeomEntity
is_meshed()
bool is_meshed ( )
bool mesh = geomEntity->is_meshed(); |
mesh = geomEntity.is_meshed() |
Returns:
Whether the GeomEntity is meshed or not
mesh()
void mesh ( )
geomEntity->mesh(); |
geomEntity.mesh() |
int num_names ( )
int num = geomEntity->num_names(); |
num = geomEntity.num_names() |
Returns:
The number of names for the GeomEntity
remove_entity_name()
void remove_entity_name ( std::string name)
geomEntity->remove_entity_name("Brick1"); |
geomEntity.remove_entity_name("Brick1") |
|
|
|
void remove_entity_names ( )
geomEntity->remove_entity_names(); |
geomEntity.remove_entity_names() |
void remove_mesh ( )
geomEntity->remove_mesh(); |
geomEntity.remove_mesh() |
void set_entity_name ( std::string name)
geomEntity->set_entity_name("Brick1"); |
geomEntity.set_entity_name("Brick1") |
|
|
|
void smooth ( )
geomEntity->smooth(); |
geomEntity.smooth() |
std::vector<Surface> surfaces ( )
std::vector<Surface> surfaces = geomEntity->surfaces(); |
surfaces = geomEntity.surfaces() |
Returns:
A vector (or list) of surfaces contained within the GeomEntity
vertices()
std::vector<Vertex> vertices ( )
std::vector<Vertex> vertices = geomEntity->vertices(); |
vertices = geomEntity.vertices() |
Returns:
A vector (or list) of vertices contained within the GeomEntity
volumes()
std::vector<Volume> volumes ( )
std::vector<Volume> volumes = geomEntity->volumes(); |
volumes = geomEntity.volumes() |
Returns:
A vector (or list) of volumes contained within the GeomEntity