Beispiel #1
0
 internal static extern void cvSmooth(
     Arr src,
     Arr dst,
     SmoothMethod smoothtype,
     int size1,
     int size2,
     double sigma1,
     double sigma2);
Beispiel #2
0
 public void StartShake(Vector2 toFromSpeeds, SmoothMethod smooth, bool from0)
 {
     this.toFromSpeeds = toFromSpeeds;
     towardsTarget     = true;
     inShake           = true;
     smoother.smooth   = smooth;
     if (from0)
     {
         value = 0;
     }
 }
 private ExtractParameter(SerializationInfo info, StreamingContext context)
 {
     this.ClipRegion = (Geometry)info.GetValue("ClipRegion", typeof(Geometry));
     this.DatumValue = info.GetDouble("DatumValue");
     this.Interval = info.GetDouble("Interval");
     this.ResampleTolerance = info.GetDouble("ResampleTolerance");
     this.Smoothness = info.GetInt32("Smoothness");
     this.ExpectedZValues = (double[])info.GetValue("ExpectedZValues", typeof(double[]));
     this.SmoothMethod = (SmoothMethod)info.GetValue("SmoothMethod", typeof(SmoothMethod));
 }