ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
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.
This constructor simply calls the base constructor.
N/A
GetAccuratePerimeter(String,DistanceUnit,DistanceCalculationMode)
N/A
N/A
GetPerimeter(GeographyUnit,DistanceUnit)
This method returns the perimeter of the shape, defined as the sum of the lengths of all its sides.
You would use this method to find the distance around the area shape.
GetAccurateArea(Int32,AreaUnit,DistanceCalculationMode)
N/A
N/A
GetAccurateArea(String,AreaUnit,DistanceCalculationMode)
N/A
N/A
GetArea(GeographyUnit,AreaUnit)
This method returns the area of the shape, defined as the size of the region enclosed by the figure.
You would use this method to find the area inside the shape.
This method increases the size of the area shape by the percentage given in the percentage parameter.
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.
This method decreases the size of the area shape by the percentage given in the percentage parameter.
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.
This method returns the convex hull of the shape, defined as the smallest convex ring that contains all of the points in the shape.
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.
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.
None
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.
None
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.
This is useful for adding area shapes together to form a larger area shape.
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.
This is useful for adding area shapes together to form a larger area shape.
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.
None
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.
None
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.
None
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.
None
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.
N/A
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.
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
TranslateByOffset(Double,Double)
N/A
N/A
TranslateByDegree(Double,Double,GeographyUnit,DistanceUnit)
N/A
N/A
TranslateByDegree(Double,Double)
N/A
N/A
N/A
N/A
GetShortestLineTo(BaseShape,GeographyUnit)
N/A
N/A
GetShortestLineTo(Feature,GeographyUnit)
N/A
N/A
GetClosestPointTo(BaseShape,GeographyUnit)
N/A
N/A
GetClosestPointTo(Feature,GeographyUnit)
N/A
N/A
N/A
N/A
Buffer(Double,Int32,GeographyUnit,DistanceUnit)
N/A
N/A
Buffer(Double,Int32,BufferCapType,GeographyUnit,DistanceUnit)
N/A
N/A
GetDistanceTo(BaseShape,GeographyUnit,DistanceUnit)
N/A
N/A
GetDistanceTo(Feature,GeographyUnit,DistanceUnit)
N/A
N/A
Register(PointShape,PointShape,DistanceUnit,GeographyUnit)
N/A
N/A
Register(Feature,Feature,DistanceUnit,GeographyUnit)
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
This method returns a new area shape that has been scaled up by the percentage given in the percentage parameter.
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.
This method returns a new area shape that has been scaled up by the percentage given in the percentage parameter.
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.
ScaleDown(AreaBaseShape,Double)
This method returns a new area shape that has been scaled down by the percentage given in the percentage parameter.
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.
This method returns a new area feature that has been scaled down by the percentage given in the percentage parameter.
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.
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.
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.
Union(IEnumerable<AreaBaseShape>)
This method returns the union of the specified area shapes.
This is useful for adding area shapes together to form a larger area shape.
Split(AreaBaseShape,AreaBaseShape)
This method returns a collection of MultiPolygonShapes split by the specified parameters.
None.
This method returns a collection of Features split by the specified parameters.
None.
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.
N/A
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.
N/A
N/A
GetPerimeterCore(GeographyUnit,DistanceUnit)
This method returns the perimeter of the shape, defined as the sum of the lengths of all its sides.
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.
GetAccurateAreaCore(String,AreaUnit,DistanceCalculationMode)
N/A
N/A
GetAreaCore(GeographyUnit,AreaUnit)
This method returns the area of the shape, defined as the size of the region enclosed by the figure.
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.
This method increases the size of the area shape by the percentage given in the percentage parameter.
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.
This method decreases the size of the area shape by the percentage given in the percentage parameter.
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.
This method returns the convex hull of the shape, defined as the smallest convex ring that contains all of the points in the shape.
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.
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.
Overriding: Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
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.
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.
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.
Overriding: Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
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.
Overriding: Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
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.
N/A
LoadFromWellKnownDataCore(String)
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
TranslateByDegreeCore(Double,Double,GeographyUnit,DistanceUnit)
N/A
N/A
N/A
N/A
GetShortestLineToCore(BaseShape,GeographyUnit)
N/A
N/A
GetClosestPointToCore(BaseShape,GeographyUnit)
N/A
N/A
N/A
N/A
GetDistanceToCore(BaseShape,GeographyUnit,DistanceUnit)
N/A
N/A
RegisterCore(PointShape,PointShape,DistanceUnit,GeographyUnit)
N/A
N/A
ValidateCore(ShapeValidationMode)
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A