MathEngine
Home Page       Structures       File List       Functions and Macros      

MdtContactParams.h File Reference

MdtContactParams API functions. More...

#include "MePrecision.h"
#include "MdtTypes.h"

Functions

void MdtContactParamsReset (const MdtContactParamsID p)
 Initialises Contact Parameters structure. More...

MdtContactType MdtContactParamsGetType ( const MdtContactParamsID p)
 Returns the contact type. More...

MdtFrictionModel MdtContactParamsGetPrimaryFrictionModel ( const MdtContactParamsID p)
 Returns the friction model along the primary direction. More...

MdtFrictionModel MdtContactParamsGetSecondaryFrictionModel ( const MdtContactParamsID p)
 Returns the friction model along the secondary direction. More...

MeReal MdtContactParamsGetRestitution ( const MdtContactParamsID p)
 Returns the current restitution of this contact. More...

MeReal MdtContactParamsGetRestitutionThreshold ( const MdtContactParamsID p)
 Returns the current impact velocity threshold to use restitution. More...

MeReal MdtContactParamsGetSoftness ( const MdtContactParamsID p)
 Returns the softness (indicates amount of allowed penetration) of this contact. More...

MeReal MdtContactParamsGetMaxAdhesiveForce ( const MdtContactParamsID p)
 Returns the max_adhesive_force at this contact. More...

MeReal MdtContactParamsGetPrimaryFriction ( const MdtContactParamsID p)
 Returns friction in the primary direction. More...

MeReal MdtContactParamsGetPrimarySlip ( const MdtContactParamsID p)
 Returns slip in the primary direction. More...

MeReal MdtContactParamsGetPrimarySlide ( const MdtContactParamsID p)
 Returns slide in the primary direction. More...

MeReal MdtContactParamsGetSecondaryFriction ( const MdtContactParamsID p)
 Returns friction in the secondary direction. More...

MeReal MdtContactParamsGetSecondarySlip ( const MdtContactParamsID p)
 Returns slip in the secondary direction. More...

MeReal MdtContactParamsGetSecondarySlide ( const MdtContactParamsID p)
 Returns slide in the secondary direction. More...

void MdtContactParamsSetType (const MdtContactParamsID p, const MdtContactType t)
 Sets the type of this contact. More...

void MdtContactParamsSetPrimaryFrictionModel ( const MdtContactParamsID p, const MdtFrictionModel m)
 Sets the friction model to use along the primary direction. More...

void MdtContactParamsSetSecondaryFrictionModel ( const MdtContactParamsID p, const MdtFrictionModel m)
 Sets the friction model to use along the secondary direction. More...

void MdtContactParamsSetRestitution ( const MdtContactParamsID p, const MeReal r)
 Sets the amount of restitution at the contact. More...

void MdtContactParamsSetRestitutionThreshold ( const MdtContactParamsID p, const MeReal v)
 Sets the current impact velocity threshold to use restitution. More...

void MdtContactParamsSetSoftness ( const MdtContactParamsID p, const MeReal s)
 Sets the softness for this contact. More...

void MdtContactParamsSetMaxAdhesiveForce ( const MdtContactParamsID p, const MeReal s)
 Sets the max_adhesive_force for this contact. More...

void MdtContactParamsSetPrimaryFriction ( const MdtContactParamsID p, const MeReal f)
 Sets the amount of friction on the primary direction. More...

void MdtContactParamsSetPrimarySlip ( const MdtContactParamsID p, const MeReal s)
 Sets the amount of slip on the primary direction. More...

void MdtContactParamsSetPrimarySlide ( const MdtContactParamsID p, const MeReal s)
 Sets the amount of slide in the primary direction. More...

void MdtContactParamsSetSecondaryFriction ( const MdtContactParamsID p, const MeReal f)
 Sets the amount of friction on the secondary direction. More...

void MdtContactParamsSetSecondarySlip ( const MdtContactParamsID p, const MeReal s)
 Sets the amount of slip on the secondary direction. More...

void MdtContactParamsSetSecondarySlide ( const MdtContactParamsID p, const MeReal s)
 Sets the amount of slide on the secondary direction. More...

void MdtContactParamsSetFriction ( const MdtContactParamsID p, const MeReal f)
 Sets the amount of friction on the primary and secondary direction. More...


Detailed Description

