Skip to content

CCDTightInclusionIntersection

A set of methods to compute (for constraint methods) if two primitives are close enough to consider they collide

Target: Sofa.Component.Collision.Detection.Intersection

namespace: sofa::component::collision::detection::intersection

parents:

  • BaseProximityIntersection

Data

Name Description Default value
name object name unnamed
printLog if true, emits extra messages at runtime. 0
tags list of the subsets the object belongs to
bbox this object bounding box
componentState The state of the component among (Dirty, Valid, Undefined, Loading, Invalid). Undefined
listening if true, handle the events, otherwise ignore the events 0
alarmDistance Distance above which the intersection computations ignores the proximity pair. This distance can also be used in some broad phase algorithms to reduce the search area 1
contactDistance Distance below which a contact is created 0.5
continuousCollisionType Data used for continuous collision detection taken into {'None','Inertia','FreeMotion'}. If 'None' then no CCD is used, if 'Inertia' then only inertia will be used to compute the collision detection and if 'FreeMotion' then the free motion will be used. Note that if 'FreeMotion' is selected, you cannot use the option 'parallelCollisionDetectionAndFreeMotion' in the FreeMotionAnimationLoop None
tolerance tolerance used by the tight inclusion CCD algorithm 1e-10
maxIterations maxIterations used by the tight inclusion CCD algorithm 1000
Name Description Destination type name
context Graph Node containing this object (or BaseContext::getDefault() if no graph is used) BaseContext
slaves Sub-objects used internally by this object BaseObject
master nullptr for regular objects, or master object for which this object is one sub-objects BaseObject