Skip to content

LineBaseShape

Inheritance Hierarchy

Members Summary

Public Constructors Summary

Name
N/A

Protected Constructors Summary

Name
LineBaseShape()

Public Properties Summary

Name Return Type Description
Id String N/A
Tag Object N/A

Protected Properties Summary

Name Return Type Description
N/A N/A N/A

Public Methods Summary

Name
Buffer(Double,GeographyUnit,DistanceUnit)
Buffer(Double,Int32,GeographyUnit,DistanceUnit)
Buffer(Double,Int32,BufferCapType,GeographyUnit,DistanceUnit)
CloneDeep()
Contains(BaseShape)
Contains(Feature)
ConvexHull()
Crosses(BaseShape)
Crosses(Feature)
Equals(Object)
GetBoundingBox()
GetCenterPoint()
GetClosestPointTo(BaseShape,GeographyUnit)
GetClosestPointTo(Feature,GeographyUnit)
GetCrossing(BaseShape)
GetDistanceTo(BaseShape,GeographyUnit,DistanceUnit)
GetDistanceTo(Feature,GeographyUnit,DistanceUnit)
GetFeature()
GetFeature(IDictionary<String,String>)
GetGeoJson()
GetHashCode()
GetIntersection(Feature)
GetIntersection(AreaBaseShape)
GetLength(GeographyUnit,DistanceUnit)
GetLength(Int32,DistanceUnit)
GetLength(String,DistanceUnit)
GetLength(Projection,DistanceUnit)
GetLength(Int32,DistanceUnit,DistanceCalculationMode)
GetLength(String,DistanceUnit,DistanceCalculationMode)
GetLength(Projection,DistanceUnit,DistanceCalculationMode)
GetShortestLineTo(BaseShape,GeographyUnit)
GetShortestLineTo(Feature,GeographyUnit)
GetType()
GetWellKnownBinary()
GetWellKnownBinary(WkbByteOrder)
GetWellKnownBinary(RingOrder)
GetWellKnownBinary(RingOrder,WkbByteOrder)
GetWellKnownText()
GetWellKnownText(RingOrder)
GetWellKnownType()
Intersects(BaseShape)
Intersects(Feature)
IsDisjointed(BaseShape)
IsDisjointed(Feature)
IsTopologicallyEqual(BaseShape)
IsTopologicallyEqual(Feature)
IsWithin(BaseShape)
IsWithin(Feature)
LoadFromWellKnownData(String)
LoadFromWellKnownData(Byte[])
Overlaps(BaseShape)
Overlaps(Feature)
Register(PointShape,PointShape,DistanceUnit,GeographyUnit)
Register(Feature,Feature,DistanceUnit,GeographyUnit)
Rotate(PointShape,Single)
ScaleDown(Double)
ScaleDown(LineBaseShape,Double)
ScaleDown(Feature,Double)
ScaleTo(Double)
ScaleUp(Double)
ScaleUp(LineBaseShape,Double)
ScaleUp(Feature,Double)
Simplify(GeographyUnit,Double,DistanceUnit,SimplificationType)
Simplify(Double,SimplificationType)
Simplify(LineBaseShape,GeographyUnit,Double,DistanceUnit,SimplificationType)
Simplify(LineBaseShape,Double,SimplificationType)
ToString()
Touches(BaseShape)
Touches(Feature)
TranslateByDegree(Double,Double,GeographyUnit,DistanceUnit)
TranslateByDegree(Double,Double)
TranslateByOffset(Double,Double,GeographyUnit,DistanceUnit)
TranslateByOffset(Double,Double)
Union(LineBaseShape)
Union(Feature)
Union(IEnumerable<LineBaseShape>)
Union(IEnumerable<Feature>)
Validate(ShapeValidationMode)

Protected Methods Summary

