FingertipDistanceRelationListExtension Class

Definition

Augments ICollection<T> with extension methods that are a particularly useful shorthand for adding FingertipDistanceRelation constraints to the PoseConstraints list of an existing HandPose.

public static class FingertipDistanceRelationListExtension
Inheritance
FingertipDistanceRelationListExtension

Methods

Add(ICollection<PoseConstraint>, Finger, RelativeDistance, Finger)

Creates and adds to the poseConstraints collection a new FingertipDistanceRelation constraint, imposing distanceRelation between finger and otherFinger.

Add(ICollection<PoseConstraint>, Finger, RelativeDistance, IEnumerable<Finger>)

Creates and adds to the poseConstraints collection a new FingertipDistanceRelation constraint, imposing distanceRelation between finger and each of the otherFingers.

Add(ICollection<PoseConstraint>, FingersContext, RelativeDistance, FingersContext)

Creates and adds to the poseConstraints collection a new FingertipDistanceRelation constraint, imposing distanceRelation between the fingers in context and the fingers in otherContext.

Add(ICollection<PoseConstraint>, IEnumerable<Finger>, RelativeDistance, Finger)

Creates and adds to the poseConstraints collection a new FingertipDistanceRelation constraint, imposing distanceRelation between each finger in fingers and otherFinger.

Add(ICollection<PoseConstraint>, IEnumerable<Finger>, RelativeDistance, IEnumerable<Finger>)

Creates and adds to the poseConstraints collection a new FingertipDistanceRelation constraint, imposing distanceRelation between each finger in fingers and each finger in otherFingers.

Applies to