25 class ContactMaterial;
#define AGXPHYSICS_EXPORT
Utility class for reading and writing Materials.
static bool readJsonString(agx::Material *material, const agx::String &jsonContents)
Read parameters from a string with json data and assign values to a Material.
static bool writeJsonString(const agx::ContactMaterial *contactMaterial, agx::String &jsonOutput)
Read parameters from a ContactMaterial and write result to a String.
static bool writeJsonString(const agx::Material *material, agx::String &jsonOutput)
Read parameters from a Material and write result to a String.
static bool readJson(agx::ContactMaterial *contactMaterial, const agx::String &filename)
Read parameters from a file with json data and assign values to a ContactMaterial.
static bool readJson(agx::Material *material, const agx::String &filename)
Read parameters from a file with json data and assign values to a Material.
static bool readJsonString(agx::ContactMaterial *contactMaterial, const agx::String &jsonContents)
Read parameters from a string with json data and assign values to a ContactMaterial.
static bool writeJson(const agx::Material *material, const agx::String &filename)
Read parameters from a Material and write result to a Material definition file.
static bool writeJson(const agx::ContactMaterial *contactMaterial, const agx::String &filename)
Read parameters from a ContactMaterial and write result to a ContactMaterial definition file.
Main material class which acts as a holder of a Surface Material and a Bulk material.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.