Exemple #1
0
 public CompositeDelayedStatement Compose(CompositeDelayedStatement that)
 {
     var result = new CompositeDelayedStatement();
     result.Statements.AddRange(this.Statements);
     result.Statements.AddRange(that.Statements);
     return result;
 }
        public CompositeDelayedStatement Compose(CompositeDelayedStatement that)
        {
            var result = new CompositeDelayedStatement();

            result.Statements.AddRange(this.Statements);
            result.Statements.AddRange(that.Statements);
            return(result);
        }
Exemple #3
0
 public Pose(
     string name,
     CompositeBodyTransform transform,
     IBodyRestriction restriction,
     CompositeDelayedStatement delayed) :
     this(name, transform, restriction)
 {
     this.Delayed = delayed;
 }
Exemple #4
0
 public Pose(
     string name, 
     CompositeBodyTransform transform, 
     IBodyRestriction restriction, 
     CompositeDelayedStatement delayed)
     : this(name, transform, restriction)
 {
     this.Delayed = delayed;
 }
Exemple #5
0
        public CompositeDelayedStatement Aggregate(Func <JointType, CompositeDelayedStatement> func)
        {
            var result = new CompositeDelayedStatement();

            foreach (var joint in this.Joints)
            {
                var that = func(joint);
                result = result.Compose(that);
            }

            return(result);
        }