libSBML C++ API  5.20.4
Geometry.cpp File Reference

Implementation of the Geometry class. More...

Include dependency graph for Geometry.cpp:

Functions

int Geometry_addAdjacentDomains (Geometry_t *g, const AdjacentDomains_t *ad)
 
int Geometry_addCoordinateComponent (Geometry_t *g, const CoordinateComponent_t *cc)
 
int Geometry_addDomain (Geometry_t *g, const Domain_t *d)
 
int Geometry_addDomainType (Geometry_t *g, const DomainType_t *dt)
 
int Geometry_addGeometryDefinition (Geometry_t *g, const GeometryDefinition_t *gd)
 
int Geometry_addSampledField (Geometry_t *g, const SampledField_t *sf)
 
Geometry_tGeometry_clone (const Geometry_t *g)
 
Geometry_tGeometry_create (unsigned int level, unsigned int version, unsigned int pkgVersion)
 
AdjacentDomains_tGeometry_createAdjacentDomains (Geometry_t *g)
 
AnalyticGeometry_tGeometry_createAnalyticGeometry (Geometry_t *g)
 
CoordinateComponent_tGeometry_createCoordinateComponent (Geometry_t *g)
 
CSGeometry_tGeometry_createCSGeometry (Geometry_t *g)
 
Domain_tGeometry_createDomain (Geometry_t *g)
 
DomainType_tGeometry_createDomainType (Geometry_t *g)
 
MixedGeometry_tGeometry_createMixedGeometry (Geometry_t *g)
 
ParametricGeometry_tGeometry_createParametricGeometry (Geometry_t *g)
 
SampledField_tGeometry_createSampledField (Geometry_t *g)
 
SampledFieldGeometry_tGeometry_createSampledFieldGeometry (Geometry_t *g)
 
void Geometry_free (Geometry_t *g)
 
AdjacentDomains_tGeometry_getAdjacentDomains (Geometry_t *g, unsigned int n)
 
AdjacentDomains_tGeometry_getAdjacentDomainsByDomain1 (Geometry_t *g, const char *sid)
 
AdjacentDomains_tGeometry_getAdjacentDomainsByDomain2 (Geometry_t *g, const char *sid)
 
AdjacentDomains_tGeometry_getAdjacentDomainsById (Geometry_t *g, const char *sid)
 
CoordinateComponent_tGeometry_getCoordinateComponent (Geometry_t *g, unsigned int n)
 
CoordinateComponent_tGeometry_getCoordinateComponentById (Geometry_t *g, const char *sid)
 
GeometryKind_t Geometry_getCoordinateSystem (const Geometry_t *g)
 
char * Geometry_getCoordinateSystemAsString (const Geometry_t *g)
 
Domain_tGeometry_getDomain (Geometry_t *g, unsigned int n)
 
Domain_tGeometry_getDomainByDomainType (Geometry_t *g, const char *sid)
 
Domain_tGeometry_getDomainById (Geometry_t *g, const char *sid)
 
DomainType_tGeometry_getDomainType (Geometry_t *g, unsigned int n)
 
DomainType_tGeometry_getDomainTypeById (Geometry_t *g, const char *sid)
 
GeometryDefinition_tGeometry_getGeometryDefinition (Geometry_t *g, unsigned int n)
 
GeometryDefinition_tGeometry_getGeometryDefinitionById (Geometry_t *g, const char *sid)
 
char * Geometry_getId (const Geometry_t *g)
 
ListOf_tGeometry_getListOfAdjacentDomains (Geometry_t *g)
 
ListOf_tGeometry_getListOfCoordinateComponents (Geometry_t *g)
 
ListOf_tGeometry_getListOfDomains (Geometry_t *g)
 
ListOf_tGeometry_getListOfDomainTypes (Geometry_t *g)
 
ListOf_tGeometry_getListOfGeometryDefinitions (Geometry_t *g)
 
ListOf_tGeometry_getListOfSampledFields (Geometry_t *g)
 
unsigned int Geometry_getNumAdjacentDomains (Geometry_t *g)
 