Name
BufferCore(Double,Int32,BufferCapType,GeographyUnit,DistanceUnit)
CloneDeepCore()
ContainsCore(BaseShape)
ConvexHullCore()
CrossesCore(BaseShape)
Finalize()
GetBoundingBoxCore()
GetCenterPointCore()
GetClosestPointToCore(BaseShape,GeographyUnit)
GetCrossingCore(BaseShape)
GetDistanceToCore(BaseShape,GeographyUnit,DistanceUnit)
GetGeoJsonCore()
GetIntersectionCore(AreaBaseShape)
GetLengthCore(GeographyUnit,DistanceUnit)
GetLengthCore(Projection,DistanceUnit,DistanceCalculationMode)
GetShortestLineToCore(BaseShape,GeographyUnit)
GetWellKnownBinaryCore(RingOrder,WkbByteOrder)
GetWellKnownTextCore(RingOrder)
GetWellKnownTypeCore()
IntersectsCore(BaseShape)
IsDisjointedCore(BaseShape)
IsPointBetweenVerteces(Vertex,Vertex,PointShape)
IsTopologicallyEqualCore(BaseShape)
IsWithinCore(BaseShape)
LoadFromWellKnownDataCore(String)
LoadFromWellKnownDataCore(Byte[])
MemberwiseClone()
OverlapsCore(BaseShape)
RegisterCore(PointShape,PointShape,DistanceUnit,GeographyUnit)
RotateCore(PointShape,Single)
ScaleDownCore(Double)
ScaleToCore(Double)
ScaleUpCore(Double)
SimplifyCore(Double,SimplificationType)
TouchesCore(BaseShape)
TranslateByDegreeCore(Double,Double,GeographyUnit,DistanceUnit)
TranslateByOffsetCore(Double,Double,GeographyUnit,DistanceUnit)
UnionCore(IEnumerable<LineBaseShape>)
ValidateCore(ShapeValidationMode)

Public Events Summary

Name Event Arguments Description
N/A N/A N/A

Members Detail

Public Constructors

Name
N/A

Protected Constructors

LineBaseShape()

Summary

This is the default constructor for AreaBaseShape.

Remarks

This constructor simply calls the base constructor.

Return Value

Type Description
N/A

Parameters

Name Type Description
N/A N/A N/A

Public Properties

Id

Summary

N/A

Remarks

N/A

Return Value

String


Tag

Summary

N/A

Remarks

N/A

Return Value

Object


Protected Properties

Public Methods

