SOFA API  b11f9b8c
Open source framework for multi-physics simuation
sofa::geometry Namespace Reference

Namespaces

 proximity
 

Classes

struct  Edge
 
struct  ElementInfo
 
struct  Hexahedron
 
struct  CleanupCheck
 
struct  Pentahedron
 
struct  Point
 
struct  Pyramid
 
struct  Quad
 
struct  Tetrahedron
 
struct  Triangle
 

Enumerations

enum class  ElementType : sofa::Size {
  UNKNOWN , POINT , EDGE , TRIANGLE ,
  QUAD , TETRAHEDRON , HEXAHEDRON , PENTAHEDRON ,
  PYRAMID , SIZE
}
 The enumeration used to give unique identifiers to Topological objects. More...
 

Functions

constexpr const charelementTypeToString (ElementType type)
 
SOFA_GEOMETRY_API void init ()
 Initialize the Sofa.Geometry library. More...
 
SOFA_GEOMETRY_API bool isInitialized ()
 Return true if and only if the Sofa.Geometry library has been initialized. More...
 
SOFA_GEOMETRY_API void cleanup ()
 Clean up the resources used by the Sofa.Geometry library. More...
 
SOFA_GEOMETRY_API bool isCleanedUp ()
 Return true if and only if the Sofa.Geometry library has been cleaned up. More...
 
SOFA_GEOMETRY_API void printUninitializedLibraryWarning (const std::string &library, const std::string &initFunction)
 Print a warning about a library not being initialized (meant for internal use). More...
 
SOFA_GEOMETRY_API void printLibraryNotCleanedUpWarning (const std::string &library, const std::string &cleanupFunction)
 Print a warning about a library not being cleaned up (meant for internal use). More...
 

Variables

template struct SOFA_GEOMETRY_API ElementInfo< Point >
 
template struct SOFA_GEOMETRY_API ElementInfo< Edge >
 
template struct SOFA_GEOMETRY_API ElementInfo< Triangle >
 
template struct SOFA_GEOMETRY_API ElementInfo< Quad >
 
template struct SOFA_GEOMETRY_API ElementInfo< Pentahedron >
 
template struct SOFA_GEOMETRY_API ElementInfo< Tetrahedron >
 
template struct SOFA_GEOMETRY_API ElementInfo< Pyramid >
 
template struct SOFA_GEOMETRY_API ElementInfo< Hexahedron >
 
constexpr sofa::Size NumberOfElementType = static_cast<sofa::Size>(sofa::geometry::ElementType::SIZE)
 

Enumeration Type Documentation

◆ ElementType

enum sofa::geometry::ElementType : sofa::Size
strong

The enumeration used to give unique identifiers to Topological objects.

Enumerator
UNKNOWN 
POINT 
EDGE 
TRIANGLE 
QUAD 
TETRAHEDRON 
HEXAHEDRON 
PENTAHEDRON 
PYRAMID 
SIZE 

Function Documentation

◆ cleanup()

SOFA_GEOMETRY_API void sofa::geometry::cleanup ( )

Clean up the resources used by the Sofa.Geometry library.

◆ elementTypeToString()

constexpr const char* sofa::geometry::elementTypeToString ( ElementType  type)
constexpr

◆ init()

SOFA_GEOMETRY_API void sofa::geometry::init ( )

Initialize the Sofa.Geometry library.

◆ isCleanedUp()

SOFA_GEOMETRY_API bool sofa::geometry::isCleanedUp ( )

Return true if and only if the Sofa.Geometry library has been cleaned up.

◆ isInitialized()

SOFA_GEOMETRY_API bool sofa::geometry::isInitialized ( )

Return true if and only if the Sofa.Geometry library has been initialized.

◆ printLibraryNotCleanedUpWarning()

SOFA_GEOMETRY_API void sofa::geometry::printLibraryNotCleanedUpWarning ( const std::string &  library,
const std::string &  cleanupFunction 
)

Print a warning about a library not being cleaned up (meant for internal use).

◆ printUninitializedLibraryWarning()

SOFA_GEOMETRY_API void sofa::geometry::printUninitializedLibraryWarning ( const std::string &  library,
const std::string &  initFunction 
)

Print a warning about a library not being initialized (meant for internal use).

Variable Documentation

◆ ElementInfo< Edge >

template struct SOFA_GEOMETRY_API sofa::geometry::ElementInfo< Edge >
extern

◆ ElementInfo< Hexahedron >

template struct SOFA_GEOMETRY_API sofa::geometry::ElementInfo< Hexahedron >
extern

◆ ElementInfo< Pentahedron >

template struct SOFA_GEOMETRY_API sofa::geometry::ElementInfo< Pentahedron >
extern

◆ ElementInfo< Point >

template struct SOFA_GEOMETRY_API sofa::geometry::ElementInfo< Point >
extern

◆ ElementInfo< Pyramid >

template struct SOFA_GEOMETRY_API sofa::geometry::ElementInfo< Pyramid >
extern

◆ ElementInfo< Quad >

template struct SOFA_GEOMETRY_API sofa::geometry::ElementInfo< Quad >
extern

◆ ElementInfo< Tetrahedron >

template struct SOFA_GEOMETRY_API sofa::geometry::ElementInfo< Tetrahedron >
extern

◆ ElementInfo< Triangle >

template struct SOFA_GEOMETRY_API sofa::geometry::ElementInfo< Triangle >
extern

◆ NumberOfElementType

constexpr sofa::Size sofa::geometry::NumberOfElementType = static_cast<sofa::Size>(sofa::geometry::ElementType::SIZE)
constexpr