unsigned int Geometry_getNumCoordinateComponents (Geometry_t *g)
 
unsigned int Geometry_getNumDomains (Geometry_t *g)
 
unsigned int Geometry_getNumDomainTypes (Geometry_t *g)
 
unsigned int Geometry_getNumGeometryDefinitions (Geometry_t *g)
 
unsigned int Geometry_getNumSampledFields (Geometry_t *g)
 
SampledField_tGeometry_getSampledField (Geometry_t *g, unsigned int n)
 
SampledField_tGeometry_getSampledFieldById (Geometry_t *g, const char *sid)
 
int Geometry_hasRequiredAttributes (const Geometry_t *g)
 
int Geometry_isSetCoordinateSystem (const Geometry_t *g)
 
int Geometry_isSetId (const Geometry_t *g)
 
AdjacentDomains_tGeometry_removeAdjacentDomains (Geometry_t *g, unsigned int n)
 
AdjacentDomains_tGeometry_removeAdjacentDomainsById (Geometry_t *g, const char *sid)
 
CoordinateComponent_tGeometry_removeCoordinateComponent (Geometry_t *g, unsigned int n)
 
CoordinateComponent_tGeometry_removeCoordinateComponentById (Geometry_t *g, const char *sid)
 
Domain_tGeometry_removeDomain (Geometry_t *g, unsigned int n)
 
Domain_tGeometry_removeDomainById (Geometry_t *g, const char *sid)
 
DomainType_tGeometry_removeDomainType (Geometry_t *g, unsigned int n)
 
DomainType_tGeometry_removeDomainTypeById (Geometry_t *g, const char *sid)
 
GeometryDefinition_tGeometry_removeGeometryDefinition (Geometry_t *g, unsigned int n)
 
GeometryDefinition_tGeometry_removeGeometryDefinitionById (Geometry_t *g, const char *sid)
 
SampledField_tGeometry_removeSampledField (Geometry_t *g, unsigned int n)
 
SampledField_tGeometry_removeSampledFieldById (Geometry_t *g, const char *sid)
 
int Geometry_setCoordinateSystem (Geometry_t *g, GeometryKind_t coordinateSystem)
 
int Geometry_setCoordinateSystemAsString (Geometry_t *g, const char *coordinateSystem)
 
int Geometry_setId (Geometry_t *g, const char *id)
 
int Geometry_unsetCoordinateSystem (Geometry_t *g)
 
int Geometry_unsetId (Geometry_t *g)
 

Detailed Description

Implementation of the Geometry class.

Author
SBMLTeam

Function Documentation

◆ Geometry_addAdjacentDomains()

int Geometry_addAdjacentDomains ( Geometry_t g,
const AdjacentDomains_t ad 
)

◆ Geometry_addCoordinateComponent()

int Geometry_addCoordinateComponent ( Geometry_t g,
const CoordinateComponent_t cc 
)

◆ Geometry_addDomain()

int Geometry_addDomain ( Geometry_t g,
const Domain_t d 
)

◆ Geometry_addDomainType()

int Geometry_addDomainType ( Geometry_t g,
const DomainType_t dt 
)

◆ Geometry_addGeometryDefinition()

int Geometry_addGeometryDefinition ( Geometry_t g,
const GeometryDefinition_t gd 
)

◆ Geometry_addSampledField()

int Geometry_addSampledField ( Geometry_t g,
const SampledField_t sf 
)

◆ Geometry_clone()

Geometry_t* Geometry_clone ( const Geometry_t g)

◆ Geometry_create()

Geometry_t* Geometry_create ( unsigned int  level,
unsigned int  version,
unsigned int  pkgVersion 
)

◆ Geometry_createAdjacentDomains()

AdjacentDomains_t* Geometry_createAdjacentDomains ( Geometry_t g)

◆ Geometry_createAnalyticGeometry()

AnalyticGeometry_t* Geometry_createAnalyticGeometry ( Geometry_t g)

◆ Geometry_createCoordinateComponent()

CoordinateComponent_t* Geometry_createCoordinateComponent ( Geometry_t g)

