#define AGXPHYSICS_EXPORT
static agx::Vec3Vector createSphereVertices(agx::Real radius, agx::Real resolution=agx::Real(1))
Creates sphere vertices.
static agxCollide::TrimeshRef createMesh(const agxCollide::Shape *shape, agx::Real resolution=agx::Real(1))
Creates a mesh given a primitive shape.
static agxCollide::TrimeshRef createHollowCylinder(agx::Real innerRadius, agx::Real height, agx::Real thickness, agx::Real resolution=agx::Real(1))
Creates a trimesh of a hollow cylinder.
static void createCircleVertices(agx::UInt numSegments, agx::Real radius, agx::Real yOffset, agx::Bool top, agx::Vec3Vector &vertices, agx::Bool useCenter=true)
Creates circle of given radius.
static agx::Vec3Vector createConeVertices(agx::Real topRadius, agx::Real bottomRadius, agx::Real height, agx::Real resolution=agx::Real(1))
Creates a convex cone vertices.
static agxCollide::RenderDataRef createBoxRenderData(const agx::Vec3 &halfExtents)
Creates a RenderData with per vertex normals and texture coordinates of a box.
static agxCollide::ConvexRef createCylinder(agx::Real radius, agx::Real height, agx::Real resolution=agx::Real(1))
Creates a convex cylinder.
static agx::Vec3Vector generateVoronoiPolyhedraVertices(unsigned int seed, agx::Real pointDistance=0.75, agx::Real boundSize=5.0)
Create polyhedra points from a randomly generated Voronoi Diagram by using the method described in: h...
static agxCollide::RenderDataRef createCylinderRenderData(agx::Real radius, agx::Real height, agx::UInt32 numCircleSegments=32)
Creates a RenderData with per vertex normals and texture coordinates of a cylinder.
static agxCollide::ConvexRef createBox(const agx::Vec3 &halfExtents)
Creates a convex box with 24 vertices.
static agxCollide::RenderDataRef createSphereRenderData(agx::Real radius, agx::UInt32 numSegments=32)
Creates a RenderData with per vertex normals and texture coordinates of a sphere.
static agxCollide::ConvexRef createSphere(agx::Real radius, agx::Real resolution=agx::Real(1))
Creates a convex sphere.
static agxCollide::TrimeshRef createHollowCone(agx::Real topOuterRadius, agx::Real bottomInnerRadius, agx::Real outerHeight, agx::Real thickness, agx::Real resolution=agx::Real(1))
Creates a trimesh of a hollow cone.
static agx::Vec3Vector createCylinderVertices(agx::Real radius, agx::Real height, agx::Real resolution=agx::Real(1))
Creates cylinder vertices.
static agxCollide::ConvexRef generateVoronoiPolyhedraMesh(agx::Vec3 size, unsigned int seed, agx::Real pointDistance=0.75, agx::Real boundSize=5)
Create a polyhedra mesh from a randomly generated Voronoi Diagram by using the method described in: h...
static void createConeCapVertices(agx::UInt numSegments, agx::Real topRadius, agx::Real bottomRadius, agx::Real height, agx::Real basey, agx::Vec3Vector &vertices)
Creates a cone cap given radii and height.
static void createHalfSphereVertices(agx::UInt numSegments, agx::UInt numRows, agx::Real radius, agx::Bool top, agx::Real yOffset, agx::Vec3Vector &vertices)
Creates vertices of a half-sphere of given radius.
static agxCollide::ConvexRef createCapsule(agx::Real radius, agx::Real height, agx::Real resolution=agx::Real(1))
Creates a convex capsule.
static agx::Vec3Vector createBoxVertices(const agx::Vec3 &halfExtents)
Creates box of given half extents.
static agxCollide::ConvexRef createConvex(const agxCollide::Shape *shape, agx::Real resolution=agx::Real(1))
Creates convex given shape of primitive type BOX, CAPSULE, CYLINDER or SPHERE.
static agx::Vec3Vector createConvexVertices(const agxCollide::Shape *shape, agx::Real resolution=agx::Real(1))
Creates convex vertices given shape of primitive type BOX, CAPSULE, CYLINDER or SPHERE.
static agx::Vec3Vector createCapsuleVertices(agx::Real radius, agx::Real height, agx::Real resolution=agx::Real(1))
Creates capsule vertices.
static agxCollide::ConvexRef createCone(agx::Real topRadius, agx::Real bottomRadius, agx::Real height, agx::Real resolution=agx::Real(1))
Creates a convex cone.
static void createCylinderCapVertices(agx::UInt numSegments, agx::Real radius, agx::Real height, agx::Vec3Vector &vertices)
Creates cylinder cap of given radius and height.
This namespace consists of a set of classes for handling geometric intersection tests including boole...
The agxUtil namespace contain classes and methods for utility functionality.