Table of Contents

ThinkGeo.MapSuite.Core.AreaBaseShape

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

This abstract class is the root of all area-based shapes, such as RectangleShape and PolygonShape.

Inheritance Hierarchy

Members Summary

Public Constructors

Protected Constructors

AreaBaseShape()

This is the default constructor for AreaBaseShape.

Remarks

This constructor simply calls the base constructor.

Parameters

Public Methods

GetAccuratePerimeter(Int32,DistanceUnit,DistanceCalculationMode)

N/A

Remarks

N/A

Return Value
Parameters

GetAccuratePerimeter(String,DistanceUnit,DistanceCalculationMode)

N/A

Remarks

N/A

Return Value
Parameters

GetPerimeter(GeographyUnit,DistanceUnit)

This method returns the perimeter of the shape, defined as the sum of the lengths of all its sides.

Remarks

You would use this method to find the distance around the area shape.

Return Value
Parameters

GetAccurateArea(Int32,AreaUnit,DistanceCalculationMode)

N/A

Remarks

N/A

Return Value
Parameters

GetAccurateArea(String,AreaUnit,DistanceCalculationMode)

N/A

Remarks

N/A

Return Value
Parameters

GetArea(GeographyUnit,AreaUnit)

This method returns the area of the shape, defined as the size of the region enclosed by the figure.

Remarks

You would use this method to find the area inside the shape.

Return Value
Parameters

ScaleUp(Double)

This method increases the size of the area shape by the percentage given in the percentage parameter.

Remarks

This method is useful when you would like to increase the size of the shape. Note that a larger percentage will scale the shape up faster, since you apply the operation multiple times. There is a ScaleDown method that will shrink the shape. as well.

Return Value
Parameters

ScaleDown(Double)

This method decreases the size of the area shape by the percentage given in the percentage parameter.

Remarks

This method is useful when you would like to decrease the size of the shape. Note that a larger percentage will scale the shape down faster, since you apply the operation multiple times. There is a ScaleUp method that will enlarge the shape as well.

Return Value
Parameters

GetConvexHull()

This method returns the convex hull of the shape, defined as the smallest convex ring that contains all of the points in the shape.

Remarks

This method is useful when you want to create a perimeter around the shape. For example, if you had a MultiPolygon that represented buildings on a campus, you could easily get the convex hull of the buildings and determine the perimeter of all of the buildings together. This also works with MultiPoint shapes, where each point may represent a certain type of person you are doing statistics on. With convex hull, you can get an idea of the regions those points are located in.

Return Value
Parameters

GetIntersection(AreaBaseShape)

This method returns the intersection of the current shape and the target shape, defined as the set of all points which lie in both the current shape and the target shape.

Remarks

None

Return Value
Parameters

GetIntersection(Feature)

This method returns the intersection of the current shape and the target feature, defined as the set of all points which lie in both the current shape and the target feature.

Remarks

None

Return Value
Parameters

Union(AreaBaseShape)

This method returns the union of the current shape and the target shape, defined as the set of all points in the current shape or the target shape.

Remarks

This is useful for adding area shapes together to form a larger area shape.

Return Value
Parameters

Union(Feature)

This method returns the union of the current shape and the target feature, defined as the set of all points in the current shape or the target feature.

Remarks

This is useful for adding area shapes together to form a larger area shape.

Return Value
Parameters

GetDifference(AreaBaseShape)

This method returns the difference between two shapes, defined as the set of all points which lie in the current shape but not in the targetShape.

Remarks

None

Return Value
Parameters

GetDifference(Feature)

This method returns the difference between current shape and the specified feature, defined as the set of all points which lie in the current shape but not in the targetShape.

Remarks

None

Return Value
Parameters

GetSymmetricalDifference(AreaBaseShape)

This method returns the symmetrical difference between two shapes, defined as the set of all points which lie in the current shape or the targetShape but not both.

Remarks

None

Return Value
Parameters

GetSymmetricalDifference(Feature)

This method returns the symmetrical difference between current shape and the specified feature, defined as the set of all points which lie in the current shape or the targetFeature but not both.

Remarks

None

Return Value
Parameters

Simplify(GeographyUnit,Double,DistanceUnit,SimplificationType)

This method performed a simplification operation based on the parameters passed in. Simplify permanently alters the input geometry so that the geometry becomes topologically consistent.

Remarks

N/A

Return Value
Parameters

Simplify(Double,SimplificationType)

This method performed a simplification operation based on the parameters passed in. Simplify permanently alters the input geometry so that the geometry becomes topologically consistent.

Remarks

N/A

Return Value
Parameters

LoadFromWellKnownData(String)

N/A

Remarks

N/A

Return Value
Parameters

GetWellKnownText()