◆ Geometry_createCSGeometry()

CSGeometry_t* Geometry_createCSGeometry ( Geometry_t g)

◆ Geometry_createDomain()

Domain_t* Geometry_createDomain ( Geometry_t g)

◆ Geometry_createDomainType()

DomainType_t* Geometry_createDomainType ( Geometry_t g)

◆ Geometry_createMixedGeometry()

MixedGeometry_t* Geometry_createMixedGeometry ( Geometry_t g)

◆ Geometry_createParametricGeometry()

ParametricGeometry_t* Geometry_createParametricGeometry ( Geometry_t g)

◆ Geometry_createSampledField()

SampledField_t* Geometry_createSampledField ( Geometry_t g)

◆ Geometry_createSampledFieldGeometry()

SampledFieldGeometry_t* Geometry_createSampledFieldGeometry ( Geometry_t g)

◆ Geometry_free()

void Geometry_free ( Geometry_t g)

◆ Geometry_getAdjacentDomains()

AdjacentDomains_t* Geometry_getAdjacentDomains ( Geometry_t g,
unsigned int  n 
)

◆ Geometry_getAdjacentDomainsByDomain1()

AdjacentDomains_t* Geometry_getAdjacentDomainsByDomain1 ( Geometry_t g,
const char *  sid 
)

◆ Geometry_getAdjacentDomainsByDomain2()

AdjacentDomains_t* Geometry_getAdjacentDomainsByDomain2 ( Geometry_t g,
const char *  sid 
)

◆ Geometry_getAdjacentDomainsById()

AdjacentDomains_t* Geometry_getAdjacentDomainsById ( Geometry_t g,
const char *  sid 
)

◆ Geometry_getCoordinateComponent()

CoordinateComponent_t* Geometry_getCoordinateComponent ( Geometry_t g,
unsigned int  n 
)

◆ Geometry_getCoordinateComponentById()

CoordinateComponent_t* Geometry_getCoordinateComponentById ( Geometry_t g,
const char *  sid 
)

◆ Geometry_getCoordinateSystem()

GeometryKind_t Geometry_getCoordinateSystem ( const Geometry_t g)

◆ Geometry_getCoordinateSystemAsString()

char* Geometry_getCoordinateSystemAsString ( const Geometry_t g)

◆ Geometry_getDomain()

Domain_t* Geometry_getDomain ( Geometry_t g,
unsigned int  n 
)

◆ Geometry_getDomainByDomainType()

Domain_t* Geometry_getDomainByDomainType ( Geometry_t g,
const char *  sid 
)

◆ Geometry_getDomainById()

Domain_t* Geometry_getDomainById ( Geometry_t g,
const char *  sid 
)

◆ Geometry_getDomainType()

DomainType_t* Geometry_getDomainType ( Geometry_t g,
unsigned int  n 
)

◆ Geometry_getDomainTypeById()

DomainType_t* Geometry_getDomainTypeById ( Geometry_t g,
const char *  sid 
)

◆ Geometry_getGeometryDefinition()

GeometryDefinition_t* Geometry_getGeometryDefinition ( Geometry_t g,
unsigned int  n 
)

◆ Geometry_getGeometryDefinitionById()

GeometryDefinition_t* Geometry_getGeometryDefinitionById ( Geometry_t g,
const char *  sid 
)

◆ Geometry_getId()

char* Geometry_getId ( const Geometry_t g)

◆ Geometry_getListOfAdjacentDomains()

ListOf_t* Geometry_getListOfAdjacentDomains ( Geometry_t g)

◆ Geometry_getListOfCoordinateComponents()

ListOf_t* Geometry_getListOfCoordinateComponents ( Geometry_t g)

◆ Geometry_getListOfDomains()

ListOf_t* Geometry_getListOfDomains ( Geometry_t g)

◆ Geometry_getListOfDomainTypes()

ListOf_t* Geometry_getListOfDomainTypes ( Geometry_t g)

◆ Geometry_getListOfGeometryDefinitions()

ListOf_t* Geometry_getListOfGeometryDefinitions ( Geometry_t g)

