Example #1
0
 public InPlaceIterativeCurveSmooth(DCurve3 curve, float alpha = 0.25f)
 {
     Curve = curve;
     Start = 0;
     End   = Curve.VertexCount;
     Alpha = alpha;
 }
Example #2
0
        public void Make(DCurve3 c)
        {
            int nV = vertices.Count;

            for (int i = 0; i < nV; ++i)
            {
                c.AppendVertex(vertices[i]);
            }
            c.Closed = closed;
        }
Example #3
0
 public DCurve3(DCurve3 copy)
 {
     vertices  = new List <Vector3D>(copy.vertices);
     Closed    = copy.Closed;
     Timestamp = 1;
 }