N/A

Remarks

N/A

Return Value
Parameters

GetGeoJson()

N/A

Remarks

N/A

Return Value
Parameters

GetWellKnownText(RingOrder)

N/A

Remarks

N/A

Return Value
Parameters

LoadFromWellKnownData(Byte[])

N/A

Remarks

N/A

Return Value
Parameters

GetWellKnownBinary()

N/A

Remarks

N/A

Return Value
Parameters

GetWellKnownBinary(WkbByteOrder)

N/A

Remarks

N/A

Return Value
Parameters

GetWellKnownBinary(RingOrder)

N/A

Remarks

N/A

Return Value
Parameters

GetWellKnownBinary(RingOrder,WkbByteOrder)

N/A

Remarks

N/A

Return Value
Parameters

GetBoundingBox()

N/A

Remarks

N/A

Return Value
Parameters

GetWellKnownType()

N/A

Remarks

N/A

Return Value
Parameters

CloneDeep()

N/A

Remarks

N/A

Return Value
Parameters

TranslateByOffset(Double,Double,GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value
Parameters

TranslateByOffset(Double,Double)

N/A

Remarks

N/A

Return Value
Parameters

TranslateByDegree(Double,Double,GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value
Parameters

TranslateByDegree(Double,Double)

N/A

Remarks

N/A

Return Value
Parameters

Rotate(PointShape,Single)

N/A

Remarks

N/A

Return Value
Parameters

GetShortestLineTo(BaseShape,GeographyUnit)

N/A

Remarks

N/A

Return Value
Parameters

GetShortestLineTo(Feature,GeographyUnit)

N/A

Remarks

N/A

Return Value
Parameters

GetClosestPointTo(BaseShape,GeographyUnit)

N/A

Remarks

N/A

Return Value
Parameters

GetClosestPointTo(Feature,GeographyUnit)

N/A

Remarks

N/A

Return Value
Parameters

GetCenterPoint()

N/A

Remarks

N/A

Return Value
Parameters

Buffer(Double,GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value
Parameters

Buffer(Double,Int32,GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value
Parameters

Buffer(Double,Int32,BufferCapType,GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value
Parameters

GetDistanceTo(BaseShape,GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value
Parameters

GetDistanceTo(Feature,GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value
Parameters

Register(PointShape,PointShape,DistanceUnit,GeographyUnit)

N/A

Remarks

N/A

Return Value
Parameters

Register(Feature,Feature,DistanceUnit,GeographyUnit)

N/A

Remarks

N/A

Return Value
Parameters

Validate(ShapeValidationMode)

N/A

Remarks

N/A

Return Value
Parameters

IsDisjointed(BaseShape)

N/A

Remarks

N/A

Return Value
Parameters

IsDisjointed(Feature)

N/A

Remarks

N/A

Return Value
Parameters

Intersects(BaseShape)

N/A

Remarks

N/A

Return Value
Parameters

Intersects(Feature)

N/A

Remarks

N/A

Return Value
Parameters

Touches(BaseShape)

N/A

Remarks

N/A

Return Value
Parameters

Touches(Feature)

N/A

Remarks

N/A

Return Value
Parameters

Crosses(BaseShape)

N/A

Remarks

N/A

Return Value
Parameters

Crosses(Feature)

N/A

Remarks

N/A

Return Value
Parameters

IsWithin(BaseShape)

N/A

Remarks

N/A

Return Value
Parameters

IsWithin(Feature)

N/A

Remarks

N/A

Return Value
Parameters

Contains(BaseShape)

N/A

Remarks

N/A

Return Value
Parameters

Contains(Feature)

N/A

Remarks

N/A

Return Value
Parameters

Overlaps(BaseShape)

N/A

Remarks

N/A

Return Value
Parameters

Overlaps(Feature)

N/A

Remarks

N/A

Return Value
Parameters

IsTopologicallyEqual(BaseShape)

N/A

Remarks

N/A

Return Value
Parameters

IsTopologicallyEqual(Feature)

N/A

Remarks

N/A

Return Value
Parameters

GetFeature()

N/A

Remarks

N/A

Return Value
Parameters

GetFeature(IDictionary<String,String>)

N/A

Remarks

N/A

Return Value
Parameters

GetCrossing(BaseShape)

N/A

Remarks

N/A

Return Value
Parameters

ScaleTo(Double)

N/A

Remarks

N/A

Return Value
Parameters

ToString()

N/A

Remarks

N/A

Return Value
Parameters

Equals(Object)

N/A

Remarks

N/A

Return Value
Parameters

GetHashCode()

N/A

Remarks

N/A

Return Value
Parameters

GetType()

N/A

Remarks

N/A

Return Value
Parameters

ScaleUp(AreaBaseShape,Double)

This method returns a new area shape that has been scaled up by the percentage given in the percentage parameter.

Remarks

This method is useful when you would like to increase the size of the shape. Note that a larger percentage will scale the shape up faster, since you apply the operation multiple times. There is a ScaleDown method that will shrink the shape as well.

Return Value
Parameters

ScaleUp(Feature,Double)

This method returns a new area shape that has been scaled up by the percentage given in the percentage parameter.

Remarks

This method is useful when you would like to increase the size of the shape. Note that a larger percentage will scale the shape up faster, since you apply the operation multiple times. There is a ScaleDown method that will shrink the shape as well.

Return Value
Parameters

ScaleDown(AreaBaseShape,Double)

This method returns a new area shape that has been scaled down by the percentage given in the percentage parameter.

Remarks

This method is useful when you would like to decrease the size of the shape. Note that a larger percentage will scale the shape down faster, since you apply the operation multiple times. There is a ScaleUp method that will enlarge the shape as well.

Return Value
Parameters

ScaleDown(Feature,Double)

This method returns a new area feature that has been scaled down by the percentage given in the percentage parameter.

Remarks

This method is useful when you would like to decrease the size of the feature. Note that a larger percentage will scale the shape down faster, since you apply the operation multiple times. There is a ScaleUp method that will enlarge the shape as well.

Return Value
Parameters

Union(IEnumerable<Feature>)

This method returns the union of the current shape and the target features, defined as the set of all points in the current shape or the target features.

Remarks

This is useful for adding area shapes together to form a larger area shape. Overriding: Please ensure that you validate the parameters being passed in and raise the exceptions defined above.

Return Value
Parameters

Union(IEnumerable<AreaBaseShape>)

This method returns the union of the specified area shapes.

Remarks

This is useful for adding area shapes together to form a larger area shape.

Return Value
Parameters

Split(AreaBaseShape,AreaBaseShape)

This method returns a collection of MultiPolygonShapes split by the specified parameters.

Remarks

None.

Return Value
Parameters

Split(Feature,Feature)

This method returns a collection of Features split by the specified parameters.

Remarks

None.

Return Value
Parameters

Simplify(AreaBaseShape,GeographyUnit,Double,DistanceUnit,SimplificationType)

This method performed a simplification operation based on the parameters passed in. Simplify permanently alters the input geometry so that the geometry becomes topologically consistent.

Remarks

N/A

Return Value
Parameters

Simplify(AreaBaseShape,Double,SimplificationType)

This method performed a simplification operation based on the parameters passed in. Simplify permanently alters the input geometry so that the geometry becomes topologically consistent.

Remarks

N/A

Return Value
Parameters

Protected Methods

GetAccuratePerimeterCore(String,DistanceUnit,DistanceCalculationMode)

N/A

Remarks

N/A

Return Value
Parameters

GetPerimeterCore(GeographyUnit,DistanceUnit)

This method returns the perimeter of the shape, defined as the sum of the lengths of all its sides.

Remarks

You would use this method to find the distance around the area shape. Overriding: Please ensure that you validate the parameters being passed in and raise the exceptions defined above.

Return Value
Parameters

GetAccurateAreaCore(String,AreaUnit,DistanceCalculationMode)

N/A

Remarks

N/A

Return Value
Parameters

GetAreaCore(GeographyUnit,AreaUnit)

This method returns the area of the shape, defined as the size of the region enclosed by the figure.

Remarks

You would use this method to find the area inside the shape. Overriding: Please ensure that you validate the parameters being passed in and raise the exceptions defined above.

Return Value
Parameters

ScaleUpCore(Double)

This method increases the size of the area shape by the percentage given in the percentage parameter.

Remarks

This method is useful when you would like to increase the size of the shape. Note that a larger percentage will scale the shape up faster, since you apply the operation multiple times. There is a ScaleDown method that will shrink the shape as well. Overriding: Please ensure that you validate the parameters being passed in and raise the exceptions defined above.

Return Value
Parameters

ScaleDownCore(Double)

This method decreases the size of the area shape by the percentage given in the percentage parameter.

Remarks

This method is useful when you would like to decrease the size of the shape. Note that a larger percentage will scale the shape down faster, since you apply the operation multiple times. There is a ScaleUp method that will enlarge the shape as well. Overriding: Please ensure that you validate the parameters being passed in and raise the exceptions defined above.

Return Value
Parameters

GetConvexHullCore()

This method returns the convex hull of the shape, defined as the smallest convex ring that contains all of the points in the shape.

Remarks

This method is useful when you want to create a perimeter around the shape. For example, if you had a MultiPolygon that represented buildings on a campus, you could easily get the convex hull of the buildings and determine the perimeter of all of the buildings together. This also works with MultiPoint shapes, where each point may represent a certain type of person you are doing statistics on. With convex hull, you can get an idea of the regions those points are located in. Overriding: Please ensure that you validate the parameters being passed in and raise the exceptions defined above.

Return Value
Parameters

GetIntersectionCore(AreaBaseShape)

This method returns the intersection of the current shape and the target shape, defined as the set of all points which lie in both the current shape and the target shape.

Remarks

Overriding: Please ensure that you validate the parameters being passed in and raise the exceptions defined above.

Return Value
Parameters

UnionCore(AreaBaseShape)

This method returns the union of the current shape and the target shapes, defined as the set of all points in the current shape or the target shape.

Remarks

This is useful for adding area shapes together to form a larger area shape. Overriding: Please ensure that you validate the parameters being passed in and raise the exceptions defined above.

Return Value
Parameters

GetDifferenceCore(AreaBaseShape)

This method returns the difference between two shapes, defined as the set of all points which lie in the current shape but not in the targetShape.

Remarks

Overriding: Please ensure that you validate the parameters being passed in and raise the exceptions defined above.

Return Value
Parameters

GetSymmetricalDifferenceCore(AreaBaseShape)

This method returns the symmetrical difference between two shapes, defined as the set of all points which lie in the current shape or the targetShape but not both.

Remarks

Overriding: Please ensure that you validate the parameters being passed in and raise the exceptions defined above.

Return Value
Parameters

SimplifyCore(Double,SimplificationType)

This method performed a simplification operation based on the parameters passed in. Simplify permanently alters the input geometry so that the geometry becomes topologically consistent.

Remarks

N/A

Return Value
Parameters

LoadFromWellKnownDataCore(String)

N/A

Remarks

N/A

Return Value
Parameters

GetGeoJsonCore()

N/A

Remarks

N/A

Return Value
Parameters

GetWellKnownTextCore(RingOrder)

N/A

Remarks

N/A

Return Value
Parameters

LoadFromWellKnownDataCore(Byte[])

N/A

Remarks

N/A

Return Value
Parameters

GetWellKnownBinaryCore(RingOrder,WkbByteOrder)

N/A

Remarks

N/A

Return Value
Parameters

GetBoundingBoxCore()

N/A

Remarks

N/A

Return Value
Parameters

GetWellKnownTypeCore()

N/A

Remarks

N/A

Return Value
Parameters

CloneDeepCore()

N/A

Remarks

N/A

Return Value
Parameters

TranslateByOffsetCore(Double,Double,GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value
Parameters

TranslateByDegreeCore(Double,Double,GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value
Parameters

RotateCore(PointShape,Single)

N/A

Remarks

N/A

Return Value
Parameters

GetShortestLineToCore(BaseShape,GeographyUnit)

N/A

Remarks

N/A

Return Value
Parameters

GetClosestPointToCore(BaseShape,GeographyUnit)

N/A

Remarks

N/A

Return Value
Parameters

GetCenterPointCore()

N/A

Remarks

N/A

Return Value
Parameters

BufferCore(Double,Int32,BufferCapType,GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value
Parameters

GetDistanceToCore(BaseShape,GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value
Parameters

RegisterCore(PointShape,PointShape,DistanceUnit,GeographyUnit)

N/A

Remarks

N/A

Return Value
Parameters

ValidateCore(ShapeValidationMode)

N/A

Remarks

N/A

Return Value
Parameters

IsDisjointedCore(BaseShape)

N/A

Remarks

N/A

Return Value
Parameters

IntersectsCore(BaseShape)

N/A

Remarks

N/A

Return Value
Parameters

TouchesCore(BaseShape)

N/A

Remarks

N/A

Return Value
Parameters

CrossesCore(BaseShape)

N/A

Remarks

N/A

Return Value
Parameters

IsWithinCore(BaseShape)

N/A

Remarks

N/A

Return Value
Parameters

ContainsCore(BaseShape)

N/A

Remarks

N/A

Return Value
Parameters

OverlapsCore(BaseShape)

N/A

Remarks

N/A

Return Value
Parameters

IsTopologicallyEqualCore(BaseShape)

N/A

Remarks

N/A

Return Value
Parameters

GetCrossingCore(BaseShape)

N/A

Remarks

N/A

Return Value
Parameters

ScaleToCore(Double)

N/A

Remarks

N/A

Return Value
Parameters

Finalize()

N/A

Remarks

N/A

Return Value
Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value
Parameters

Public Properties

Id

N/A

Remarks

N/A

Return Value

Tag

N/A

Remarks

N/A

Return Value

CanRotate

N/A

Remarks

N/A

Return Value

Protected Properties

Public Events