Buffer(Double,GeographyUnit,DistanceUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MultipolygonShape N/A

Parameters

Name Type Description
distance Double N/A
shapeUnit GeographyUnit N/A
distanceUnit DistanceUnit N/A

Buffer(Double,Int32,GeographyUnit,DistanceUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MultipolygonShape N/A

Parameters

Name Type Description
distance Double N/A
quadrantSegments Int32 N/A
shapeUnit GeographyUnit N/A
distanceUnit DistanceUnit N/A

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

Summary

N/A

Remarks

N/A

Return Value

Type Description
MultipolygonShape N/A

Parameters

Name Type Description
distance Double N/A
quadrantSegments Int32 N/A
bufferCapType BufferCapType N/A
shapeUnit GeographyUnit N/A
distanceUnit DistanceUnit N/A

CloneDeep()

Summary

N/A

Remarks

N/A

Return Value

Type Description
BaseShape N/A

Parameters

Name Type Description
N/A N/A N/A

Contains(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetShape BaseShape N/A

Contains(Feature)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetFeature Feature N/A

ConvexHull()

Summary

This method returns the convex hull of the shape defined as the smallest convex ring that contains all the points in the shape.

Remarks

This method is useful when you want to create a perimeter around the shape. For example if you had a MultiPolygon which represented buildings in 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. 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 your needs. If you have questions about this please contact support as we would be happy to work with you on extending our framework.

Return Value

Type Description
RingShape This method returns a RingShape defined as the smallest convex ring that contains all the points in the shape.

Parameters

Name Type Description
N/A N/A N/A

Crosses(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetShape BaseShape N/A

Crosses(Feature)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetFeature Feature N/A

Equals(Object)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
obj Object N/A

GetBoundingBox()

Summary

N/A

Remarks

N/A

Return Value

Type Description
RectangleShape N/A

Parameters

Name Type Description
N/A N/A N/A

GetCenterPoint()

Summary

N/A

Remarks

N/A

Return Value

Type Description
PointShape N/A

Parameters

Name Type Description
N/A N/A N/A

GetClosestPointTo(BaseShape,GeographyUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
PointShape N/A

Parameters

Name Type Description
targetShape BaseShape N/A
shapeUnit GeographyUnit N/A

GetClosestPointTo(Feature,GeographyUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
PointShape N/A

Parameters

Name Type Description
targetFeature Feature N/A
shapeUnit GeographyUnit N/A

GetCrossing(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MultipointShape N/A

Parameters

Name Type Description
targetShape BaseShape N/A

GetDistanceTo(BaseShape,GeographyUnit,DistanceUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Double N/A

Parameters

Name Type Description
targetShape BaseShape N/A
shapeUnit GeographyUnit N/A
distanceUnit DistanceUnit N/A

GetDistanceTo(Feature,GeographyUnit,DistanceUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Double N/A

Parameters

Name Type Description
targetFeature Feature N/A
shapeUnit GeographyUnit N/A
distanceUnit DistanceUnit N/A

GetFeature()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Feature N/A

Parameters

Name Type Description
N/A N/A N/A

GetFeature(IDictionary<String,String>)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Feature N/A

Parameters

Name Type Description
columnValues IDictionary<String,String> N/A

GetGeoJson()

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
N/A N/A N/A

GetHashCode()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Int32 N/A

Parameters

Name Type Description
N/A N/A N/A

GetIntersection(Feature)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MultilineShape N/A

Parameters

Name Type Description
targetFeature Feature N/A

GetIntersection(AreaBaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MultilineShape N/A

Parameters

Name Type Description
targetShape AreaBaseShape N/A

GetLength(GeographyUnit,DistanceUnit)

Summary

This method returns the length of the line shape.

Remarks

This is a useful method when you want to know the total length of a line-based shape. If the shape is a MultiLineShape, then the length is the sum of all of its lines. 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

Type Description
Double This overload returns the length in the unit of your choice, based on the returningUnit parameter specified.

Parameters

Name Type Description
shapeUnit GeographyUnit This is the GeographyUnit of the shape you are performing the operation on.
returningUnit DistanceUnit This is the distance unit you would like to use as the return value. For example, if you select miles as your returningUnit, then the distance will be returned in miles.

GetLength(Int32,DistanceUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Double N/A

Parameters

Name Type Description
shapeSrid Int32 N/A
returningUnit DistanceUnit N/A

GetLength(String,DistanceUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Double N/A

Parameters

Name Type Description
shapeProj4ProjectionParameters String N/A
returningUnit DistanceUnit N/A

GetLength(Projection,DistanceUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Double N/A

Parameters

Name Type Description
shapeProjection Projection N/A
returningUnit DistanceUnit N/A

GetLength(Int32,DistanceUnit,DistanceCalculationMode)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Double N/A

Parameters

Name Type Description
shapeSrid Int32 N/A
returningUnit DistanceUnit N/A
distanceCalculationMode DistanceCalculationMode N/A

GetLength(String,DistanceUnit,DistanceCalculationMode)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Double N/A

Parameters

Name Type Description
shapeProj4ProjectionParameters String N/A
returningUnit DistanceUnit N/A
distanceCalculationMode DistanceCalculationMode N/A

GetLength(Projection,DistanceUnit,DistanceCalculationMode)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Double N/A

Parameters

Name Type Description
shapeProjection Projection N/A
returningUnit DistanceUnit N/A
distanceCalculationMode DistanceCalculationMode N/A

GetShortestLineTo(BaseShape,GeographyUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MultilineShape N/A

Parameters

Name Type Description
targetShape BaseShape N/A
shapeUnit GeographyUnit N/A

GetShortestLineTo(Feature,GeographyUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MultilineShape N/A

Parameters

Name Type Description
targetFeature Feature N/A
shapeUnit GeographyUnit N/A

GetType()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Type N/A

Parameters

Name Type Description
N/A N/A N/A

GetWellKnownBinary()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Byte[] N/A

Parameters

Name Type Description
N/A N/A N/A

GetWellKnownBinary(WkbByteOrder)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Byte[] N/A

Parameters

Name Type Description
byteOrder WkbByteOrder N/A

GetWellKnownBinary(RingOrder)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Byte[] N/A

Parameters

Name Type Description
outerRingOrder RingOrder N/A

GetWellKnownBinary(RingOrder,WkbByteOrder)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Byte[] N/A

Parameters

Name Type Description
outerRingOrder RingOrder N/A
byteOrder WkbByteOrder N/A

GetWellKnownText()

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
N/A N/A N/A

GetWellKnownText(RingOrder)

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
outerRingOrder RingOrder N/A

GetWellKnownType()

Summary

N/A

Remarks

N/A

Return Value

Type Description
WellKnownType N/A

Parameters

Name Type Description
N/A N/A N/A

Intersects(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetShape BaseShape N/A

Intersects(Feature)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetFeature Feature N/A

IsDisjointed(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetShape BaseShape N/A

IsDisjointed(Feature)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetFeature Feature N/A

IsTopologicallyEqual(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetShape BaseShape N/A

IsTopologicallyEqual(Feature)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetFeature Feature N/A

IsWithin(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetShape BaseShape N/A

IsWithin(Feature)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetFeature Feature N/A

LoadFromWellKnownData(String)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
wellKnownText String N/A

LoadFromWellKnownData(Byte[])

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
wellKnownBinary Byte[] N/A

Overlaps(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetShape BaseShape N/A

Overlaps(Feature)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetFeature Feature N/A

Register(PointShape,PointShape,DistanceUnit,GeographyUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
BaseShape N/A

Parameters

Name Type Description
fromPoint PointShape N/A
toPoint PointShape N/A
fromUnit DistanceUnit N/A
toUnit GeographyUnit N/A

Register(Feature,Feature,DistanceUnit,GeographyUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
BaseShape N/A

Parameters

Name Type Description
fromPoint Feature N/A
toPoint Feature N/A
fromUnit DistanceUnit N/A
toUnit GeographyUnit N/A

Rotate(PointShape,Single)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
pivotPoint PointShape N/A
degreeAngle Single N/A

ScaleDown(Double)

Summary

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

Remarks

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 apply the operation multiple times. There is also a ScaleUp method that will enlarge the shape as well. 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 your needs. If you have questions about this please contact support as we would be happy to work with you on extending our framework.

Return Value

Type Description
Void N/A

Parameters

Name Type Description
percentage Double This is the percentage by which to decrease the shape�s size.

ScaleDown(LineBaseShape,Double)

Summary

This method returns a new shape that is decreases by the percentage given in the percentage parameter.

Remarks

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 apply the operation multiple times. There is also a ScaleUp method that will enlarge the shape as well. 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 your needs. If you have questions about this please contact support as we would be happy to work with you on extending our framework.

Return Value

Type Description
LineBaseShape a scaled down line type shape.

Parameters

Name Type Description
sourceLineBaseShape LineBaseShape This parameter is the basis for the scale up up but is not modified.
percentage Double This is the percentage by which to decrease the shape�s size.

ScaleDown(Feature,Double)

Summary

This method returns a new feature that is decreases by the percentage given in the percentage parameter.

Remarks

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 as you apply the operation multiple times. There is also a ScaleUp method that will enlarge the shape as well. 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 your needs. If you have questions about this please contact support as we would be happy to work with you on extending our framework.

Return Value

Type Description
Feature a scaled down line type feature.

Parameters

Name Type Description
sourceLine Feature This parameter is the basis for the scale up up but is not modified.
percentage Double This is the percentage by which to decrease the shape�s size.

ScaleTo(Double)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
scale Double N/A

ScaleUp(Double)

Summary

This method increases the size of the LineShape 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 apply the operation multiple times. There is also a ScaleDown method that will shrink the shape as well. 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 your needs. If you have questions about this please contact support as we would be happy to work with you on extending our framework.

Return Value

Type Description
Void N/A

Parameters

Name Type Description
percentage Double This is the percentage by which to increase the shape�s size.

ScaleUp(LineBaseShape,Double)

Summary

This method returns a new shape that is increased 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 apply the operation multiple times. There is also a ScaleDown method that will shrink the shape as well. 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 your needs. If you have questions about this please contact support as we would be happy to work with you on extending our framework.

Return Value

Type Description
LineBaseShape a scaled line type shape.

Parameters

Name Type Description
sourceShape LineBaseShape This parameter is the basis for the scale up up but is not modified.
percentage Double This is the percentage by which to increase the shape�s size.

ScaleUp(Feature,Double)

Summary

This method returns a new feature that is increased by the percentage given in the percentage parameter.

Remarks

This method is useful when you would like to increase the size of the feature. Note that a larger percentage will scale the shape up faster as you apply the operation multiple times. There is also a ScaleDown method that will shrink the shape as well. 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 your needs. If you have questions about this please contact support as we would be happy to work with you on extending our framework.

Return Value

Type Description
Feature a scaled line type feature.

Parameters

Name Type Description
sourceLine Feature This parameter is the basis for the scale up up but is not modified.
percentage Double This is the percentage by which to increase the shape�s size.

Simplify(GeographyUnit,Double,DistanceUnit,SimplificationType)

Summary

Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.

Remarks

N/A

Return Value

Type Description
MultilineShape Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.

Parameters

Name Type Description
shapeUnit GeographyUnit the geography unit of the target shape
tolerance Double distance tolerance
toleranceUnit DistanceUnit the distance unit of tolerance
simplificationType SimplificationType Specifies which algorthm will be use to simplify.

Simplify(Double,SimplificationType)

Summary

Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.

Remarks

N/A

Return Value

Type Description
MultilineShape Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.

Parameters

Name Type Description
tolerance Double distance tolerance
simplificationType SimplificationType Specifies which algorthm will be use to simplify.

Simplify(LineBaseShape,GeographyUnit,Double,DistanceUnit,SimplificationType)

Summary

Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.

Remarks

N/A

Return Value

Type Description
MultilineShape Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.

Parameters

Name Type Description
targetShape LineBaseShape target shape which will be simplified.
targetShapeUnit GeographyUnit the geography unit of the target shape
tolerance Double distance tolerance
toleranceUnit DistanceUnit the distance unit of tolerance
simplificationType SimplificationType Specifies which algorthm will be use to simplify.

Simplify(LineBaseShape,Double,SimplificationType)

Summary

Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.

Remarks

N/A

Return Value

Type Description
MultilineShape Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.

Parameters

Name Type Description
targetShape LineBaseShape target shape which will be simplified.
tolerance Double distance tolerance
simplificationType SimplificationType Specifies which algorthm will be use to simplify.

ToString()

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
N/A N/A N/A

Touches(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetShape BaseShape N/A

Touches(Feature)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetFeature Feature N/A

TranslateByDegree(Double,Double,GeographyUnit,DistanceUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
distance Double N/A
angleInDegrees Double N/A
shapeUnit GeographyUnit N/A
distanceUnit DistanceUnit N/A

TranslateByDegree(Double,Double)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
distance Double N/A
angleInDegrees Double N/A

TranslateByOffset(Double,Double,GeographyUnit,DistanceUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
xOffsetDistance Double N/A
yOffsetDistance Double N/A
shapeUnit GeographyUnit N/A
distanceUnit DistanceUnit N/A

TranslateByOffset(Double,Double)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
xOffsetDistance Double N/A
yOffsetDistance Double N/A

Union(LineBaseShape)

Summary

Calculates a new geometry that contains all the points in this LineBaseShape and input LineBaseShape

Remarks

N/A

Return Value

Type Description
MultilineShape A set combining the points of this LineBaseShape and the points of input LineBaseShape.

Parameters

Name Type Description
targetShape LineBaseShape The target LineBasheShape with which to compute the union

Union(Feature)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MultilineShape N/A

Parameters

Name Type Description
targetFeature Feature N/A

Union(IEnumerable<LineBaseShape>)

Summary

Calculates a new geometry that contains all the points in this LineBaseShape and input LineBaseShape set.

Remarks

N/A

Return Value

Type Description
MultilineShape A set combining the points of this LineBaseShape and the points of input LineBaseShape set.

Parameters

Name Type Description
lineBaseShapes IEnumerable<LineBaseShape> N/A

Union(IEnumerable<Feature>)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MultilineShape N/A

Parameters

Name Type Description
targetFeatures IEnumerable<Feature> N/A

Validate(ShapeValidationMode)

Summary

N/A

Remarks

N/A

Return Value

Type Description
ShapeValidationResult N/A

Parameters

Name Type Description
validationMode ShapeValidationMode N/A

Protected Methods

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

Summary

N/A

Remarks

N/A

Return Value

Type Description
MultipolygonShape N/A

Parameters

Name Type Description
distance Double N/A
quadrantSegments Int32 N/A
bufferCapType BufferCapType N/A
shapeUnit GeographyUnit N/A
distanceUnit DistanceUnit N/A

CloneDeepCore()

Summary

N/A

Remarks

N/A

Return Value

Type Description
BaseShape N/A

Parameters

Name Type Description
N/A N/A N/A

ContainsCore(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetShape BaseShape N/A

ConvexHullCore()

Summary

This method returns the convex hull of the shape defined as the smallest convex ring that contains all the points in the shape.

Remarks

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

Type Description
RingShape This method returns a RingShape defined as the smallest convex ring that contains all the points in the shape.

Parameters

Name Type Description
N/A N/A N/A

CrossesCore(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetShape BaseShape N/A

Finalize()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

GetBoundingBoxCore()

Summary

N/A

Remarks

N/A

Return Value

Type Description
RectangleShape N/A

Parameters

Name Type Description
N/A N/A N/A

GetCenterPointCore()

Summary

N/A

Remarks

N/A

Return Value

Type Description
PointShape N/A

Parameters

Name Type Description
N/A N/A N/A

GetClosestPointToCore(BaseShape,GeographyUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
PointShape N/A

Parameters

Name Type Description
targetShape BaseShape N/A
shapeUnit GeographyUnit N/A

GetCrossingCore(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MultipointShape N/A

Parameters

Name Type Description
targetShape BaseShape N/A

GetDistanceToCore(BaseShape,GeographyUnit,DistanceUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Double N/A

Parameters

Name Type Description
targetShape BaseShape N/A
shapeUnit GeographyUnit N/A
distanceUnit DistanceUnit N/A

GetGeoJsonCore()

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
N/A N/A N/A

GetIntersectionCore(AreaBaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MultilineShape N/A

Parameters

Name Type Description
targetShape AreaBaseShape N/A

GetLengthCore(GeographyUnit,DistanceUnit)

Summary

This method returns the length of the line shape.

Remarks

This is a useful method when you want to know the total length of a line-based shape. If the shape is a MultiLineShape, then the length is the sum of all of its lines. Overriding: Please ensure that you validate the parameters being passed in and raise the exceptions defined above.

Return Value

Type Description
Double This overload returns the length in the unit of your choice, based on the returningUnit parameter specified.

Parameters

Name Type Description
shapeUnit GeographyUnit This is the GeographyUnit of the shape you are performing the operation on.
returningUnit DistanceUnit This is the distance unit you would like to use as the return value. For example, if you select miles as your returningUnit, then the distance will be returned in miles.

GetLengthCore(Projection,DistanceUnit,DistanceCalculationMode)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Double N/A

Parameters

Name Type Description
shapeProjection Projection N/A
returningUnit DistanceUnit N/A
distanceCalculationMode DistanceCalculationMode N/A

GetShortestLineToCore(BaseShape,GeographyUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MultilineShape N/A

Parameters

Name Type Description
targetShape BaseShape N/A
shapeUnit GeographyUnit N/A

GetWellKnownBinaryCore(RingOrder,WkbByteOrder)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Byte[] N/A

Parameters

Name Type Description
outerRingOrder RingOrder N/A
byteOrder WkbByteOrder N/A

GetWellKnownTextCore(RingOrder)

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
outerRingOrder RingOrder N/A

GetWellKnownTypeCore()

Summary

N/A

Remarks

N/A

Return Value

Type Description
WellKnownType N/A

Parameters

Name Type Description
N/A N/A N/A

IntersectsCore(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetShape BaseShape N/A

IsDisjointedCore(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetShape BaseShape N/A

IsPointBetweenVerteces(Vertex,Vertex,PointShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
vertex1 Vertex N/A
vertex2 Vertex N/A
point PointShape N/A

IsTopologicallyEqualCore(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetShape BaseShape N/A

IsWithinCore(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetShape BaseShape N/A

LoadFromWellKnownDataCore(String)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
wellKnownText String N/A

LoadFromWellKnownDataCore(Byte[])

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
wellKnownBinary Byte[] N/A

MemberwiseClone()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Object N/A

Parameters

Name Type Description
N/A N/A N/A

OverlapsCore(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetShape BaseShape N/A

RegisterCore(PointShape,PointShape,DistanceUnit,GeographyUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
BaseShape N/A

Parameters

Name Type Description
fromPoint PointShape N/A
toPoint PointShape N/A
fromUnit DistanceUnit N/A
toUnit GeographyUnit N/A

RotateCore(PointShape,Single)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
pivotPoint PointShape N/A
degreeAngle Single N/A

ScaleDownCore(Double)

Summary

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

Remarks

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 apply the operation multiple times. There is also 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

Type Description
Void N/A

Parameters

Name Type Description
percentage Double This is the percentage by which to decrease the shape�s size.

ScaleToCore(Double)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
scale Double N/A

ScaleUpCore(Double)

Summary

This method increases the size of the LineShape 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 apply the operation multiple times. There is also 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

Type Description
Void N/A

Parameters

Name Type Description
percentage Double This is the percentage by which to increase the shape�s size.

SimplifyCore(Double,SimplificationType)

Summary

Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.

Remarks

N/A

Return Value

Type Description
MultilineShape Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.

Parameters

Name Type Description
tolerance Double distance tolerance
simplificationType SimplificationType Specifies which algorthm will be use to simplify.

TouchesCore(BaseShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
targetShape BaseShape N/A

TranslateByDegreeCore(Double,Double,GeographyUnit,DistanceUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
distance Double N/A
angleInDegrees Double N/A
shapeUnit GeographyUnit N/A
distanceUnit DistanceUnit N/A

TranslateByOffsetCore(Double,Double,GeographyUnit,DistanceUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
xOffsetDistance Double N/A
yOffsetDistance Double N/A
shapeUnit GeographyUnit N/A
distanceUnit DistanceUnit N/A

UnionCore(IEnumerable<LineBaseShape>)

Summary

The protected virtual method used by "Union" that you can overwrite to implement your own logic.

Remarks

N/A

Return Value

Type Description
MultilineShape A set combining the points of this LineBaseShape and the points of input LineBaseShape set.

Parameters

Name Type Description
lineBaseShapes IEnumerable<LineBaseShape> The target LineBasheShape set with which to compute the union

ValidateCore(ShapeValidationMode)

Summary

N/A

Remarks

N/A

Return Value

Type Description
ShapeValidationResult N/A

Parameters

Name Type Description
validationMode ShapeValidationMode N/A

Public Events