GeomEntity Class Reference

The base class for specifically the Geometry types ( Body, Surface, etc.)

Inheritance

Entity
GeomEntity
Body Volume Surface Curve Vertex

Public Member Functions

void
mesh()
Mesh the GeomEntity.
bool
is_meshed()
Return the current mesh state of the GeomEntity.
void
smooth()
Smooths the mesh on the GeomEntity.
void
remove_mesh()
Removes the mesh on 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.
void
set_entity_name( std::string name)
Assign a name to the GeomEntity.
std::vector< std::string >
entity_names()
Return the all the names of the GeomEntity.
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.
void
remove_entity_names()
Remove all the names assigned to the GeomEntity.
int
dimension()
Get the dimensions of the GeomEntity.
std::vector< Body >
bodies()
Get the bodies in the GeomEntity.
std::vector< Volume >
volumes()
Get the volumes in the GeomEntity.
std::vector< Surface >
surfaces()
Get the surfaces in the GeomEntity.
std::vector< Curve >
curves()
Get the curves in the GeomEntity.
std::vector< Vertex >
vertices()
Get the vertices in the GeomEntity.

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

std::vector< Body > bodies()
    Returns A vector (or list) of bodies contained within the GeomEntity
    std::vector< Curve > curves()
      Returns A vector (or list) of curves contained within the GeomEntity
      int dimension()
        Returns The dimension of the GeomEntity
        std::string entity_name()
          Returns The first name of the GeomEntity
          void entity_name(
          • std::string name)
          Parameters
          • [in] name
            The name to be assigned to the GeomEntity
          std::vector< std::string > entity_names()
            Returns A vector (or list) of all the names of the GeomEntity
            bool is_meshed()
              Returns Whether the GeomEntity is meshed or not
              int num_names()
                Returns The number of names for the GeomEntity
                void remove_entity_name(
                • std::string name)
                Parameters
                • [in] name
                  The name to be removed from the list of names assigned to the GeomEntity
                void set_entity_name(
                • std::string name)
                Parameters
                • [in] name
                  The name to be assigned to the GeomEntity
                std::vector< Surface > surfaces()
                  Returns A vector (or list) of surfaces contained within the GeomEntity
                  std::vector< Vertex > vertices()
                    Returns A vector (or list) of vertices contained within the GeomEntity
                    std::vector< Volume > volumes()
                      Returns A vector (or list) of volumes contained within the GeomEntity