Class GeometryCollectionShape
[TypeConverter(typeof(BaseShapeTypeConverter))]
public class GeometryCollectionShape : BaseShape
  - Inheritance
 - 
      
      
      GeometryCollectionShape
 
- Inherited Members
 
Constructors
GeometryCollectionShape()
This constructor creates the GeometryCollectionShape.
public GeometryCollectionShape()
  Remarks
None
GeometryCollectionShape(byte[])
This constructor creates the GeometryCollectionShape.
public GeometryCollectionShape(byte[] wellKnownBinary)
  Parameters
wellKnownBinarybyte[]This parameter is the well-known binary used to build the shape.
Remarks
None
Exceptions
- ArgumentException
 Passing invalid well-known binary in the bytes parameter will throw an ArgumentException.
- ArgumentNullException
 Passing a null as the bytes parameter will throw an ArgumentNullException.
GeometryCollectionShape(IEnumerable<BaseShape>)
public GeometryCollectionShape(IEnumerable<BaseShape> baseShapes)
  Parameters
baseShapesIEnumerable<BaseShape>
Exceptions
- ArgumentException
 If you pass in any baseShapes which are invalid, we will throw an ArgumentException.
- ArgumentNullException
 If you pass a null as the baseShapes, we will throw an ArgumentNullException.
GeometryCollectionShape(IEnumerable<Feature>)
public GeometryCollectionShape(IEnumerable<Feature> features)
  Parameters
featuresIEnumerable<Feature>
GeometryCollectionShape(string)
This constructor creates the GeometryCollectionShape.
public GeometryCollectionShape(string wellKnownText)
  Parameters
wellKnownTextstringThis parameter is the well-known text used to build the shape.
Remarks
None
Exceptions
- ArgumentException
 Passing invalid well-known text in the wellKnownText parameter will throw an ArgumentException.
- ArgumentNullException
 Passing a null as the wellKnownText parameter will throw an ArgumentNullException.
Properties
Shapes
public Collection<BaseShape> Shapes { get; }
  Property Value
Methods
BufferCore(double, int, BufferCapType, GeographyUnit, DistanceUnit)
protected override MultipolygonShape BufferCore(double distance, int quadrantSegments, BufferCapType bufferCapType, GeographyUnit shapeUnit, DistanceUnit distanceUnit)
  Parameters
distancedoublequadrantSegmentsintbufferCapTypeBufferCapTypeshapeUnitGeographyUnitdistanceUnitDistanceUnit
Returns
GetBoundingBoxCore()
protected override RectangleShape GetBoundingBoxCore()
  Returns
GetClosestPointToCore(BaseShape, GeographyUnit)
protected override PointShape GetClosestPointToCore(BaseShape targetShape, GeographyUnit shapeUnit)
  Parameters
targetShapeBaseShapeshapeUnitGeographyUnit
Returns
GetConvexHull()
public RingShape GetConvexHull()
  Returns
GetConvexHullCore()
protected virtual RingShape GetConvexHullCore()
  Returns
GetCrossingCore(BaseShape)
protected override MultipointShape GetCrossingCore(BaseShape targetShape)
  Parameters
targetShapeBaseShape
Returns
GetDifference(BaseShape)
public GeometryCollectionShape GetDifference(BaseShape targetShape)
  Parameters
targetShapeBaseShape
Returns
GetDifferenceCore(BaseShape)
protected virtual GeometryCollectionShape GetDifferenceCore(BaseShape targetShape)
  Parameters
targetShapeBaseShape
Returns
GetDistanceToCore(BaseShape, GeographyUnit, DistanceUnit)
protected override double GetDistanceToCore(BaseShape targetShape, GeographyUnit shapeUnit, DistanceUnit distanceUnit)
  Parameters
targetShapeBaseShapeshapeUnitGeographyUnitdistanceUnitDistanceUnit
Returns
GetIntersection(BaseShape)
public GeometryCollectionShape GetIntersection(BaseShape targetShape)
  Parameters