◆ Geometry_getListOfSampledFields()

ListOf_t* Geometry_getListOfSampledFields ( Geometry_t g)

◆ Geometry_getNumAdjacentDomains()

unsigned int Geometry_getNumAdjacentDomains ( Geometry_t g)

◆ Geometry_getNumCoordinateComponents()

unsigned int Geometry_getNumCoordinateComponents ( Geometry_t g)

◆ Geometry_getNumDomains()

unsigned int Geometry_getNumDomains ( Geometry_t g)

◆ Geometry_getNumDomainTypes()

unsigned int Geometry_getNumDomainTypes ( Geometry_t g)

◆ Geometry_getNumGeometryDefinitions()

unsigned int Geometry_getNumGeometryDefinitions ( Geometry_t g)

◆ Geometry_getNumSampledFields()

unsigned int Geometry_getNumSampledFields ( Geometry_t g)

◆ Geometry_getSampledField()

SampledField_t* Geometry_getSampledField ( Geometry_t g,
unsigned int  n 
)

◆ Geometry_getSampledFieldById()

SampledField_t* Geometry_getSampledFieldById ( Geometry_t g,
const char *  sid 
)

◆ Geometry_hasRequiredAttributes()

int Geometry_hasRequiredAttributes ( const Geometry_t g)

◆ Geometry_isSetCoordinateSystem()

int Geometry_isSetCoordinateSystem ( const Geometry_t g)

◆ Geometry_isSetId()

int Geometry_isSetId ( const Geometry_t g)

◆ Geometry_removeAdjacentDomains()

AdjacentDomains_t* Geometry_removeAdjacentDomains ( Geometry_t g,
unsigned int  n 
)

◆ Geometry_removeAdjacentDomainsById()

AdjacentDomains_t* Geometry_removeAdjacentDomainsById ( Geometry_t g,
const char *  sid 
)

◆ Geometry_removeCoordinateComponent()

CoordinateComponent_t* Geometry_removeCoordinateComponent ( Geometry_t g,
unsigned int  n 
)

◆ Geometry_removeCoordinateComponentById()

CoordinateComponent_t* Geometry_removeCoordinateComponentById ( Geometry_t g,
const char *  sid 
)

◆ Geometry_removeDomain()

Domain_t* Geometry_removeDomain ( Geometry_t g,
unsigned int  n 
)

◆ Geometry_removeDomainById()

Domain_t* Geometry_removeDomainById ( Geometry_t g,
const char *  sid 
)

◆ Geometry_removeDomainType()

DomainType_t* Geometry_removeDomainType ( Geometry_t g,
unsigned int  n 
)

◆ Geometry_removeDomainTypeById()

DomainType_t* Geometry_removeDomainTypeById ( Geometry_t g,
const char *  sid 
)

◆ Geometry_removeGeometryDefinition()

GeometryDefinition_t* Geometry_removeGeometryDefinition ( Geometry_t g,
unsigned int  n 
)

◆ Geometry_removeGeometryDefinitionById()

GeometryDefinition_t* Geometry_removeGeometryDefinitionById ( Geometry_t g,
const char *  sid 
)

◆ Geometry_removeSampledField()

SampledField_t* Geometry_removeSampledField ( Geometry_t g,
unsigned int  n 
)

◆ Geometry_removeSampledFieldById()

SampledField_t* Geometry_removeSampledFieldById ( Geometry_t g,
const char *  sid 
)

◆ Geometry_setCoordinateSystem()

int Geometry_setCoordinateSystem ( Geometry_t g,
GeometryKind_t  coordinateSystem 
)

◆ Geometry_setCoordinateSystemAsString()

int Geometry_setCoordinateSystemAsString ( Geometry_t g,
const char *  coordinateSystem 
)

◆ Geometry_setId()

int Geometry_setId ( Geometry_t g,
const char *  id 
)

◆ Geometry_unsetCoordinateSystem()

int Geometry_unsetCoordinateSystem ( Geometry_t g)

◆ Geometry_unsetId()

int Geometry_unsetId ( Geometry_t g)