ThinkGeo.MapSuite.Shapes.RingShape
Inheritance Hierarchy
Members Summary
Public Constructors
RingShape()
Parameters
RingShape(IEnumerable<Vertex>)
Parameters
RingShape(String)
Parameters
RingShape(Byte[])
Parameters
Protected Constructors
Public Methods
ToPolygon()
Return Value
Parameters
RemoveVertex(Vertex)
Return Value
Parameters
IsCounterClockwise()
Return Value
Parameters
ReversePoints()
Return Value
Type:Void
Description:N/A
Parameters
IsSelfIntersecting()
Return Value
Type:Boolean
Description:N/A
Parameters
GetPerimeter(GeographyUnit,DistanceUnit)
Return Value
Type:Double
Description:N/A
Parameters
GetArea(GeographyUnit,AreaUnit)
Return Value
Type:Double
Description:N/A
Parameters
ScaleUp(Double)
Return Value
Type:Void
Description:N/A
Parameters
percentage
Type:Double
Description:N/A
GetAccuratePerimeter(Int32,DistanceUnit,DistanceCalculationMode)
Return Value
Type:Double
Description:N/A
Parameters
shapeSrid
Type:Int32
Description:N/A
GetAccuratePerimeter(String,DistanceUnit,DistanceCalculationMode)
Return Value
Type:Double
Description:N/A
Parameters
GetAccurateArea(Int32,AreaUnit,DistanceCalculationMode)
Return Value
Type:Double
Description:N/A
Parameters
shapeSrid
Type:Int32
Description:N/A
GetAccurateArea(String,AreaUnit,DistanceCalculationMode)
Return Value
Type:Double
Description:N/A
Parameters
ScaleDown(Double)
Return Value
Type:Void
Description:N/A
Parameters
percentage
Type:Double
Description:N/A
GetConvexHull()
Return Value
Parameters
GetIntersection(AreaBaseShape)
Return Value
Parameters
GetIntersection(Feature)
Return Value
Parameters
Union(AreaBaseShape)
Return Value
Parameters
Union(Feature)
Return Value
Parameters
GetDifference(AreaBaseShape)
Return Value
Parameters
GetDifference(Feature)
Return Value
Parameters
GetSymmetricalDifference(AreaBaseShape)
Return Value
Parameters
GetSymmetricalDifference(Feature)
Return Value
Parameters
Simplify(GeographyUnit,Double,DistanceUnit,SimplificationType)
Return Value
Parameters
tolerance
Type:Double
Description:N/A
Simplify(Double,SimplificationType)
Return Value
Parameters
tolerance
Type:Double
Description:N/A
LoadFromWellKnownData(String)
Return Value
Type:Void
Description:N/A
Parameters
wellKnownText
Type:String
Description:N/A
GetWellKnownText()
Return Value
Type:String
Description:N/A
Parameters
GetGeoJson()
Return Value
Type:String
Description:N/A
Parameters
GetWellKnownText(RingOrder)
Return Value
Type:String
Description:N/A
Parameters
LoadFromWellKnownData(Byte[])
Return Value
Type:Void
Description:N/A
Parameters
wellKnownBinary
Type:Byte[]
Description:N/A
GetWellKnownBinary()
Return Value
Type:Byte[]
Description:N/A
Parameters
GetWellKnownBinary(WkbByteOrder)
Return Value
Type:Byte[]
Description:N/A
Parameters
GetWellKnownBinary(RingOrder)
Return Value
Type:Byte[]
Description:N/A
Parameters
GetWellKnownBinary(RingOrder,WkbByteOrder)
Return Value
Type:Byte[]
Description:N/A
Parameters
GetBoundingBox()
Return Value
Parameters
GetWellKnownType()
Return Value
Parameters
CloneDeep()
Return Value
Parameters
TranslateByOffset(Double,Double,GeographyUnit,DistanceUnit)
Return Value
Type:Void
Description:N/A
Parameters
xOffsetDistance
Type:Double
Description:N/A
yOffsetDistance
Type:Double
Description:N/A
TranslateByOffset(Double,Double)
Return Value
Type:Void
Description:N/A
Parameters
xOffsetDistance
Type:Double
Description:N/A
yOffsetDistance
Type:Double
Description:N/A
TranslateByDegree(Double,Double,GeographyUnit,DistanceUnit)
Return Value
Type:Void
Description:N/A
Parameters
distance
Type:Double
Description:N/A
angleInDegrees
Type:Double
Description:N/A
TranslateByDegree(Double,Double)
Return Value
Type:Void
Description:N/A
Parameters
distance
Type:Double
Description:N/A
angleInDegrees
Type:Double
Description:N/A
Rotate(PointShape,Single)
Return Value
Type:Void
Description:N/A
Parameters
degreeAngle
Type:Single
Description:N/A
GetShortestLineTo(BaseShape,GeographyUnit)
Return Value
Parameters
GetShortestLineTo(Feature,GeographyUnit)
Return Value
Parameters
GetClosestPointTo(BaseShape,GeographyUnit)
Return Value
Parameters
GetClosestPointTo(Feature,GeographyUnit)
Return Value
Parameters
GetCenterPoint()
Return Value
Parameters
Buffer(Double,GeographyUnit,DistanceUnit)
Return Value
Parameters
distance
Type:Double
Description:N/A
Buffer(Double,Int32,GeographyUnit,DistanceUnit)
Return Value
Parameters
distance
Type:Double
Description:N/A
quadrantSegments
Type:Int32
Description:N/A
Buffer(Double,Int32,BufferCapType,GeographyUnit,DistanceUnit)
Return Value
Parameters
distance
Type:Double
Description:N/A
quadrantSegments
Type:Int32
Description:N/A
GetDistanceTo(BaseShape,GeographyUnit,DistanceUnit)
Return Value
Type:Double
Description:N/A
Parameters
GetDistanceTo(Feature,GeographyUnit,DistanceUnit)
Return Value
Type:Double
Description:N/A
Parameters
Register(PointShape,PointShape,DistanceUnit,GeographyUnit)
Return Value
Parameters
Register(Feature,Feature,DistanceUnit,GeographyUnit)
Return Value
Parameters
Validate(ShapeValidationMode)
Return Value
Parameters
IsDisjointed(BaseShape)
Return Value
Type:Boolean
Description:N/A
Parameters
IsDisjointed(Feature)
Return Value
Type:Boolean
Description:N/A
Parameters
Intersects(BaseShape)
Return Value
Type:Boolean
Description:N/A
Parameters
Intersects(Feature)
Return Value
Type:Boolean
Description:N/A
Parameters
Touches(BaseShape)
Return Value
Type:Boolean
Description:N/A
Parameters
Touches(Feature)
Return Value
Type:Boolean
Description:N/A
Parameters
Crosses(BaseShape)
Return Value
Type:Boolean
Description:N/A
Parameters
Crosses(Feature)
Return Value
Type:Boolean
Description:N/A
Parameters
IsWithin(BaseShape)
Return Value
Type:Boolean
Description:N/A
Parameters
IsWithin(Feature)
Return Value
Type:Boolean
Description:N/A
Parameters
Contains(BaseShape)
Return Value
Type:Boolean
Description:N/A
Parameters
Contains(Feature)
Return Value
Type:Boolean
Description:N/A
Parameters
Overlaps(BaseShape)
Return Value
Type:Boolean
Description:N/A
Parameters
Overlaps(Feature)
Return Value
Type:Boolean
Description:N/A
Parameters
IsTopologicallyEqual(BaseShape)
Return Value
Type:Boolean
Description:N/A
Parameters
IsTopologicallyEqual(Feature)
Return Value
Type:Boolean
Description:N/A
Parameters
GetFeature()
Return Value
Parameters
GetFeature(IDictionary<String,String>)
Return Value
Parameters
GetCrossing(BaseShape)
Return Value
Parameters
ScaleTo(Double)
Return Value
Type:Void
Description:N/A
Parameters
scale
Type:Double
Description:N/A
ToString()
Return Value
Type:String
Description:N/A
Parameters
Equals(Object)
Return Value
Type:Boolean
Description:N/A
Parameters
obj
Type:Object
Description:N/A
GetHashCode()
Return Value
Type:Int32
Description:N/A
Parameters
GetType()
Return Value
Type:Type
Description:N/A
Parameters

