Exemple #1
0
 public SamplingOffsetCalculator(IEnumerable <Point2Dmm[]> clusters)
 {
     _clusters   = clusters.Select(c => makeDense(c.Select(OffsetCalculator.AsPoint)).ToArray()).ToList();
     _shapeNodes = ShapeNode.From(_clusters).ToList();
     /**/
     foreach (var node in _shapeNodes)
     {
         var mesh = createMesh(node);
         _meshes.Add(mesh);
     }/**/
 }
Exemple #2
0
        public StrokeOffsetCalculator(IEnumerable <Point2Dmm[]> clusters)
        {
            _clusters = clusters.Select(c => filter(c.Select(OffsetCalculator.AsPoint)).ToArray()).ToList();

            _shapeNodes = ShapeNode.From(_clusters).ToList();
        }