targetShapeBaseShape
Returns
GetIntersectionCore(BaseShape)
protected virtual GeometryCollectionShape GetIntersectionCore(BaseShape targetShape)
  Parameters
targetShapeBaseShape
Returns
GetShortestLineToCore(BaseShape, GeographyUnit)
protected override MultilineShape GetShortestLineToCore(BaseShape targetShape, GeographyUnit shapeUnit)
  Parameters
targetShapeBaseShapeshapeUnitGeographyUnit
Returns
GetSymmetricalDifference(BaseShape)
public GeometryCollectionShape GetSymmetricalDifference(BaseShape targetShape)
  Parameters
targetShapeBaseShape
Returns
GetSymmetricalDifferenceCore(BaseShape)
protected virtual GeometryCollectionShape GetSymmetricalDifferenceCore(BaseShape targetShape)
  Parameters
targetShapeBaseShape
Returns
GetWellKnownBinaryCore(RingOrder, WkbByteOrder)
protected override byte[] GetWellKnownBinaryCore(RingOrder outerRingOrder, WkbByteOrder byteOrder)
  Parameters
outerRingOrderRingOrderbyteOrderWkbByteOrder
Returns
- byte[]
 
GetWellKnownTextCore(RingOrder)
protected override string GetWellKnownTextCore(RingOrder outerRingOrder)
  Parameters
outerRingOrderRingOrder
Returns
GetWellKnownTypeCore()
protected override WellKnownType GetWellKnownTypeCore()
  Returns
IntersectsCore(BaseShape)
protected override bool IntersectsCore(BaseShape targetShape)
  Parameters
targetShapeBaseShape
Returns
IsDisjointedCore(BaseShape)
protected override bool IsDisjointedCore(BaseShape targetShape)
  Parameters
targetShapeBaseShape
Returns
IsWithinCore(BaseShape)
protected override bool IsWithinCore(BaseShape targetShape)
  Parameters
targetShapeBaseShape
Returns
LoadFromWellKnownDataCore(byte[])
protected override void LoadFromWellKnownDataCore(byte[] wellKnownBinary)
  Parameters
wellKnownBinarybyte[]
LoadFromWellKnownDataCore(string)
protected override void LoadFromWellKnownDataCore(string wellKnownText)
  Parameters
wellKnownTextstring
Simplify(double, SimplificationType)
public GeometryCollectionShape Simplify(double tolerance, SimplificationType simplificationType)
  Parameters
tolerancedoublesimplificationTypeSimplificationType
Returns
Simplify(GeographyUnit, double, DistanceUnit, SimplificationType)
public GeometryCollectionShape Simplify(GeographyUnit shapeUnit, double tolerance, DistanceUnit toleranceUnit, SimplificationType simplificationType)
  Parameters
shapeUnitGeographyUnittolerancedoubletoleranceUnitDistanceUnitsimplificationTypeSimplificationType
Returns
SimplifyCore(double, SimplificationType)
protected virtual GeometryCollectionShape SimplifyCore(double tolerance, SimplificationType simplificationType)
  Parameters
tolerancedoublesimplificationTypeSimplificationType
Returns
TouchesCore(BaseShape)
protected override bool TouchesCore(BaseShape targetShape)
  Parameters
targetShapeBaseShape
Returns
Union(IEnumerable<BaseShape>)
public GeometryCollectionShape Union(IEnumerable<BaseShape> targetShape)
  Parameters
targetShapeIEnumerable<BaseShape>
Returns
Union(BaseShape)
public GeometryCollectionShape Union(BaseShape targetShape)
  Parameters
targetShapeBaseShape
Returns
UnionCore(IEnumerable<BaseShape>)
protected virtual GeometryCollectionShape UnionCore(IEnumerable<BaseShape> targetShape)
  Parameters
targetShapeIEnumerable<BaseShape>
Returns
ValidateCore(ShapeValidationMode)
protected override ShapeValidationResult ValidateCore(ShapeValidationMode validationMode)
  Parameters
validationModeShapeValidationMode