ThinkGeo.MapSuite.Shapes.EllipseShape
Inheritance Hierarchy
Members Summary
Public Constructors
EllipseShape()
Parameters
EllipseShape(PointShape,Double)
Parameters
EllipseShape(Feature,Double)
Parameters
EllipseShape(PointShape,Double,Double)
Parameters
EllipseShape(Feature,Double,Double)
Parameters
EllipseShape(String)
Parameters
EllipseShape(Byte[])
Parameters
EllipseShape(PointShape,Double,GeographyUnit,DistanceUnit)
Parameters
EllipseShape(Feature,Double,GeographyUnit,DistanceUnit)
Parameters
EllipseShape(PointShape,Double,Double,GeographyUnit,DistanceUnit)
Parameters
EllipseShape(Feature,Double,Double,GeographyUnit,DistanceUnit)
Parameters
Protected Constructors
Public Methods
SetWidthByUnit(Double,GeographyUnit,DistanceUnit)
Return Value
Type:Void
Description:N/A
Parameters
GetWidthByUnit(GeographyUnit,DistanceUnit)
Return Value
Parameters
SetHeightByUnit(Double,GeographyUnit,DistanceUnit)
Return Value
Type:Void
Description:N/A
Parameters
GetHeightByUnit(GeographyUnit,DistanceUnit)
Return Value
Parameters
ToPolygon()
Return Value
Parameters
ToPolygon(Int32)
Return Value
Parameters
GetTangents(EllipseShape)
Return Value
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
Protected Methods
CloneDeepCore()
Return Value
Parameters
GetWellKnownTypeCore()
Return Value
Parameters
GetPerimeterCore(GeographyUnit,DistanceUnit)
Return Value
Parameters
GetAreaCore(GeographyUnit,AreaUnit)
Return Value
Parameters
ScaleUpCore(Double)
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, as you are applying the operation multiple times. There is also a ScaleDown method that will shrink the shape.Overriding:Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
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 a significant amount of time (the larger the objects, the more time the operation will take). 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.Overriding:Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
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.Overriding:Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
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. It is important to note that with this overload 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 one and a Y offset of one, you're going to move this shape one 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.Overriding:Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Value
Type:Void
Description:N/A
Parameters
distanceUnit
-
Description:This is the DistanceUnit you would like to use as the measurement 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 angleInDegrees and distance parameter. It is important to note that with this overload the distance units are based on the distanceUnit parameter. For example, if your shape is in decimal degrees and you call this method with a distanceUnit in miles, you're going to move this shape a number of miles based on the distance and the angleInDegrees. In this way, you can easily move a shape in decimal degrees five miles to the north.If you pass a distance of 0, then the operation is ignored.Overriding:Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Value
Type:Void
Description:N/A
Parameters
RotateCore(PointShape,Single)
This method rotates the shape by a number of degrees based on a pivot point. By placing the pivot point in the center of the shape, you can acheive 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 away from the center will make the circular area larger.Overriding:Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Value
Type:Void
Description:N/A
Parameters
GetClosestPointToCore(BaseShape,GeographyUnit)
This method returns 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, the method would return a point that is on the line, but not one of the two points that make up the line.Overriding:Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Value
Parameters
GetDistanceToCore(BaseShape,GeographyUnit,DistanceUnit)
Return Value
Parameters
GetWellKnownTextCore(Int32)
This method returns a string that represents the shape in well-known text. Well-known text allows you to describe geometries 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 also have methods that work with well-known binary. Below are some samples of what well-known text might look like for various kinds of geometries.POINT(5 17)LINESTRING(4 5,10 50,25 80)POLYGON1)MULTIPOINT(3.7 9.7,4.9 11.6)MULTILINESTRING2)MULTIPOLYGON3),4))Overriding:Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
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 geometries 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 also have methods that work with well-known binary. Below are some samples of what well-known text might look like for various kinds of geometries.POINT(5 17)LINESTRING(4 5,10 50,25 80)POLYGON5)MULTIPOINT(3.7 9.7,4.9 11.6)MULTILINESTRING6)MULTIPOLYGON7),8))Overriding:Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Value
Parameters
GetWellKnownTextCore(RingOrder,Int32)
Return Value
Type:String
Description:N/A
Parameters
vertexCountInQuarter
Type:Int32
Description:N/A
GetWellKnownBinaryCore(WkbByteOrder,Int32)
This method returns a byte array that represents the shape in well known binary. Well-known binary allows you to describe geometries 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 also have methods that work with well-known text.Overriding:Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
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 geometries 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 also have methods that work with well-known text.Overriding:Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Value
Parameters
GetWellKnownBinaryCore(RingOrder,WkbByteOrder,Int32)
Return Value
Type:Byte[]
Description:N/A
Parameters
vertexCountInQuarter
Type:Int32
Description:N/A
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.Overriding:Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Value
Parameters
ContainsCore(BaseShape)
Return Value
Parameters
IntersectsCore(BaseShape)
Return Value
Parameters
GetCrossingCore(BaseShape)
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
Parameters
GeShortestPointFromOutsidePoint(PointShape)
Return Value
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
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
OverlapsCore(BaseShape)
Return Value
Type:Boolean
Description:N/A
Parameters
IsTopologicallyEqualCore(BaseShape)
Return Value
Type:Boolean
Description:N/A
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
Public Properties
Width
Return Value
Height
Return Value
Center
Return Value
CanRotate
Return Value
Id
Return Value
Tag
Return Value
Protected Properties
Public Events