SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Classes | Public Types | Public Member Functions | List of all members
smtk::model::GridInfo Class Referenceabstract

Classes

struct  ApiStatus
 Structure passed in as the last argument to each API method, for reporting. More...
 

Public Types

enum  ApiReturnType { OK = 0, ENTITY_NOT_FOUND, IDENTIFIER_NOT_FOUND, NOT_AVAILABLE }
 Return type for all public methods.
 
enum  PointClosure { ALL_POINTS = 0, INTERIOR_POINTS, BOUNDARY_POINTS }
 Enum for specifying point set closure.
 

Public Member Functions

virtual int dimension (ApiStatus &status) const =0
 Returns the dimension of the grid, more specifically, the.
 
virtual std::vector< int > analysisGridCells (int modelEntityId, ApiStatus &status)=0
 Returns analysis grid cells for specified model entity.
 
virtual std::vector< std::pair< int, int > > boundaryItemsOf (int modelEntityId, ApiStatus &status)=0
 Returns "grid items" for the geometry on the boundary of a model entity.
 
virtual std::vector< std::pair< int, int > > asBoundaryItems (int modelEntityId, int boundedModelId, ApiStatus &status)=0
 Returns "grid items" for the geometry of a model entity that is on.
 
virtual int cellType (int gridCellId, ApiStatus &status)=0
 Returns the type of cell for the specified analysis grid cell id.
 
virtual std::vector< int > pointIds (int modelEntityId, PointClosure closure, ApiStatus &status)=0
 Returns the grid point ids for a specified model entity id.
 
virtual std::vector< int > cellPointIds (int gridCellId, ApiStatus &status)=0
 Returns the grid point ids for a specified grid cell id.
 
virtual std::vector< double > pointLocation (int gridPointId, ApiStatus &status)=0
 Returns the dimensional coordinates of a specified grid point id.
 
virtual std::string nodeElemSetClassification (int modelEntityId, ApiStatus &status)=0
 Returns the classification id for the node or element set for a.
 
virtual std::string sideSetClassification (int modelEntityId, ApiStatus &status)=0
 Returns the classification id for the mesh side set for a specified.
 
virtual std::vector< std::pair< int, int > > edgeGridItems (int boundaryGroupId, ApiStatus &status)=0
 Returns set of grid point id pairs representing the grid edges.
 

The documentation for this class was generated from the following files: