User Tools

Site Tools


thinkgeo.mapsuite.core.ellipseshape

This is an old revision of the document!


Table of Contents

ThinkGeo.MapSuite.Core.EllipseShape

This class represents an ellipse that is defined with a center point, a height and a width.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.Core.BaseShape
      • ThinkGeo.MapSuite.Core.AreaBaseShape
        • ThinkGeo.MapSuite.Core.EllipseShape

Members Summary

Public Constructors

EllipseShape

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:This constructor creates the EllipseShape.

EllipseShape

  • Parameters:PointShape,Double
  • DeclaringType:N/A
  • Summary:This constructor creates the EllipseShape.

EllipseShape

  • Parameters:Feature,Double
  • DeclaringType:N/A
  • Summary:This constructor creates the EllipseShape.

EllipseShape

  • Parameters:PointShape,Double,Double
  • DeclaringType:N/A
  • Summary:This constructor creates the EllipseShape.

EllipseShape

  • Parameters:Feature,Double,Double
  • DeclaringType:N/A
  • Summary:This constructor creates the EllipseShape.

EllipseShape

  • Parameters:String
  • DeclaringType:N/A
  • Summary:This constructor creates the EllipseShape.

EllipseShape

  • Parameters:Byte[]
  • DeclaringType:N/A
  • Summary:This constructor creates the EllipseShape.

EllipseShape

EllipseShape

EllipseShape

EllipseShape

Protected Constructors

Public Methods

Buffer

Buffer

Buffer

CloneDeep

  • Parameters:N/A
  • DeclaringType:BaseShape
  • Summary:N/A

Contains

Contains

Crosses

Crosses

Equals

  • Parameters:Object
  • DeclaringType:Object
  • Summary:N/A

GetAccurateArea

GetAccurateArea

GetAccuratePerimeter

GetAccuratePerimeter

GetArea

GetBoundingBox

  • Parameters:N/A
  • DeclaringType:BaseShape
  • Summary:N/A

GetCenterPoint

  • Parameters:N/A
  • DeclaringType:BaseShape
  • Summary:N/A

GetClosestPointTo

GetClosestPointTo

GetConvexHull

GetCrossing

GetDifference

GetDifference

GetDistanceTo

GetDistanceTo

GetFeature

  • Parameters:N/A
  • DeclaringType:BaseShape
  • Summary:N/A

GetFeature

  • Parameters:IDictionary<String,String>
  • DeclaringType:BaseShape
  • Summary:N/A

GetGeoJson

  • Parameters:N/A
  • DeclaringType:BaseShape
  • Summary:N/A

GetHashCode

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

GetHeightByUnit

  • DeclaringType:N/A
  • Summary:This method returns the height of the EllipseShape in the unit specified in the returningUnit parameter.

GetIntersection

GetIntersection

GetPerimeter

GetShortestLineTo

GetShortestLineTo

GetSymmetricalDifference

GetSymmetricalDifference

GetTangents

  • Parameters:EllipseShape
  • DeclaringType:N/A
  • Summary:This method returns the tangent points of the current ellipse in relation to the target ellipse you specify.

GetType

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

GetWellKnownBinary

GetWellKnownBinary

GetWellKnownBinary

GetWellKnownBinary

  • Parameters:N/A
  • DeclaringType:BaseShape
  • Summary:N/A

GetWellKnownText

GetWellKnownText

  • Parameters:N/A
  • DeclaringType:BaseShape
  • Summary:N/A

GetWellKnownType

  • Parameters:N/A
  • DeclaringType:BaseShape
  • Summary:N/A

GetWidthByUnit

  • DeclaringType:N/A
  • Summary:This method returns the width of the EllipseShape in the unit specified in the returningUnit parameter.

Intersects

Intersects

IsDisjointed

IsDisjointed

IsTopologicallyEqual

IsTopologicallyEqual

IsWithin

IsWithin

LoadFromWellKnownData

  • Parameters:String
  • DeclaringType:BaseShape
  • Summary:N/A

LoadFromWellKnownData

  • Parameters:Byte[]
  • DeclaringType:BaseShape
  • Summary:N/A

Overlaps

Overlaps

Register

Register

Rotate

ScaleDown

ScaleTo

  • Parameters:Double
  • DeclaringType:BaseShape
  • Summary:N/A

ScaleUp

SetHeightByUnit

  • Parameters:Double,GeographyUnit,DistanceUnit
  • DeclaringType:N/A
  • Summary:This method allows you to set the height of the EllipseShape in the unit specified in the unitOfWidth.

SetWidthByUnit

  • Parameters:Double,GeographyUnit,DistanceUnit
  • DeclaringType:N/A
  • Summary:This method allows you to set the width of the EllipseShape in the unit specified in the unitOfWidth parameter.

Simplify

Simplify

ToPolygon

  • Parameters:Int32
  • DeclaringType:N/A
  • Summary:This method returns the current shape as a PolygonShape.

ToPolygon

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:This method returns the current shape as a PolygonShape.

ToString

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

Touches

Touches

TranslateByDegree

  • Parameters:Double,Double
  • DeclaringType:BaseShape
  • Summary:N/A

TranslateByDegree

TranslateByOffset

TranslateByOffset

  • Parameters:Double,Double
  • DeclaringType:BaseShape
  • Summary:N/A

Union

Union

Validate

Protected Methods

BufferCore

CloneDeepCore

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:This method returns a complete copy of the shape without any references in common.

ContainsCore

  • Parameters:BaseShape
  • DeclaringType:N/A
  • Summary:This method returns whether the targetShape lies within the interior of the current shape.

CrossesCore

Finalize

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

GetAccurateAreaCore

GetAccuratePerimeterCore

GetAreaCore

  • DeclaringType:N/A
  • Summary:This method returns the area of the shape, which is defined as the size of the region enclosed by the figure.

GetBoundingBoxCore

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:This method calculates the smallest RectangleShape that encompasses the entire geometry.

GetCenterPointCore

  • Parameters:N/A
  • DeclaringType:BaseShape
  • Summary:N/A

GetClosestPointToCore

  • DeclaringType:N/A
  • Summary:This method returns the point of the current shape that is closest to the target shape.

GetConvexHullCore

GetCrossingCore

  • Parameters:BaseShape
  • DeclaringType:N/A
  • Summary:This method returns the crossing points of the current shape and the passed-in target shape.

GetDifferenceCore

GetDistanceToCore

GetGeoJsonCore

  • Parameters:N/A
  • DeclaringType:BaseShape
  • Summary:N/A

GetIntersectionCore

GetPerimeterCore

  • DeclaringType:N/A
  • Summary:This method returns the perimeter of the shape, which is defined as the sum of the lengths of all its sides.

GetShortestLineToCore

GetSymmetricalDifferenceCore

GetWellKnownBinaryCore

  • Parameters:WkbByteOrder,Int32
  • DeclaringType:N/A
  • Summary:This method returns a byte array that represents the shape in well-known binary.

GetWellKnownBinaryCore

  • DeclaringType:N/A
  • Summary:This method returns a byte array that represents the shape in well-known binary.

GetWellKnownBinaryCore

GetWellKnownTextCore

  • Parameters:RingOrder,Int32
  • DeclaringType:N/A
  • Summary:N/A

GetWellKnownTextCore

  • Parameters:RingOrder
  • DeclaringType:N/A
  • Summary:This method returns the well-known text representation of this shape.

GetWellKnownTextCore

  • Parameters:Int32
  • DeclaringType:N/A
  • Summary:This method returns the well-known text representation of this shape.

GetWellKnownTypeCore

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:This method returns the well-known type for the shape.

IntersectsCore

  • Parameters:BaseShape
  • DeclaringType:N/A
  • Summary:This method returns whether the current shape and the targetShape have at least one point in common.

IsDisjointedCore

IsTopologicallyEqualCore

IsWithinCore

LoadFromWellKnownDataCore

  • Parameters:Byte[]
  • DeclaringType:N/A
  • Summary:This method hydrates the current shape with its data from well-known binary.

LoadFromWellKnownDataCore

  • Parameters:String
  • DeclaringType:N/A
  • Summary:This method hydrates the current shape with its data from well-known text.

MemberwiseClone

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

OverlapsCore

REM=

  • Parameters:PointShape
  • DeclaringType:N/A
  • Summary:N/A

RegisterCore

  • DeclaringType:N/A
  • Summary:This method returns a BaseShape which has been registered from its original coordinate system to another based on two anchor PointShapes.

RotateCore

  • Parameters:PointShape,Single
  • DeclaringType:N/A
  • Summary:This method rotates the shape a number of degrees based on a pivot point.

ScaleDownCore

  • Parameters:Double
  • DeclaringType:N/A
  • Summary:This method decreases the size of the area shape by the percentage given in the percentage parameter.

ScaleToCore

  • Parameters:Double
  • DeclaringType:BaseShape
  • Summary:N/A

ScaleUpCore

  • Parameters:Double
  • DeclaringType:N/A
  • Summary:This method increases the size of the area shape by the percentage given in the percentage parameter.

SimplifyCore

TouchesCore

TranslateByDegreeCore

  • Parameters:Double,Double,GeographyUnit,DistanceUnit
  • DeclaringType:N/A
  • Summary:This method moves the base shape from one location to another based on a direction in degrees and distance.

TranslateByOffsetCore

  • Parameters:Double,Double,GeographyUnit,DistanceUnit
  • DeclaringType:N/A
  • Summary:This method moves the base shape from one location to another based on an X and Y offset distance.

UnionCore

ValidateCore

  • DeclaringType:N/A
  • Summary:This method returns a ShapeValidationResult based on a series of tests.

Public Properties

CanRotate

  • Return:Boolean
  • Summary:This property specifies whether the shape can be rotated.

Center

  • Return:PointShape
  • Summary:This property allows you to get or set the center PointShape of the EllipseShape.

Height

  • Return:Double
  • Summary:This property returns the height of the EllipseShape in the unit of the shape.

Id

  • Return:String
  • Summary:N/A

Tag

  • Return:Object
  • Summary:N/A

Width

  • Return:Double
  • Summary:This property returns the width of the EllipseShape in the unit of the shape.

Protected Properties

Public Events

Public Constructors

EllipseShape()

This constructor creates the EllipseShape.

Remarks

None

Parameters

EllipseShape(PointShape,Double)

This constructor creates the EllipseShape.

Remarks

Using this overload will create a circle.

Parameters

center

  • Description:This parameter is the center PointShape for the EllipseShape. radius * Type:Double * Description:This parameter allows you to set the radius of the EllipseShape.

Go Back

EllipseShape(Feature,Double)

This constructor creates the EllipseShape.

Remarks

Using this overload will create a circle.

Parameters

centerPointFeature

  • Type:Feature
  • Description:This parameter is the center PointFeature for the EllipseShape. radius * Type:Double * Description:This parameter allows you to set the radius of the EllipseShape.

Go Back

EllipseShape(PointShape,Double,Double)

This constructor creates the EllipseShape.

Remarks

None

Parameters

center

  • Description:This parameter is the center PointShape for the EllipseShape. horizontalRadius * Type:Double * Description:This parameter allows you to set the horizontal radius of the EllipseShape in the unit of the shape.

verticalRadius

  • Type:Double
  • Description:This parameter allows you to set the vertical radius of the EllipseShape in the unit of the shape. Go Back === EllipseShape(Feature,Double,Double) === This constructor creates the EllipseShape. ==== Remarks ==== None ==== Parameters ==== centerPointFeature * Type:Feature * Description:This parameter is the center PointFeature for the EllipseShape.

horizontalRadius

  • Type:Double
  • Description:This parameter allows you to set the horizontal radius of the EllipseShape in the unit of the shape. verticalRadius * Type:Double * Description:This parameter allows you to set the vertical radius of the EllipseShape in the unit of the shape.

Go Back

EllipseShape(String)

This constructor creates the EllipseShape.

Remarks

None

Parameters

wellKnownText

  • Type:String
  • Description:This parameter is the well-known text used to create the shape. Go Back === EllipseShape(Byte[]) === This constructor creates the EllipseShape. ==== Remarks ==== None ==== Parameters ==== wellKnownBinary * Type:Byte[] * Description:This parameter is the well-known binary used to create the shape.

Go Back

EllipseShape(PointShape,Double,GeographyUnit,DistanceUnit)

This constructor creates the EllipseShape.

Remarks

This overload will create a circle.

Parameters

center

  • Description:This parameter is the center PointShape for the EllipseShape. radius * Type:Double * Description:This parameter allows you to set the radius of the EllipseShape in the unit specified by the unitOfRadius parameter.

shapeUnit

  • Description:This is the GeographyUnit of the shape you are performing the operation on. unitOfRadius * Type:DistanceUnit * Description:This is the DistanceUnit you would like to use for the radius value. For example, if you select miles as your unitOfRadius, then it will use miles.

Go Back

EllipseShape(Feature,Double,GeographyUnit,DistanceUnit)

This constructor creates the EllipseShape.

Remarks

This overload will create a circle.

Parameters

centerPointFeature

  • Type:Feature
  • Description:This parameter is the center Point Feature for the EllipseShape. radius * Type:Double * Description:This parameter allows you to set the radius of the EllipseShape in the unit specified by the unitOfRadius parameter.

shapeUnit

  • Description:This is the GeographyUnit of the shape you are performing the operation on. unitOfRadius * Type:DistanceUnit * Description:This is the DistanceUnit you would like to use for the radius value. For example, if you select miles as your unitOfRadius, then it will use miles.

Go Back

EllipseShape(PointShape,Double,Double,GeographyUnit,DistanceUnit)

This constructor creates the EllipseShape.

Remarks

None

Parameters

center

  • Description:This parameter is the center PointShape for the EllipseShape. horizontalRadius * Type:Double * Description:This parameter allows you to set the horizontal radius of the EllipseShape in the unit specified by the unitOfRadius parameter.

verticalRadius

  • Type:Double
  • Description:This parameter allows you to set the vertical radius of the EllipseShape in the unit specified by the unitOfRadius parameter. shapeUnit * Type:GeographyUnit * Description:This is the GeographyUnit of the shape you are performing the operation on.

unitOfRadius

  • Description:This is the DistanceUnit you would like to use for the radius value. For example, if you select miles as your unitOfRadius, then it will use miles. Go Back === EllipseShape(Feature,Double,Double,GeographyUnit,DistanceUnit) === This constructor creates the EllipseShape. ==== Remarks ==== None ==== Parameters ==== centerPointFeature * Type:Feature * Description:This parameter is the center Point Feature for the EllipseShape.

horizontalRadius

  • Type:Double
  • Description:This parameter allows you to set the horizontal radius of the EllipseShape in the unit specified by the unitOfRadius parameter. verticalRadius * Type:Double * Description:This parameter allows you to set the vertical radius of the EllipseShape in the unit specified by the unitOfRadius parameter.

shapeUnit

  • Description:This is the GeographyUnit of the shape you are performing the operation on. unitOfRadius * Type:DistanceUnit * Description:This is the DistanceUnit you would like to use for the radius value. For example, if you select miles as your unitOfRadius, then it will use miles.

Go Back

Protected Constructors

Public Methods

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

N/A

Remarks

N/A

Return Value

Parameters

distance

  • Type:Double
  • Description:N/A

quadrantSegments

  • Type:Int32
  • Description:N/A

bufferCapType

shapeUnit

distanceUnit

Go Back

Buffer(Double,GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value

Parameters

distance

  • Type:Double
  • Description:N/A

shapeUnit

distanceUnit

Go Back

Buffer(Double,Int32,GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value

Parameters

distance

  • Type:Double
  • Description:N/A

quadrantSegments

  • Type:Int32
  • Description:N/A

shapeUnit

distanceUnit

Go Back

CloneDeep()

N/A

Remarks

N/A

Return Value

Parameters

Contains(Feature)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetFeature

Go Back

Contains(BaseShape)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetShape

Go Back

Crosses(Feature)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetFeature

Go Back

Crosses(BaseShape)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetShape

Go Back

Equals(Object)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

obj

  • Type:Object
  • Description:N/A

Go Back

GetAccurateArea(Int32,AreaUnit,DistanceCalculationMode)

N/A

Remarks

N/A

Return Value

  • Return Type:Double
  • Description:N/A

Parameters

shapeSrid

  • Type:Int32
  • Description:N/A

returningUnit

distanceCalculationMode

Go Back

GetAccurateArea(String,AreaUnit,DistanceCalculationMode)

N/A

Remarks

N/A

Return Value

  • Return Type:Double
  • Description:N/A

Parameters

shapeProj4ProjectionParameters

  • Type:String
  • Description:N/A

returningUnit

distanceCalculationMode

Go Back

GetAccuratePerimeter(Int32,DistanceUnit,DistanceCalculationMode)

N/A

Remarks

N/A

Return Value

  • Return Type:Double
  • Description:N/A

Parameters

shapeSrid

  • Type:Int32
  • Description:N/A

returningUnit

distanceCalculationMode

Go Back

GetAccuratePerimeter(String,DistanceUnit,DistanceCalculationMode)

N/A

Remarks

N/A

Return Value

  • Return Type:Double
  • Description:N/A

Parameters

shapeProj4ProjectionParameters

  • Type:String
  • Description:N/A

returningUnit

distanceCalculationMode

Go Back

GetArea(GeographyUnit,AreaUnit)

N/A

Remarks

N/A

Return Value

  • Return Type:Double
  • Description:N/A

Parameters

shapeUnit

returningUnit

Go Back

GetBoundingBox()

N/A

Remarks

N/A

Return Value

Parameters

GetCenterPoint()

N/A

Remarks

N/A

Return Value

Parameters

GetClosestPointTo(Feature,GeographyUnit)

N/A

Remarks

N/A

Return Value

Parameters

targetFeature

shapeUnit

Go Back

GetClosestPointTo(BaseShape,GeographyUnit)

N/A

Remarks

N/A

Return Value

Parameters

targetShape

shapeUnit

Go Back

GetConvexHull()

N/A

Remarks

N/A

Return Value

Parameters

GetCrossing(BaseShape)

N/A

Remarks

N/A

Return Value

Parameters

targetShape

Go Back

GetDifference(AreaBaseShape)

N/A

Remarks

N/A

Return Value

Parameters

targetShape

Go Back

GetDifference(Feature)

N/A

Remarks

N/A

Return Value

Parameters

targetFeature

Go Back

GetDistanceTo(Feature,GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value

  • Return Type:Double
  • Description:N/A

Parameters

targetFeature

shapeUnit

distanceUnit

Go Back

GetDistanceTo(BaseShape,GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value

  • Return Type:Double
  • Description:N/A

Parameters

targetShape

shapeUnit

distanceUnit

Go Back

GetFeature()

N/A

Remarks

N/A

Return Value

  • Return Type:Feature
  • Description:N/A

Parameters

GetFeature(IDictionary<String,String>)

N/A

Remarks

N/A

Return Value

  • Return Type:Feature
  • Description:N/A

Parameters

columnValues

  • Type:IDictionary<String,String>
  • Description:N/A

Go Back

GetGeoJson()

N/A

Remarks

N/A

Return Value

  • Return Type:String
  • Description:N/A

Parameters

GetHashCode()

N/A

Remarks

N/A

Return Value

  • Return Type:Int32
  • Description:N/A

Parameters

GetHeightByUnit(GeographyUnit,DistanceUnit)

This method returns the height of the EllipseShape in the unit specified in the returningUnit parameter.

Remarks

None

Return Value

  • Return Type:Double
  • Description:This method returns the height of the EllipseShape in the unit specified in the returningUnit parameter.

Parameters

shapeUnit

  • Description:This parameter is the unit of the current shape.

returningUnit

  • Description:This is the unit you would like to use for the return value. For example, if you select miles as your returningUnit, then the distance will be returned in miles.

Go Back

GetIntersection(AreaBaseShape)

N/A

Remarks

N/A

Return Value

Parameters

targetShape

Go Back

GetIntersection(Feature)

N/A

Remarks

N/A

Return Value

Parameters

targetFeature

Go Back

GetPerimeter(GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value

  • Return Type:Double
  • Description:N/A

Parameters

shapeUnit

returningUnit

Go Back

GetShortestLineTo(Feature,GeographyUnit)

N/A

Remarks

N/A

Return Value

Parameters

targetFeature

shapeUnit

Go Back

GetShortestLineTo(BaseShape,GeographyUnit)

N/A

Remarks

N/A

Return Value

Parameters

targetShape

shapeUnit

Go Back

GetSymmetricalDifference(Feature)

N/A

Remarks

N/A

Return Value

Parameters

targetFeature

Go Back

GetSymmetricalDifference(AreaBaseShape)

N/A

Remarks

N/A

Return Value

Parameters

targetShape

Go Back

GetTangents(EllipseShape)

This method returns the tangent points of the current ellipse in relation to the target ellipse you specify.

Remarks

This operation is useful for finding the corridor between two ellipses. It would be handy in a buffering type of scenario.

Return Value

  • Return Type:Collection<PointShape>
  • Description:This method returns the tangent points of the current ellipse in relation to the target ellipse you specify.

Parameters

targetEllipse

  • Description:This parameter represents the other ellipse you wish to find the tangent points to.

Go Back

GetType()

N/A

Remarks

N/A

Return Value

  • Return Type:Type
  • Description:N/A

Parameters

GetWellKnownBinary(WkbByteOrder)

N/A

Remarks

N/A

Return Value

  • Return Type:Byte[]
  • Description:N/A

Parameters

byteOrder

Go Back

GetWellKnownBinary(RingOrder,WkbByteOrder)

N/A

Remarks

N/A

Return Value

  • Return Type:Byte[]
  • Description:N/A

Parameters

outerRingOrder

byteOrder

Go Back

GetWellKnownBinary(RingOrder)

N/A

Remarks

N/A

Return Value

  • Return Type:Byte[]
  • Description:N/A

Parameters

outerRingOrder

Go Back

GetWellKnownBinary()

N/A

Remarks

N/A

Return Value

  • Return Type:Byte[]
  • Description:N/A

Parameters

GetWellKnownText(RingOrder)

N/A

Remarks

N/A

Return Value

  • Return Type:String
  • Description:N/A

Parameters

outerRingOrder

Go Back

GetWellKnownText()

N/A

Remarks

N/A

Return Value

  • Return Type:String
  • Description:N/A

Parameters

GetWellKnownType()

N/A

Remarks

N/A

Return Value

Parameters

GetWidthByUnit(GeographyUnit,DistanceUnit)

This method returns the width of the EllipseShape in the unit specified in the returningUnit parameter.

Remarks

None

Return Value

  • Return Type:Double
  • Description:This method returns the width of the EllipseShape in the unit specified in the returningUnit parameter.

Parameters

shapeUnit

  • Description:This parameter is the unit of the current shape.

returningUnit

  • Description:This is the unit you would like to use for the return value. For example, if you select miles as your returningUnit, then the distance will be returned in miles.

Go Back

Intersects(Feature)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetFeature

Go Back

Intersects(BaseShape)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetShape

Go Back

IsDisjointed(Feature)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetFeature

Go Back

IsDisjointed(BaseShape)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetShape

Go Back

IsTopologicallyEqual(Feature)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetFeature

Go Back

IsTopologicallyEqual(BaseShape)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetShape

Go Back

IsWithin(Feature)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetFeature

Go Back

IsWithin(BaseShape)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetShape

Go Back

LoadFromWellKnownData(String)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

wellKnownText

  • Type:String
  • Description:N/A

Go Back

LoadFromWellKnownData(Byte[])

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

wellKnownBinary

  • Type:Byte[]
  • Description:N/A

Go Back

Overlaps(BaseShape)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetShape

Go Back

Overlaps(Feature)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetFeature

Go Back

Register(Feature,Feature,DistanceUnit,GeographyUnit)

N/A

Remarks

N/A

Return Value

Parameters

fromPoint

toPoint

fromUnit

toUnit

Go Back

Register(PointShape,PointShape,DistanceUnit,GeographyUnit)

N/A

Remarks

N/A

Return Value

Parameters

fromPoint

toPoint

fromUnit

toUnit

Go Back

Rotate(PointShape,Single)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

pivotPoint

degreeAngle

  • Type:Single
  • Description:N/A

Go Back

ScaleDown(Double)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

percentage

  • Type:Double
  • Description:N/A

Go Back

ScaleTo(Double)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

scale

  • Type:Double
  • Description:N/A

Go Back

ScaleUp(Double)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

percentage

  • Type:Double
  • Description:N/A

Go Back

SetHeightByUnit(Double,GeographyUnit,DistanceUnit)

This method allows you to set the height of the EllipseShape in the unit specified in the unitOfWidth.

Remarks

None

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

newHeight

  • Type:Double
  • Description:This parameter is the newHeight of the ellipse shape.

shapeUnit

  • Description:This parameter is the unit of the current shape.

unitOfHeight

  • Description:This is the unit you would like to use for the setting value. For example, if you select miles as your unitOfHeight, then the distance will be set in miles.

Go Back

SetWidthByUnit(Double,GeographyUnit,DistanceUnit)

This method allows you to set the width of the EllipseShape in the unit specified in the unitOfWidth parameter.

Remarks

None

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

newWidth

  • Type:Double
  • Description:This parameter is the newWidth of the ellipse shape.

shapeUnit

  • Description:This parameter is the unit of the current shape.

unitOfWidth

  • Description:This is the unit you would like to use as the setting value. For example, if you select miles as your unitOfWidth, then the distance will be set in miles.

Go Back

Simplify(Double,SimplificationType)

N/A

Remarks

N/A

Return Value

Parameters

tolerance

  • Type:Double
  • Description:N/A

simplificationType

Go Back

Simplify(GeographyUnit,Double,DistanceUnit,SimplificationType)

N/A

Remarks

N/A

Return Value

Parameters

shapeUnit

tolerance

  • Type:Double
  • Description:N/A

toleranceUnit

simplificationType

Go Back

ToPolygon(Int32)

This method returns the current shape as a PolygonShape.

Remarks

This method is mainly used to convert a GIS non-standard shape to a GIS standard shape.

Return Value

  • Return Type:PolygonShape
  • Description:This method returns the current shape as a PolygonShape.

Parameters

vertexCountInQuarter

  • Type:Int32
  • Description:This parameter specifies how many points will make up each quarter of the ellipse.

Go Back

ToPolygon()

This method returns the current shape as a PolygonShape.

Remarks

This method is mainly used to convert this non GIS standard shape to a GIS standard shape.

Return Value

  • Return Type:PolygonShape
  • Description:This method returns the current shape as a PolygonShape.

Parameters

ToString()

N/A

Remarks

N/A

Return Value

  • Return Type:String
  • Description:N/A

Parameters

Touches(BaseShape)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetShape

Go Back

Touches(Feature)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetFeature

Go Back

TranslateByDegree(Double,Double)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

distance

  • Type:Double
  • Description:N/A

angleInDegrees

  • Type:Double
  • Description:N/A

Go Back

TranslateByDegree(Double,Double,GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

distance

  • Type:Double
  • Description:N/A

angleInDegrees

  • Type:Double
  • Description:N/A

shapeUnit

distanceUnit

Go Back

TranslateByOffset(Double,Double,GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

xOffsetDistance

  • Type:Double
  • Description:N/A

yOffsetDistance

  • Type:Double
  • Description:N/A

shapeUnit

distanceUnit

Go Back

TranslateByOffset(Double,Double)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

xOffsetDistance

  • Type:Double
  • Description:N/A

yOffsetDistance

  • Type:Double
  • Description:N/A

Go Back

Union(Feature)

N/A

Remarks

N/A

Return Value

Parameters

targetFeature

Go Back

Union(AreaBaseShape)

N/A

Remarks

N/A

Return Value

Parameters

targetShape

Go Back

Validate(ShapeValidationMode)

N/A

Remarks

N/A

Return Value

Parameters

validationMode

Go Back

Protected Methods

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

N/A

Remarks

N/A

Return Value

Parameters

distance

  • Type:Double
  • Description:N/A

quadrantSegments

  • Type:Int32
  • Description:N/A

bufferCapType

shapeUnit

distanceUnit

Go Back

CloneDeepCore()

This method returns a complete copy of the shape without any references in common.

Remarks

When you override this method, you need to ensure that there are no references in common between the original and copy.

Return Value

  • Return Type:BaseShape
  • Description:This method returns a complete copy of the shape without any references in common.

Parameters

ContainsCore(BaseShape)

This method returns whether the targetShape lies within the interior of the current shape.

Remarks

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

Return Value

  • Return Type:Boolean
  • Description:This method returns whether the targetShape lies within the interior of the current shape.

Parameters

targetShape

  • Type:BaseShape
  • Description:The shape you wish to compare the current one to.

Go Back

CrossesCore(BaseShape)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetShape

Go Back

Finalize()

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

GetAccurateAreaCore(String,AreaUnit,DistanceCalculationMode)

N/A

Remarks

N/A

Return Value

  • Return Type:Double
  • Description:N/A

Parameters

shapeProj4ProjectionParameters

  • Type:String
  • Description:N/A

returningUnit

distanceCalculationMode

Go Back

GetAccuratePerimeterCore(String,DistanceUnit,DistanceCalculationMode)

N/A

Remarks

N/A

Return Value

  • Return Type:Double
  • Description:N/A

Parameters

shapeProj4ProjectionParameters

  • Type:String
  • Description:N/A

returningUnit

distanceCalculationMode

Go Back

GetAreaCore(GeographyUnit,AreaUnit)

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

Remarks

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

Return Value

  • Return Type:Double
  • Description:The return unit is based on the AreaUnit you specify in the returningUnit parameter, regardless of the shape's GeographyUnit.

Parameters

shapeUnit

  • Description:This is the GeographyUnit of the shape you are performing the operation on.

returningUnit

  • Type:AreaUnit
  • Description:This is the AreaUnit you would like to use for the return value. For example, if you select square miles as your returningUnit, then the distance will be returned in square miles.

Go Back

GetBoundingBoxCore()

This method calculates the smallest RectangleShape that encompasses the entire geometry.

Remarks

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

  • Return Type:RectangleShape
  • Description:The RectangleShape returned is the smallest RectangleShape that can encompass the entire geometry.

Parameters

GetCenterPointCore()

N/A

Remarks

N/A

Return Value

Parameters

GetClosestPointToCore(BaseShape,GeographyUnit)

This method returns the point of the current shape that is closest to the target shape.

Remarks

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

  • Return Type:PointShape
  • Description:A PointShape representing the point of the current shape that is closest to the targetShape.

Parameters

targetShape

  • Type:BaseShape
  • Description:The shape you are trying to find the closest point to.

shapeUnit

  • Description:This is the GeographicUnit of the shape you are performing the operation on.

Go Back

GetConvexHullCore()

N/A

Remarks

N/A

Return Value

Parameters

GetCrossingCore(BaseShape)

This method returns the crossing points of the current shape and the passed-in target shape.

Remarks

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

  • Return Type:MultipointShape
  • Description:This method returns the crossing points of the current shape and the passed-in target shape.

Parameters

targetShape

  • Type:BaseShape
  • Description:The target shape you wish to get crossing with.

Go Back

GetDifferenceCore(AreaBaseShape)

N/A

Remarks

N/A

Return Value

Parameters

targetShape

Go Back

GetDistanceToCore(BaseShape,GeographyUnit,DistanceUnit)

This method computes the distance between the current shape and the targetShape.

Remarks

In this method, we compute the closest distance between two shapes. The returned unit will be in the unit of distance specified in the distanceUnit parameter.Overriding:Please ensure that you validate the parameters being passed in and raise the exceptions defined above.

Return Value

  • Return Type:Double
  • Description:The return type is the distance between this shape and the targetShape in the GeographyUnit of the shape.

Parameters

targetShape

  • Type:BaseShape
  • Description:The shape you are trying to find the distance to.

shapeUnit

  • Description:This is the GeographicUnit of the shape you are performing the operation on.

distanceUnit

  • Description:This is the DistanceUnit you would like to use as the return value. For example, if you select miles as your distanceUnit, then the distance will be returned in miles.

Go Back

GetGeoJsonCore()

N/A

Remarks

N/A

Return Value

  • Return Type:String
  • Description:N/A

Parameters

GetIntersectionCore(AreaBaseShape)

N/A

Remarks

N/A

Return Value

Parameters

targetShape

Go Back

GetPerimeterCore(GeographyUnit,DistanceUnit)

This method returns the perimeter of the shape, which is 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

  • Return Type:Double
  • Description:The return unit is based on the LengthUnit you specify in the returningUnit parameter, regardless of the shape's GeographyUnit.

Parameters

shapeUnit

  • Description:This is the GeographyUnit of the shape you are performing the operation on.

returningUnit

  • Description:This is the DistanceUnit you would like to use for the return value. For example, if you select miles as your returningUnit, then the distance will be returned in miles.

Go Back

GetShortestLineToCore(BaseShape,GeographyUnit)

N/A

Remarks

N/A

Return Value

Parameters

targetShape

shapeUnit

Go Back

GetSymmetricalDifferenceCore(AreaBaseShape)

N/A

Remarks

N/A

Return Value

Parameters

targetShape

Go Back

GetWellKnownBinaryCore(WkbByteOrder,Int32)

This method returns a byte array that represents the shape in well-known binary.

Remarks

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

  • Return Type:Byte[]
  • Description:This method returns a byte array that represents the shape in well-known binary.

Parameters

byteOrder

  • Description:This parameter specifies whether the byte order is big- or little-endian.

vertexCountInQuarter

  • Type:Int32
  • Description:This parameter specifies how many points will make up each quarter of the ellipse.

Go Back

GetWellKnownBinaryCore(RingOrder,WkbByteOrder)

This method returns a byte array that represents the shape in well-known binary.

Remarks

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

  • Return Type:Byte[]
  • Description:This method returns a byte array that represents the shape in well-known binary.

Parameters

outerRingOrder

byteOrder

  • Description:This parameter specifies whether the byte order is big- or little-endian.

Go Back

GetWellKnownBinaryCore(RingOrder,WkbByteOrder,Int32)

N/A

Remarks

N/A

Return Value

  • Return Type:Byte[]
  • Description:N/A

Parameters

outerRingOrder

byteOrder

vertexCountInQuarter

  • Type:Int32
  • Description:N/A

Go Back

GetWellKnownTextCore(RingOrder,Int32)

N/A

Remarks

N/A

Return Value

  • Return Type:String
  • Description:N/A

Parameters

outerRingOrder

vertexCountInQuarter

  • Type:Int32
  • Description:N/A

Go Back

GetWellKnownTextCore(RingOrder)

This method returns the well-known text representation of this shape.

Remarks

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

  • Return Type:String
  • Description:This method returns a string that represents the shape in well-known text.

Parameters

outerRingOrder

Go Back

GetWellKnownTextCore(Int32)

This method returns the well-known text representation of this shape.

Remarks

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

  • Return Type:String
  • Description:This method returns a stringthat represents the shape in well-known text.

Parameters

vertexCountInQuarter

  • Type:Int32
  • Description:This parameter specifies how many points will make up each quarter of the ellipse.

Go Back

GetWellKnownTypeCore()

This method returns the well-known type for the shape.

Remarks

None

Return Value

  • Return Type:WellKnownType
  • Description:This method returns the well-known type for the shape.

Parameters

IntersectsCore(BaseShape)

This method returns whether the current shape and the targetShape have at least one point in common.

Remarks

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

Return Value

  • Return Type:Boolean
  • Description:This method returns whether the current shape and the targetShape have at least one point in common.

Parameters

targetShape

  • Type:BaseShape
  • Description:The shape you wish to compare the current one to.

Go Back

IsDisjointedCore(BaseShape)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetShape

Go Back

IsTopologicallyEqualCore(BaseShape)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetShape

Go Back

IsWithinCore(BaseShape)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetShape

Go Back

LoadFromWellKnownDataCore(Byte[])

This method hydrates the current shape with its data from well-known binary.

Remarks

This is used when you want to hydrate a shape based on well-known binary. You can create the shape and then load the well-known binary using this method.

Return Value

  • Return Type:Void
  • Description:None

Parameters

wellKnownBinary

  • Type:Byte[]
  • Description:This parameter is the well-known binary used to populate the shape.

Go Back

LoadFromWellKnownDataCore(String)

This method hydrates the current shape with its data from well-known text.

Remarks

None

Return Value

  • Return Type:Void
  • Description:None

Parameters

wellKnownText

  • Type:String
  • Description:This parameter is the well-known text you will use to hydrate your object.

Go Back

MemberwiseClone()

N/A

Remarks

N/A

Return Value

  • Return Type:Object
  • Description:N/A

Parameters

OverlapsCore(BaseShape)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetShape

Go Back

REM=(PointShape)

N/A

Remarks

N/A

Return Value

Parameters

pointShape

Go Back

RegisterCore(PointShape,PointShape,DistanceUnit,GeographyUnit)

This method returns a BaseShape which has been registered from its original coordinate system to another based on two anchor PointShapes.

Remarks

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

  • Return Type:BaseShape
  • Description:This method returns a BaseShape which has been registered from its original coordinate system to another based on two anchor PointShapes.

Parameters

fromPoint

  • Description:This parameter is the anchor PointShape in the coordinate of origin.

toPoint

  • Description:This parameter is the anchor PointShape in the coordinate of destination.

fromUnit

  • Description:This parameter is the DistanceUnit of the coordinate of origin.

toUnit

  • Description:This parameter is the GeographyUnit of the coordinate of destination.

Go Back

RotateCore(PointShape,Single)

This method rotates the shape a number of degrees based on a pivot point.

Remarks

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

  • Return Type:Void
  • Description:N/A

Parameters

pivotPoint

  • Description:The pivotPoint represents the center of rotation.

degreeAngle

  • Type:Single
  • Description:The number of degrees of rotation required from 0 to 360.

Go Back

ScaleDownCore(Double)

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

Remarks

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

Return Value

  • Return Type:Void
  • Description: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, as you are applying the operation multiple times. There is also a ScaleUp method that will enlarge the shape.

Parameters

percentage

  • Type:Double
  • Description:This is the percentage by which to decrease the shape's size.

Go Back

ScaleToCore(Double)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

scale

  • Type:Double
  • Description:N/A

Go Back

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, 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

  • Return Type:Void
  • Description:N/A

Parameters

percentage

  • Type:Double
  • Description:This is the percentage by which to increase the shape's size.

Go Back

SimplifyCore(Double,SimplificationType)

N/A

Remarks

N/A

Return Value

Parameters

tolerance

  • Type:Double
  • Description:N/A

simplificationType

Go Back

TouchesCore(BaseShape)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetShape

Go Back

TranslateByDegreeCore(Double,Double,GeographyUnit,DistanceUnit)

This method moves the base shape from one location to another based on a direction in degrees and distance.

Remarks

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

  • Return Type:Void
  • Description:N/A

Parameters

distance

  • Type:Double
  • Description:The distance is the number of units to move the shape using the angle specified. The distance unit will be the DistanceUnit specified in the distanceUnit parameter. The distance must be greater than or equal to 0.

angleInDegrees

  • Type:Double
  • Description:A number between 0 and 360 degrees that represents the direction you wish to move the shape with zero being up.

shapeUnit

  • Description:This is the GeographicUnit of the shape you are performing the operation on.

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 distance will be calculated in miles.

Go Back

TranslateByOffsetCore(Double,Double,GeographyUnit,DistanceUnit)

This method moves the base shape from one location to another based on an X and Y offset distance.

Remarks

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

  • Return Type:Void
  • Description:N/A

Parameters

xOffsetDistance

  • Type:Double
  • Description:This is the number of horizontal units of movement in the DistanceUnit specified by the distanceUnit parameter.

yOffsetDistance

  • Type:Double
  • Description:This is the number of horizontal units of movement in the DistanceUnit specified by the distanceUnit parameter.

shapeUnit

  • Description:This is the GeographicUnit of the shape you are performing the operation on.

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.

Go Back

UnionCore(AreaBaseShape)

N/A

Remarks

N/A

Return Value

Parameters

targetShape

Go Back

ValidateCore(ShapeValidationMode)

This method returns a ShapeValidationResult based on a series of tests.

Remarks

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

  • Description:This method returns a ShapeValidationResult based on a series of tests.

Parameters

validationMode

  • Description:This parameter determines whether the test is simple or advanced. In some cases, the advanced tests can take some time. The simple test is designed to always be fast.

Go Back

Public Properties

CanRotate

This property specifies whether the shape can be rotated.

Remarks

If this property returns false and you attempt call the rotate method, it will throw a NotImplementedException.

Return Value

Return Type:Boolean

Go Back

Center

This property allows you to get or set the center PointShape of the EllipseShape.

Remarks

None

Return Value

Return Type:PointShape

Go Back

Height

This property returns the height of the EllipseShape in the unit of the shape.

Remarks

None

Return Value

Return Type:Double

Go Back

Id

N/A

Remarks

N/A

Return Value

Return Type:String

Go Back

Tag

N/A

Remarks

N/A

Return Value

Return Type:Object

Go Back

Width

This property returns the width of the EllipseShape in the unit of the shape.

Remarks

None

Return Value

Return Type:Double

Go Back

Protected Properties

Public Events

1) , 5) 2 2,6 2,6 6,2 6,2 2),(3 3,4 3,4 4,3 4,3 3
2) , 6) 4 5,11 51,21 26),(-4 -7,-9 -7,-14 -3
3) , 7) (2 2,6 2,6 6,2 6,2 2),(3 3,4 3,4 4,3 4,3 3
4) , 8) 4 4,7 3,7 5,4 4
thinkgeo.mapsuite.core.ellipseshape.1442485702.txt.gz · Last modified: 2015/09/17 10:28 by admin