17 #ifndef AGXUTIL_RAWMESH_H 18 #define AGXUTIL_RAWMESH_H 49 size_t getNumVertices()
const;
55 size_t getNumFaces()
const;
62 size_t addVertex(
const agx::Vec3& position);
70 size_t addFace(
const IndexVector& vertices);
77 agx::Vec3 getVertexPosition(
size_t vertex)
const;
93 agx::Real getVertexArea(
size_t vertex)
const;
104 const IndexVector& getFaceVertices(
size_t face)
const;
111 const IndexVector& getFacesFromVertex(
size_t vertex)
const;
122 agx::Real calculateFaceArea(
size_t face)
const;
#define AGXPHYSICS_EXPORT
#define AGX_DECLARE_POINTER_TYPES(type)
agx::VectorPOD< agx::UInt > IndexVector
Base class providing referencing counted objects.
Vector containing 'raw' data.
A class to hold a general represenation of a mesh with arbitrary number of vertices in a face...
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
#define AGX_DECLARE_VECTOR_TYPES(type)
The agxUtil namespace contain classes and methods for utility functionality.