AGXDynamics  2.31.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
agxCollide::LocalParticleGeometryContact Class Reference

#include <LocalContactPoint.h>

+ Inheritance diagram for agxCollide::LocalParticleGeometryContact:

Public Types

enum  ContactPointState : agx::UInt8 { IMPACTING = 1 << 0, NONHOLONOMIC = 1 << 1 }
 

Public Member Functions

 LocalParticleGeometryContact ()
 
 LocalParticleGeometryContact (agx::Physics::ParticlePtr particle, agx::Physics::GeometryPtr geometry)
 
agx::Real & area ()
 
const agx::Real & area () const
 
agx::Real & depth ()
 
const agx::Real & depth () const
 
agx::Real & elasticRestLengthShape1 ()
 
const agx::Real & elasticRestLengthShape1 () const
 
agx::Real & elasticRestLengthShape2 ()
 
const agx::Real & elasticRestLengthShape2 () const
 
bool & enabled ()
 
const bool & enabled () const
 
agx::UInt8 & faceFeature1 ()
 
const agx::UInt8 & faceFeature1 () const
 
agx::UInt8 & faceFeature2 ()
 
const agx::UInt8 & faceFeature2 () const
 
agx::UInt32 & faceIndex1 ()
 
const agx::UInt32 & faceIndex1 () const
 
agx::UInt32 & faceIndex2 ()
 
const agx::UInt32 & faceIndex2 () const
 
const agx::Physics::GeometryPtr & geometry () const
 
agx::Physics::GeometryPtr & geometry ()
 
const bool isHolonomic () const
 
const agx::ContactMaterial *& material ()
 
const agx::ContactMaterial *const & material () const
 
agx::Real & maxNormalForce ()
 
const agx::Real & maxNormalForce () const
 
agx::Vec3f & normal ()
 
const agx::Vec3f & normal () const
 
const agx::Physics::ParticlePtr & particle () const
 
agx::Physics::ParticlePtr & particle ()
 
agx::Vec3 & point ()
 
const agx::Vec3 & point () const
 
void setIsHolonomic (bool isHolonomic)
 
agx::Physics::Geometry::ShapePtr & shape1 ()
 
const
agx::Physics::Geometry::ShapePtr & 
shape1 () const
 
agx::Physics::Geometry::ShapePtr & shape2 ()
 
const
agx::Physics::Geometry::ShapePtr & 
shape2 () const
 
agx::UInt8 & state ()
 
const agx::UInt8 & state () const
 
agx::Vec3f & velocity ()
 
const agx::Vec3f & velocity () const
 

Static Public Member Functions

template<typename T >
static LocalContactPoint create (const T &pointType)
 Creates an enabled copy of given pointType (agxCollide::ContactPoint). More...
 

Detailed Description

Definition at line 301 of file LocalContactPoint.h.

Member Enumeration Documentation

Enumerator
IMPACTING 

This contact point is impacting - i.e., relative speed along the normal is above some threshold.

This state is calculated by the solver and is updated in the contact point before the post/last callbacks.

NONHOLONOMIC 

This contact point is treated as a non-holonomic constraint in the normal direction - i.e.

a velocity constraint with target velocity 0 ( similar to friction ) where the contact depth is disregarded. This removes the right-hand side in the normal equation for the contact point.

Definition at line 43 of file LocalContactPoint.h.

Constructor & Destructor Documentation

agxCollide::LocalParticleGeometryContact::LocalParticleGeometryContact ( )
inline

Definition at line 304 of file LocalContactPoint.h.

agxCollide::LocalParticleGeometryContact::LocalParticleGeometryContact ( agx::Physics::ParticlePtr  particle,
agx::Physics::GeometryPtr  geometry 
)
inline

Definition at line 308 of file LocalContactPoint.h.

Member Function Documentation

agx::Real& agxCollide::LocalContactPoint::area ( )
inlineinherited

Definition at line 123 of file LocalContactPoint.h.

const agx::Real& agxCollide::LocalContactPoint::area ( ) const
inlineinherited

Definition at line 152 of file LocalContactPoint.h.

template<typename T >
LocalContactPoint agxCollide::LocalContactPoint::create ( const T &  pointType)
staticinherited

Creates an enabled copy of given pointType (agxCollide::ContactPoint).

Parameters
pointType- source contact point

Definition at line 188 of file LocalContactPoint.h.

agx::Real& agxCollide::LocalContactPoint::depth ( )
inlineinherited

Definition at line 121 of file LocalContactPoint.h.

const agx::Real& agxCollide::LocalContactPoint::depth ( ) const
inlineinherited

Definition at line 150 of file LocalContactPoint.h.

agx::Real& agxCollide::LocalContactPoint::elasticRestLengthShape1 ( )
inlineinherited

Definition at line 124 of file LocalContactPoint.h.

const agx::Real& agxCollide::LocalContactPoint::elasticRestLengthShape1 ( ) const
inlineinherited

Definition at line 153 of file LocalContactPoint.h.

agx::Real& agxCollide::LocalContactPoint::elasticRestLengthShape2 ( )
inlineinherited

Definition at line 125 of file LocalContactPoint.h.

const agx::Real& agxCollide::LocalContactPoint::elasticRestLengthShape2 ( ) const
inlineinherited