RemoveVertex(Vertex,RingShape)
Return Value
Parameters
Protected Methods
GetWellKnownTypeCore()
Return Value
Parameters
CloneDeepCore()
Return Value
Parameters
GetPerimeterCore(GeographyUnit,DistanceUnit)
Return Value
Parameters
GetAreaCore(GeographyUnit,AreaUnit)
Return Value
Parameters
ScaleUpCore(Double)
Return Value
Type:Void
Description:N/A
Parameters
ScaleDownCore(Double)
Return Value
Parameters
GetBoundingBoxCore()
The GetBoundingBox method calculates the smallest RectangleShape that can encompass the entire geometry by examining each point in the geometry. Depending on the number of PointShapes and complexity of the geometry, this operation can take longer for larger objects. If the shape is a PointShape, then the bounding box's upper left and lower right points will be equal. This will create a RectangleShape with no area.
Return Value
Parameters
RegisterCore(PointShape,PointShape,DistanceUnit,GeographyUnit)
Registering allows you to take a geometric shape generated in a planar system and attach it to the ground in a Geographic Unit.A common scenario is integrating geometric shapes from external programs (such as CAD software or a modeling system) and placing them onto a map. You may have the schematics of a building in a CAD system and the relationship between all the points of the building are in feet. You want to then take the CAD image and attach it to where it really exists on a map. You would use the register method to do this.Registering is also useful for scientific modeling, where software models things such as a plume of hazardous materials or the fallout from a volcano. The modeling software typically generates these models in a fictitious planar system. You would then use the register to take the abstract model and attach it to a map with real coordinates.
Return Value
Parameters
TranslateByOffsetCore(Double,Double,GeographyUnit,DistanceUnit)
This method moves the base shape from one location to another, based on an X and Y offset distance. With this overload, it is important to note that the X and Y offset units are based on the distanceUnit parameter. For example, if your shape is in decimal degrees and you call this method with an X offset of 1 and a Y offset of 1, you're going to move this shape 1 unit of the distanceUnit in the horizontal direction and one unit of the distanceUnit in the vertical direction. In this way, you can easily move a shape in decimal degrees five miles to on the X axis and 3 miles on the Y axis.
Return Value
Type:Void
Description:N/A
Parameters
distanceUnit
-
Description:This is the DistanceUnit you would like to use as the measure for the move. For example, if you select miles as your distanceUnit, then the xOffsetDistance and yOffsetDistance will be calculated in miles.
TranslateByDegreeCore(Double,Double,GeographyUnit,DistanceUnit)
This method moves the base shape from one location to another, based on an angleInDegrees and distance parameter. With this overload, it is important to note that the distance units are the same GeographicUnit as the shape. For example, if your shape is in decimal degrees and you call this method with a distance of 1, you're going to move this shape 1 decimal degree in direction of the angleInDegrees. In many cases it is more useful to specify the DistanceUnit of movement, such as in miles or yards, so for these scenarios there is another overload you may want to use instead.If you pass a distance of 0, then the operation is ignored.
Return Value
Type:Void
Description:N/A
Parameters
distanceUnit
-
Description:This is the DistanceUnit you would like to use as the measure for the move. For example, if you select miles as your distanceUnit, then the xOffsetDistance and yOffsetDistance will be calculated in miles.
RotateCore(PointShape,Single)
This method rotates the shape a number of degrees based on a pivot point. By placing the pivot point in the center of the shape, you can achieve in-place rotation. By moving the pivot point outside of the center of the shape, you can translate the shape in a circular motion. Moving the pivot point further outside of the center will make the circular area larger.
Return Value
Type:Void
Description:N/A
Parameters
GetDistanceToCore(BaseShape,GeographyUnit,DistanceUnit)
Return Value
Parameters
GetClosestPointToCore(BaseShape,GeographyUnit)
This method returns the point of the current shape that is closest to the target shape. It is often the case that the point returned is not a point of the object itself. An example would be a line with two points that are far apart from each other. If you set the targetShape to be a point midway between the points but a short distance away from the line, the method would return a point that is on the line but not either of the two points that make up the line.
Return Value
Parameters
GetWellKnownTextCore(RingOrder)
This method returns a string that represents the shape in well-known text. Well-known text allows you to describe a geometry as a string of text. Well-known text is useful when you want to save a geometry in a format such as a text file, or when you simply want to cut and paste the text between other applications. An alternative to well-known text is well-known binary, which is a binary representation of a geometry object. We have methods that work with well-known binary as well. Below are some samples of what well-known text might look like for various kinds of geometric shapes.POINT(5 17)LINESTRING(4 5,10 50,25 80)POLYGON1)MULTIPOINT(3.7 9.7,4.9 11.6)MULTILINESTRING2)MULTIPOLYGON3),4))
Return Value
Parameters
GetWellKnownBinaryCore(RingOrder,WkbByteOrder)
This method returns a byte array that represents the shape in well-known binary. Well-known binary allows you to describe a geometry as a binary array. Well-known binary is useful when you want to save a geometry in an efficient format using as little space as possible. An alternative to well-known binary is well-known text, which is a textual representation of a geometry object. We have methods that work with well-known text as well.
Return Value
Parameters
LoadFromWellKnownDataCore(String)
Return Value
Type:Void
Description:None
Parameters
LoadFromWellKnownDataCore(Byte[])
Return Value
Type:Void
Description:None
Parameters
ValidateCore(ShapeValidationMode)
We use this method, with the simple enumeration, internally before doing any kind of other methods on the shape. In this way, we are able to verify the integrity of the shape itself. If you wish to test things such as whether a polygon self-intersects, we invite you to call this method with the advanced ShapeValidationMode. One thing to consider is that for complex polygon shapes this operation could take some time, which is why we only run the basic, faster test. If you are dealing with polygon shapes that are suspect, we suggest you run the advanced test.
Return Value
Parameters
ReversePointsCore()
Return Value
Type:Void
Description:N/A
Parameters
GetAccurateAreaCore(String,AreaUnit,DistanceCalculationMode)
Return Value
Type:Double
Description:N/A
Parameters
GetAccuratePerimeterCore(String,DistanceUnit,DistanceCalculationMode)
Return Value
Type:Double
Description:N/A
Parameters
GetConvexHullCore()
Return Value
Parameters
GetIntersectionCore(AreaBaseShape)
Return Value
Parameters
UnionCore(AreaBaseShape)
Return Value
Parameters
GetDifferenceCore(AreaBaseShape)
Return Value
Parameters
GetSymmetricalDifferenceCore(AreaBaseShape)
Return Value
Parameters
SimplifyCore(Double,SimplificationType)
Return Value
Parameters
tolerance
Type:Double
Description:N/A
GetGeoJsonCore()
Return Value
Type:String
Description:N/A
Parameters
GetShortestLineToCore(BaseShape,GeographyUnit)
Return Value
Parameters
GetCenterPointCore()
Return Value
Parameters
BufferCore(Double,Int32,BufferCapType,GeographyUnit,DistanceUnit)
Return Value
Parameters
distance
Type:Double
Description:N/A
quadrantSegments
Type:Int32
Description:N/A
IsDisjointedCore(BaseShape)
Return Value
Type:Boolean
Description:N/A
Parameters
IntersectsCore(BaseShape)
Return Value
Type:Boolean
Description:N/A
Parameters
TouchesCore(BaseShape)
Return Value
Type:Boolean
Description:N/A
Parameters
CrossesCore(BaseShape)
Return Value
Type:Boolean
Description:N/A
Parameters
IsWithinCore(BaseShape)
Return Value
Type:Boolean
Description:N/A
Parameters
ContainsCore(BaseShape)
Return Value
Type:Boolean
Description:N/A
Parameters
OverlapsCore(BaseShape)
Return Value
Type:Boolean
Description:N/A
Parameters
IsTopologicallyEqualCore(BaseShape)
Return Value
Type:Boolean
Description:N/A
Parameters
GetCrossingCore(BaseShape)
Return Value
Parameters
ScaleToCore(Double)
Return Value
Type:Void
Description:N/A
Parameters
scale
Type:Double
Description:N/A
Finalize()
Return Value
Type:Void
Description:N/A
Parameters
MemberwiseClone()
Return Value
Type:Object
Description:N/A
Parameters

ScaleOneRing(RingShape,Double,Double,Double)
Return Value
Type:Void
Description:N/A
Parameters
multiplicator
Type:Double
Description:N/A
centerX
Type:Double
Description:N/A
centerY
Type:Double
Description:N/A
Public Properties
Vertices
Return Value
Id
Return Value
Tag
Return Value
CanRotate
Return Value
Protected Properties
Public Events