MdtContactParams API functions.


Function Documentation

MeReal MdtContactParamsGetMaxAdhesiveForce ( MdtContactParamsID p )

Returns the max_adhesive_force at this contact.

MeReal MdtContactParamsGetPrimaryFriction ( MdtContactParamsID p )

Returns friction in the primary direction.

MdtFrictionModel MdtContactParamsGetPrimaryFrictionModel ( MdtContactParamsID p )

Returns the friction model along the primary direction.

MeReal MdtContactParamsGetPrimarySlide ( MdtContactParamsID p )

Returns slide in the primary direction.

MeReal MdtContactParamsGetPrimarySlip ( MdtContactParamsID p )

Returns slip in the primary direction.

MeReal MdtContactParamsGetRestitution ( MdtContactParamsID p )

Returns the current restitution of this contact.

MeReal MdtContactParamsGetRestitutionThreshold ( MdtContactParamsID p )

Returns the current impact velocity threshold to use restitution.

MeReal MdtContactParamsGetSecondaryFriction ( MdtContactParamsID p )

Returns friction in the secondary direction.

MdtFrictionModel MdtContactParamsGetSecondaryFrictionModel ( MdtContactParamsID p )

Returns the friction model along the secondary direction.

MeReal MdtContactParamsGetSecondarySlide ( MdtContactParamsID p )

Returns slide in the secondary direction.

MeReal MdtContactParamsGetSecondarySlip ( MdtContactParamsID p )

Returns slip in the secondary direction.

MeReal MdtContactParamsGetSoftness ( MdtContactParamsID p )

Returns the softness (indicates amount of allowed penetration) of this contact.

MdtContactType MdtContactParamsGetType ( MdtContactParamsID p )

Returns the contact type.

void MdtContactParamsReset ( MdtContactParamsID p )

Initialises Contact Parameters structure.

Initialises to default values the contact parameters structure. These are the values that usually remain constant over a contacts lifetime.

Default values:

Parameters:
p   MdtContactParamsID to reset

void MdtContactParamsSetFriction ( MdtContactParamsID p,
MeReal f )

Sets the amount of friction on the primary and secondary direction.

See also:
MdtContactParamsSetPrimaryFriction() , MdtContactParamsSetSecondaryFriction()

void MdtContactParamsSetMaxAdhesiveForce ( MdtContactParamsID p,
MeReal s )

Sets the max_adhesive_force for this contact.

void MdtContactParamsSetPrimaryFriction ( MdtContactParamsID p,
MeReal f )

Sets the amount of friction on the primary direction.

void MdtContactParamsSetPrimaryFrictionModel ( MdtContactParamsID p,
MdtFrictionModel m )

Sets the friction model to use along the primary direction.

void MdtContactParamsSetPrimarySlide ( MdtContactParamsID p,
MeReal s )

Sets the amount of slide in the primary direction.

void MdtContactParamsSetPrimarySlip ( MdtContactParamsID p,
MeReal s )

Sets the amount of slip on the primary direction.

void MdtContactParamsSetRestitution ( MdtContactParamsID p,
MeReal r )

Sets the amount of restitution at the contact.

void MdtContactParamsSetRestitutionThreshold ( MdtContactParamsID p,
MeReal v )

Sets the current impact velocity threshold to use restitution.

void MdtContactParamsSetSecondaryFriction ( MdtContactParamsID p,
MeReal f )

Sets the amount of friction on the secondary direction.

void MdtContactParamsSetSecondaryFrictionModel ( MdtContactParamsID p,
MdtFrictionModel m )

Sets the friction model to use along the secondary direction.

void MdtContactParamsSetSecondarySlide ( MdtContactParamsID p,
MeReal s )

Sets the amount of slide on the secondary direction.

void MdtContactParamsSetSecondarySlip ( MdtContactParamsID p,
MeReal s )

Sets the amount of slip on the secondary direction.

void MdtContactParamsSetSoftness ( MdtContactParamsID p,
MeReal s )

Sets the softness for this contact.

void MdtContactParamsSetType ( MdtContactParamsID p,
MdtContactType t )

Sets the type of this contact.


MathEngine Dynamics Toolkit - Version 0.0.5 Alpha - Reference Manual generated using doxygen at Wed Oct 11 00:34:47 2000

Copyright MathEngine PLC 2000, all rights reserved.