MOAB: Mesh Oriented datABase
(version 5.5.0)
|
Functions | |
void | iMesh_getEntities (iMesh_Instance instance, const iBase_EntitySetHandle entity_set_handle, const int entity_type, const int entity_topology, iBase_EntityHandle **entity_handles, int *entity_handles_allocated, int *entity_handles_size, int *err) |
Get entities of specific type and/or topology in set or instance. More... | |
void | iMesh_getEntArrTopo (iMesh_Instance instance, const iBase_EntityHandle *entity_handles, const int entity_handles_size, int **topology, int *topology_allocated, int *topology_size, int *err) |
Get the entity topology for the specified entities. More... | |
void | iMesh_getEntArrType (iMesh_Instance instance, const iBase_EntityHandle *entity_handles, const int entity_handles_size, int **type, int *type_allocated, int *type_size, int *err) |
Get the entity type for the specified entities. More... | |
void | iMesh_createEntArr (iMesh_Instance instance, const int new_entity_topology, const iBase_EntityHandle *lower_order_entity_handles, const int lower_order_entity_handles_size, iBase_EntityHandle **new_entity_handles, int *new_entity_handles_allocated, int *new_entity_handles_size, int **status, int *status_allocated, int *status_size, int *err) |
Create an array of new entities with specified lower-order topology. More... | |
void | iMesh_deleteEntArr (iMesh_Instance instance, const iBase_EntityHandle *entity_handles, const int entity_handles_size, int *err) |
Delete specified entities. More... | |
void | iMesh_createEnt (iMesh_Instance instance, const int new_entity_topology, const iBase_EntityHandle *lower_order_entity_handles, const int lower_order_entity_handles_size, iBase_EntityHandle *new_entity_handle, int *status, int *err) |
Create a new entity with specified lower-order topology. More... | |
void | iMesh_deleteEnt (iMesh_Instance instance, iBase_EntityHandle entity_handle, int *err) |
Delete specified entity. More... | |
void | iMesh_getEntTopo (iMesh_Instance instance, const iBase_EntityHandle entity_handle, int *out_topo, int *err) |
Get the entity topology for the specified entity. More... | |
void | iMesh_getEntType (iMesh_Instance instance, const iBase_EntityHandle entity_handle, int *out_type, int *err) |
Get the entity type for the specified entity. More... | |
Entities iMesh
void iMesh_createEnt | ( | iMesh_Instance | instance, |
const int | new_entity_topology, | ||
const iBase_EntityHandle * | lower_order_entity_handles, | ||
const int | lower_order_entity_handles_size, | ||
iBase_EntityHandle * | new_entity_handle, | ||
int * | status, | ||
int * | err | ||
) |
Create a new entity with specified lower-order topology.
Create a new entity with specified lower-order topology. Specified new_entity_topology must be value in iMesh_EntityTopology enumeration. Value returned as status must be a value in the iBase_CreationStatus enumeration.
[in] | instance | iMesh instance handle |
[in] | new_entity_topology | Topology of created entity |
[in] | lower_order_entity_handles | Array of lower order entity handles to be used to construct new entity. |
[in] | lower_order_entity_handles_size | Number of entities in lower_order_entity_handles array |
[out] | new_entity_handle | Pointer to new entity handle returned from |
[out] | status | Pointer to creation status returned from function (see iBase_CreationStatus) |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 1831 of file iMesh_MOAB.cpp.
References CONST_HANDLE_ARRAY_PTR, create_int_ents(), ERROR, ErrorCode, iBase_CREATION_FAILED, iBase_INVALID_ENTITY_COUNT, iBase_NEW, iBase_SUCCESS, moab::Range::insert(), MB_SUCCESS, mb_topology_table, MBIMESHI, MOABI, and RETURN.
void iMesh_createEntArr | ( | iMesh_Instance | instance, |
const int | new_entity_topology, | ||
const iBase_EntityHandle * | lower_order_entity_handles, | ||
const int | lower_order_entity_handles_size, | ||
iBase_EntityHandle ** | new_entity_handles, | ||
int * | new_entity_handles_allocated, | ||
int * | new_entity_handles_size, | ||
int ** | status, | ||
int * | status_allocated, | ||
int * | status_size, | ||
int * | err | ||
) |
Create an array of new entities with specified lower-order topology.
Create an array of new entities with specified lower-order topology. Specified new_entity_topology must be value in iMesh_EntityTopology enumeration. Values return in status array must be values in the iBase_CreationStatus enumeration.
[in] | instance | iMesh instance handle |
[in] | new_entity_topology | Topology of created entity |
[in] | lower_order_entity_handles | Array of lower order entity handles to be used to construct new entities |
[in] | lower_order_entity_handles_size | Number of entities in lower_order_entity_handles array |
[in,out] | new_entity_handles | Pointer to array of new_entity_handles Array pointer, allocated and occupied sizes argument trio) |
[in,out] | new_entity_handles_allocated | Pointer to allocated size of |
[out] | new_entity_handles_size | Pointer to occupied size of |
[in,out] | status | Pointer to array of creation status returned from Array pointer, allocated and occupied sizes argument trio) (see iBase_CreationStatus) |
[in,out] | status_allocated | Pointer to allocated size of status array |
[out] | status_size | Pointer to occupied size of status array |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 1384 of file iMesh_MOAB.cpp.
References ALLOC_CHECK_ARRAY_NOFAIL, CHKERR, CONST_HANDLE_ARRAY_PTR, create_int_ents(), ERROR, ErrorCode, HANDLE_ARRAY_PTR, iBase_CREATION_FAILED, iBase_INVALID_ARGUMENT, iBase_INVALID_ENTITY_COUNT, iBase_NEW, iBase_SUCCESS, iMesh_POINT, iMesh_SEPTAHEDRON, MB_SUCCESS, mb_topology_table, MBIMESHI, MBVERTEX, MOABI, and RETURN.
void iMesh_deleteEnt | ( | iMesh_Instance | instance, |
iBase_EntityHandle | entity_handle, | ||
int * | err | ||
) |
Delete specified entity.
Delete specified entity
[in] | instance | iMesh instance handle |
[in] | entity_handle | Entity to be deleted |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 1872 of file iMesh_MOAB.cpp.
References iMesh_deleteEntArr().
void iMesh_deleteEntArr | ( | iMesh_Instance | instance, |
const iBase_EntityHandle * | entity_handles, | ||
const int | entity_handles_size, | ||
int * | err | ||
) |
Delete specified entities.
Delete specified entities
[in] | instance | iMesh instance handle |
[in] | entity_handles | Array of entity handles to be deleted |
[in] | entity_handles_size | Number of entities in array to be deleted |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 1468 of file iMesh_MOAB.cpp.
References CHKERR, CONST_HANDLE_ARRAY_PTR, ErrorCode, iBase_SUCCESS, MOABI, and RETURN.
Referenced by iMesh_deleteEnt().
void iMesh_getEntArrTopo | ( | iMesh_Instance | instance, |
const iBase_EntityHandle * | entity_handles, | ||
const int | entity_handles_size, | ||
int ** | topology, | ||
int * | topology_allocated, | ||
int * | topology_size, | ||
int * | err | ||
) |
Get the entity topology for the specified entities.
Get the entity topology for the specified entities. Topologies returned are values in the iMesh_EntityTopology enumeration.
[in] | instance | iMesh instance handle |
[in] | entity_handles | Array of entity handles being queried |
[in] | entity_handles_size | Number of entities in entity_handles array |
[in,out] | topology | Pointer to array of entity topologies returned Array pointer, allocated and occupied sizes argument trio) |
[in,out] | topology_allocated | Pointer to allocated size of topology array |
[out] | topology_size | Pointer to occupied size of topology array |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 558 of file iMesh_MOAB.cpp.
References ALLOC_CHECK_ARRAY_NOFAIL, ENTITY_HANDLE, iBase_SUCCESS, MOABI, RETURN, and tstt_topology_table.
void iMesh_getEntArrType | ( | iMesh_Instance | instance, |
const iBase_EntityHandle * | entity_handles, | ||
const int | entity_handles_size, | ||
int ** | type, | ||
int * | type_allocated, | ||
int * | type_size, | ||
int * | err | ||
) |
Get the entity type for the specified entities.
Get the entity type for the specified entities. Types returned are values in the iBase_EntityType enumeration.
[in] | instance | iMesh instance handle |
[in] | entity_handles | Array of entity handles being queried |
[in] | entity_handles_size | Number of entities in entity_handles array |
[in,out] | type | Pointer to array of types returned from function Array pointer, allocated and occupied sizes argument trio) |
[in,out] | type_allocated | Pointer to allocated size of type array |
[out] | type_size | Pointer to occupied size of type array |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 577 of file iMesh_MOAB.cpp.
References ALLOC_CHECK_ARRAY_NOFAIL, ENTITY_HANDLE, iBase_SUCCESS, MOABI, RETURN, and tstt_type_table.
void iMesh_getEntities | ( | iMesh_Instance | instance, |
const iBase_EntitySetHandle | entity_set_handle, | ||
const int | entity_type, | ||
const int | entity_topology, | ||
iBase_EntityHandle ** | entity_handles, | ||
int * | entity_handles_allocated, | ||
int * | entity_handles_size, | ||
int * | err | ||
) |
Get entities of specific type and/or topology in set or instance.
Get entities of specific type and/or topology in set or instance. All entities of a given type or topology are requested by specifying iBase_ALL_TOPOLOGIES or iBase_ALL_TYPES, respectively. Specified type or topology must be a value in the iBase_EntityType or iBase_EntityTopology enumeration, respectively.
[in] | instance | iMesh instance handle |
[in] | entity_set_handle | Entity set being queried |
[in] | entity_type | Type of entities being requested |
[in] | entity_topology | Topology of entities being requested |
[in,out] | entity_handles | Pointer to array of entity handles returned Array pointer, allocated and occupied sizes argument trio) |
[in,out] | entity_handles_allocated | Pointer to allocated size of entity_handles array |
[out] | entity_handles_size | Pointer to occupied size of entity_handles array |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 439 of file iMesh_MOAB.cpp.
References iMesh_getEntitiesRec().
Referenced by iMesh_getAdjEntIndices().
void iMesh_getEntTopo | ( | iMesh_Instance | instance, |
const iBase_EntityHandle | entity_handle, | ||
int * | out_topo, | ||
int * | err | ||
) |
Get the entity topology for the specified entity.
Get the entity topology for the specified entity. Topology returned is a value in the iMesh_EntityTopology enumeration.
[in] | instance | iMesh instance handle |
[in] | entity_handle | Entity handle being queried |
[out] | out_topo | Pointer to entity topology returned from function |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 2284 of file iMesh_MOAB.cpp.
References ENTITY_HANDLE, iBase_SUCCESS, MOABI, RETURN, and tstt_topology_table.
void iMesh_getEntType | ( | iMesh_Instance | instance, |
const iBase_EntityHandle | entity_handle, | ||
int * | out_type, | ||
int * | err | ||
) |
Get the entity type for the specified entity.
Get the entity type for the specified entity. Type returned is a value in the iBase_EntityType enumeration.
[in] | instance | iMesh instance handle |
[in] | entity_handle | Entity handle being queried |
[out] | out_type | Pointer to entity type returned from function |
[out] | err | Returned Error status (see iBase_ErrorType) |
Definition at line 2293 of file iMesh_MOAB.cpp.
References ENTITY_HANDLE, iBase_SUCCESS, MOABI, RETURN, and tstt_type_table.