public ClusterShapeDataSource(IClusterDataSource clusterDataSource, ShapeDataSourceSettings settings) : base(clusterDataSource) { this.factory = new ClusterShapeFactory(settings); this.size = clusterDataSource.Size; this.CurrentValue = new ShapeCollection(); }
public IShapeDataSource CreateShapeDataSource(IClusterDataSource clusterdataSource, ShapeDataSourceSettings shapeDataSourceSettings) { return new ClusterShapeDataSource(clusterdataSource, shapeDataSourceSettings); }
public ClusterShapeFactory(ShapeDataSourceSettings settings) { this.settings = settings; this.contourFactory = new ContourFactory(settings.ContourLineThinningDistance); }
public IShapeDataSource CreateShapeDataSource(ClusterDataSourceSettings clusterDataSourceSettings, ShapeDataSourceSettings shapeDataSourceSettings) { return new ClusterShapeDataSource(this.CreateClusterDataSource(clusterDataSourceSettings), shapeDataSourceSettings); }