On this page:
11.5.1  Inheritance diagram for Geom  Entity:
8.5

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:

Public Member Functions

void 

mesh ()

 

Mesh the GeomEntity. More...

 

bool 

is_meshed ()

 

Return the current mesh state of the GeomEntity. More...

 

void 

smooth ()

 

Smooths the mesh on the GeomEntity. More...

 

void 

remove_mesh ()

 

Removes the mesh on 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...

 

void 

set_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...

 

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...

 

int 

dimension ()

 

Get the dimensions of the GeomEntity. More...

 

std::vector< Body

bodies ()

 

Get the bodies in the GeomEntity. More...

 

std::vector< Volume

volumes ()

 

Get the volumes in the GeomEntity. More...

 

std::vector< Surface

surfaces ()

 

Get the surfaces in the GeomEntity. More...

 

std::vector< Curve

curves ()

 

Get the curves in the GeomEntity. More...

 

std::vector< Vertex

vertices ()

 

Get the vertices in the GeomEntity. More...

 

Protected Member Functions

 

GeomEntity (CubitEntity *entity_ptr)

 

 

GeomEntity (const GeomEntity &other)

 

Detailed Description

The base class for specifically the Geometry types (Body, Surface, etc.) Member Function Documentation
bodies()

 std::vector<Body> bodies ( )

Get the bodies in the GeomEntity.

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 ( )

Get the curves in the GeomEntity.

std::vector<Curve> curves = geomEntity->curves();

curves = geomEntity.curves()

Returns:
A vector (or list) of curves contained within the GeomEntity
dimension()

 int dimension ( )

Get the dimensions of the GeomEntity.

int dim = geomEntity->dimension();

dim = geomEntity.dimension()

Returns:
The dimension of the GeomEntity
entity_name() [1/2]

 std::string entity_name ( )

Return the first name of the GeomEntity.

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)

Assign a name to the GeomEntity.

geomEntity->entity_name("Brick1");

geomEntity.entity_name("Brick1")

Parameters:

[in]

name

The name to be assigned to the GeomEntity


entity_names()

 std::vector<std::string> entity_names ( )

Return the all the names of the GeomEntity.

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 ( )

Return the current mesh state of the GeomEntity.

bool mesh = geomEntity->is_meshed();

mesh = geomEntity.is_meshed()

Returns:
Whether the GeomEntity is meshed or not
mesh()

 void mesh ( )

Mesh the GeomEntity.

geomEntity->mesh();

geomEntity.mesh()


num_names()

 int num_names ( )

Return the number of names for the GeomEntity.

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)

Remove a specific name from the list of names assigned to the GeomEntity.

geomEntity->remove_entity_name("Brick1");

geomEntity.remove_entity_name("Brick1")

Parameters:

[in]

name

The name to be removed from the list of names assigned to the GeomEntity


remove_entity_names()

 void remove_entity_names ( )

Remove all the names assigned to the GeomEntity.

geomEntity->remove_entity_names();

geomEntity.remove_entity_names()


remove_mesh()

 void remove_mesh ( )

Removes the mesh on the GeomEntity.

geomEntity->remove_mesh();

geomEntity.remove_mesh()


set_entity_name()

 void set_entity_name ( std::string  name)

Assign a name to the GeomEntity.

geomEntity->set_entity_name("Brick1");

geomEntity.set_entity_name("Brick1")

Parameters:

[in]

name

The name to be assigned to the GeomEntity


smooth()

 void smooth ( )

Smooths the mesh on the GeomEntity.

geomEntity->smooth();

geomEntity.smooth()


surfaces()

 std::vector<Surface> surfaces ( )

Get the surfaces in the GeomEntity.

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 ( )

Get the vertices in the GeomEntity.

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 ( )

Get the volumes in the GeomEntity.

std::vector<Volume> volumes = geomEntity->volumes();

volumes = geomEntity.volumes()

Returns:
A vector (or list) of volumes contained within the GeomEntity