protected override void AddInputShapeCore(BaseShape shape) { WellKnownType type = shape.GetWellKnownType(); if (type == WellKnownType.Line || type == WellKnownType.Multiline) { FirstInputFeatureLayer.InternalFeatures.Add(shape.GetFeature()); } else if (type == WellKnownType.Polygon || type == WellKnownType.Multipolygon) { SecondInputFeatureLayer.InternalFeatures.Add(shape.GetFeature()); } }
protected override void AddInputShapeCore(BaseShape shape) { if (InputFeatureLayerType == InputFeatureLayerType.First) { FirstInputFeatureLayer.InternalFeatures.Add(shape.GetFeature()); } else if (InputFeatureLayerType == InputFeatureLayerType.Second) { SecondInputFeatureLayer.InternalFeatures.Add(shape.GetFeature()); } else { throw new Exception("The InputType is wrong"); } }
protected override void AddInputShapeCore(BaseShape shape) { WellKnownType type = shape.GetWellKnownType(); if (type == WellKnownType.Point || type == WellKnownType.Multipoint) { FirstInputFeatureLayer.InternalFeatures.Add(shape.GetFeature()); } else if (type == WellKnownType.Polygon || type == WellKnownType.Multipolygon) { SecondInputFeatureLayer.InternalFeatures.Add(shape.GetFeature()); } else { throw new Exception("The input shape is wrong"); } }
protected override void AddInputShapeCore(BaseShape shape) { inputFeatureLayer.InternalFeatures.Add(shape.GetFeature()); }