Definition at line 154 of file LocalContactPoint.h.

bool& agxCollide::LocalContactPoint::enabled ( )
inlineinherited

Definition at line 132 of file LocalContactPoint.h.

const bool& agxCollide::LocalContactPoint::enabled ( ) const
inlineinherited

Definition at line 161 of file LocalContactPoint.h.

agx::UInt8& agxCollide::LocalContactPoint::faceFeature1 ( )
inlineinherited

Definition at line 128 of file LocalContactPoint.h.

const agx::UInt8& agxCollide::LocalContactPoint::faceFeature1 ( ) const
inlineinherited

Definition at line 157 of file LocalContactPoint.h.

agx::UInt8& agxCollide::LocalContactPoint::faceFeature2 ( )
inlineinherited

Definition at line 129 of file LocalContactPoint.h.

const agx::UInt8& agxCollide::LocalContactPoint::faceFeature2 ( ) const
inlineinherited

Definition at line 158 of file LocalContactPoint.h.

agx::UInt32& agxCollide::LocalContactPoint::faceIndex1 ( )
inlineinherited

Definition at line 126 of file LocalContactPoint.h.

const agx::UInt32& agxCollide::LocalContactPoint::faceIndex1 ( ) const
inlineinherited

Definition at line 155 of file LocalContactPoint.h.

agx::UInt32& agxCollide::LocalContactPoint::faceIndex2 ( )
inlineinherited

Definition at line 127 of file LocalContactPoint.h.

const agx::UInt32& agxCollide::LocalContactPoint::faceIndex2 ( ) const
inlineinherited

Definition at line 156 of file LocalContactPoint.h.

const agx::Physics::GeometryPtr& agxCollide::LocalParticleGeometryContact::geometry ( ) const
inline

Definition at line 312 of file LocalContactPoint.h.

agx::Physics::GeometryPtr& agxCollide::LocalParticleGeometryContact::geometry ( )
inline

Definition at line 313 of file LocalContactPoint.h.

const bool agxCollide::LocalContactPoint::isHolonomic ( ) const
inlineinherited

Definition at line 164 of file LocalContactPoint.h.

References agxCollide::LocalContactPoint::NONHOLONOMIC.

const agx::ContactMaterial*& agxCollide::LocalContactPoint::material ( )
inlineinherited

Definition at line 133 of file LocalContactPoint.h.

const agx::ContactMaterial* const& agxCollide::LocalContactPoint::material ( ) const
inlineinherited

Definition at line 162 of file LocalContactPoint.h.

agx::Real& agxCollide::LocalContactPoint::maxNormalForce ( )
inlineinherited

Definition at line 122 of file LocalContactPoint.h.

const agx::Real& agxCollide::LocalContactPoint::maxNormalForce ( ) const
inlineinherited

Definition at line 151 of file LocalContactPoint.h.

agx::Vec3f& agxCollide::LocalContactPoint::normal ( )
inlineinherited

Definition at line 119 of file LocalContactPoint.h.

const agx::Vec3f& agxCollide::LocalContactPoint::normal ( ) const
inlineinherited

Definition at line 148 of file LocalContactPoint.h.

const agx::Physics::ParticlePtr& agxCollide::LocalParticleGeometryContact::particle ( ) const
inline

Definition at line 315 of file LocalContactPoint.h.

agx::Physics::ParticlePtr& agxCollide::LocalParticleGeometryContact::particle ( )
inline

Definition at line 316 of file LocalContactPoint.h.

agx::Vec3& agxCollide::LocalContactPoint::point ( )
inlineinherited
const agx::Vec3& agxCollide::LocalContactPoint::point ( ) const
inlineinherited

Definition at line 147 of file LocalContactPoint.h.

void agxCollide::LocalContactPoint::setIsHolonomic ( bool  isHolonomic)
inlineinherited

Definition at line 135 of file LocalContactPoint.h.

References agxCollide::LocalContactPoint::NONHOLONOMIC.

agx::Physics::Geometry::ShapePtr& agxCollide::LocalContactPoint::shape1 ( )
inlineinherited

Definition at line 130 of file LocalContactPoint.h.

const agx::Physics::Geometry::ShapePtr& agxCollide::LocalContactPoint::shape1 ( ) const
inlineinherited

Definition at line 159 of file LocalContactPoint.h.

agx::Physics::Geometry::ShapePtr& agxCollide::LocalContactPoint::shape2 ( )
inlineinherited

Definition at line 131 of file LocalContactPoint.h.

const agx::Physics::Geometry::ShapePtr& agxCollide::LocalContactPoint::shape2 ( ) const
inlineinherited

Definition at line 160 of file LocalContactPoint.h.

agx::UInt8& agxCollide::LocalContactPoint::state ( )
inlineinherited

Definition at line 134 of file LocalContactPoint.h.

const agx::UInt8& agxCollide::LocalContactPoint::state ( ) const
inlineinherited

Definition at line 163 of file LocalContactPoint.h.

agx::Vec3f& agxCollide::LocalContactPoint::velocity ( )
inlineinherited
const agx::Vec3f& agxCollide::LocalContactPoint::velocity ( ) const
inlineinherited

Definition at line 149 of file LocalContactPoint.h.


The documentation for this class was generated from the following file: