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
This is an old revision of the document!
This abstract class is the root of all area-based shapes, such as RectangleShape and PolygonShape.
This is the default constructor for AreaBaseShape.
This constructor simply calls the base constructor.
N/A
distance
shapeUnit
distanceUnit
N/A
distance
quadrantSegments
bufferCapType
shapeUnit
distanceUnit
N/A
distance
quadrantSegments
shapeUnit
distanceUnit
N/A
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
shapeSrid
returningUnit
distanceCalculationMode
N/A
N/A
Return Value
shapeProj4ProjectionParameters
returningUnit
distanceCalculationMode
N/A
N/A
Return Value
shapeSrid
returningUnit
distanceCalculationMode
N/A
N/A
Return Value
shapeProj4ProjectionParameters
returningUnit
distanceCalculationMode
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.
Return Value
shapeUnit
returningUnit
N/A
N/A
N/A
N/A
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.
Return Value
N/A
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
Return Value
targetFeature
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
Return Value
targetShape
N/A
N/A
Return Value
targetFeature
shapeUnit
distanceUnit
N/A
N/A
Return Value
targetShape
shapeUnit
distanceUnit
N/A
N/A
N/A
N/A
Return Value
N/A
N/A
Return Value
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
Return Value
targetFeature
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
Return Value
targetShape
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.
Return Value
shapeUnit
returningUnit
N/A
N/A
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
Return Value
targetFeature
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
Return Value
targetShape
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
fromPoint
toPoint
fromUnit
toUnit
N/A
fromPoint
toPoint
fromUnit
toUnit
N/A
N/A
Return Value
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.
Return Value
percentage
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.
Return Value
targetShape
percentage
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.
Return Value
targetFeature
percentage
N/A
N/A
Return Value
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.
Return Value
targetFeature
percentage
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.
Return Value
targetShape
percentage
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.
Return Value
percentage
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
Return Value
targetShape
tolerance
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
Return Value
targetShape
targetShapeUnit
tolerance
toleranceUnit
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
Return Value
shapeUnit
tolerance
toleranceUnit
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
Return Value
tolerance
simplificationType
This method returns a collection of Features split by the specified parameters.
None.
Return Value
areaToSplit
areaToSplitBy
This method returns a collection of MultiPolygonShapes split by the specified parameters.
None.
Return Value
areaToSplit
areaToSplitBy
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
distance
angleInDegrees
shapeUnit
distanceUnit
N/A
N/A
Return Value
xOffsetDistance
yOffsetDistance
shapeUnit
distanceUnit
N/A
N/A
Return Value
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.
Return Value
targetFeatures
This method returns the union of the specified area shapes.
This is useful for adding area shapes together to form a larger area shape.
Return Value
areaShapes
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.
Return Value
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.
Return Value
N/A
N/A
distance
quadrantSegments
bufferCapType
shapeUnit
distanceUnit
N/A
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
shapeProj4ProjectionParameters
returningUnit
distanceCalculationMode
N/A
N/A
Return Value
shapeProj4ProjectionParameters
returningUnit
distanceCalculationMode
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.
Return Value
shapeUnit
returningUnit
N/A
N/A
N/A
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.
Return Value
N/A
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.
Return Value
targetShape
N/A
N/A
Return Value
targetShape
shapeUnit
distanceUnit
N/A
N/A
Return Value
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.
Return Value
targetShape
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.
Return Value
shapeUnit
returningUnit
N/A
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.
Return Value
targetShape
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
fromPoint
toPoint
fromUnit
toUnit
N/A
N/A
Return Value
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.
Return Value
percentage
N/A
N/A
Return Value
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.
Return Value
percentage
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
Return Value
tolerance
simplificationType
N/A
N/A
Return Value
N/A
N/A
Return Value
distance
angleInDegrees
shapeUnit
distanceUnit
N/A
N/A
Return Value
xOffsetDistance
yOffsetDistance
shapeUnit
distanceUnit
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.
Return Value
N/A
N/A
N/A
Return Type:Boolean
N/A
N/A
Return Type:String
N/A
N/A
Return Type:Object