public virtual Posture PointingForward() { return(new FunctionalPosture(body => RatioCalculator.DifferenceDistanceRatio( body.YDiff(From, To), body.DistanceBetween(To, From)))); }
public virtual Posture ToTheRightOf(JointType other) { return(new FunctionalPosture(body => RatioCalculator.DifferenceDistanceRatio( body.XDiff(Joint, other), body.PathLengthBetween(Joint, other)))); }
public virtual Posture PointingBackwards() { return(new FunctionalPosture(body => RatioCalculator.DifferenceDistanceRatio( body.ZDiff(To, From), body.DistanceBetween(To, From)))); }
public virtual Posture Before(JointType other) { return(new FunctionalPosture(body => RatioCalculator.DifferenceDistanceRatio( body.ZDiff(other, Joint), body.PathLength(other, Joint)))); }