15#ifndef MOMENTUM_CONTACTMATERIAL_H
16#define MOMENTUM_CONTACTMATERIAL_H
18#include "momentum_export.h"
19#include "momentum_namespace.h"
29 class ContactMaterial;
62#ifndef AGX_MOMENTUM_ANALYSIS_API
78#ifndef AGX_MOMENTUM_ANALYSIS_API
94#ifndef AGX_MOMENTUM_ANALYSIS_API
130#ifndef AGX_MOMENTUM_ANALYSIS_API
149#ifndef AGX_MOMENTUM_ANALYSIS_API
168#ifndef AGX_MOMENTUM_ANALYSIS_API
187#ifndef AGX_MOMENTUM_ANALYSIS_API
207#ifndef AGX_MOMENTUM_ANALYSIS_API
239 std::string __str__()
const;
246 agx::ContactMaterial* m_material;
A MaterialPair defines the contact behavior between two geometries with specified materials.
Definition: MaterialPair.h:40
void setRestitution(double restitution)
Set the coefficient of restitution of the material.
double getTwistingResistance() const
Get the twisting resistance coefficient of the material.
std::shared_ptr< Material > getMaterial2() const
Get the second material which defines this contact material.
double getDamping() const
Get the damping factor of the material, in seconds.
double getAdhesion() const
Get the adhesion force of the material, in Newton.
std::shared_ptr< Material > getMaterial(int position) const
Get one of the materials which the contact material describes contacts between.
void setFriction(double friction)
Set the coefficient of friction of the material.
void setTwistingResistance(double twistingResistance)
Set the twisting resistance coefficient of the material.
void setAdhesion(double adhesion)
Set the adhesion force of the material, in Newton.
double getRestitution() const
Get the coefficient of restitution of the material.
void setRollingResistance(double rollingResistance)
Set the rolling resistance coefficient of the material.
bool operator==(const MaterialPair &other) const
std::shared_ptr< Material > getMaterial1() const
Get the first material which defines this contact material.
double getYoungsModulus() const
Get the Young's modulus, a measure of the stiffness, of the material, in Pascal.
double getRollingResistance() const
Get the rolling resistance coefficient of the material.
void setDamping(double damping)
Set the damping factor of the material, in seconds.
void setAdhesiveOverlap(double adhesiveOverlap)
Set the adhesive overlap of the material, in meters.
double getAdhesiveOverlap() const
Get the adhesive overlap of the material, in meters.
void setYoungsModulus(double youngsModulus)
Set the Young's modulus, a measure of the stiffness, of the material, in Pascal.
double getFriction() const
Get the coefficient of friction of the material.
Namespace for Momentum Scripting API.
Definition: AffineMatrix4x4.h:29