User Tools

Site Tools


thinkgeo.mapsuite.core.linebaseshape

This is an old revision of the document!


Table of Contents

ThinkGeo.MapSuite.Core.LineBaseShape

This abstract class is the root of all line-based shapes, such as LineShape and MultilineShape.

Inheritance Hierarchy

Members Summary

Public Constructors

Protected Constructors

LineBaseShape

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:This is the default constructor for AreaBaseShape.

Public Methods

Buffer

Buffer

Buffer

CloneDeep

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

Contains

Contains

ConvexHull

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:This method returns the convex hull of the shape defined as the smallest convex ring that contains all the points in the shape.

Crosses

Crosses

Equals

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

GetAccurateLength

GetAccurateLength

GetBoundingBox

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

GetCenterPoint

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

GetClosestPointTo

GetClosestPointTo

GetCrossing

GetDistanceTo

GetDistanceTo

GetFeature

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

GetFeature

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

GetGeoJson

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

GetHashCode

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

GetIntersection

GetIntersection

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

GetLength

GetShortestLineTo

GetShortestLineTo

GetType

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

GetWellKnownBinary

GetWellKnownBinary

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

GetWellKnownBinary

GetWellKnownBinary

GetWellKnownText

GetWellKnownText

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

GetWellKnownType

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

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

  • Parameters:Feature,Double
  • DeclaringType:N/A
  • Summary:This method returns a new feature that is decreases by the percentage given in the percentage parameter.

ScaleDown

  • Parameters:LineBaseShape,Double
  • DeclaringType:N/A
  • Summary:This method returns a new shape that is decreases by the percentage given in the percentage parameter.

ScaleDown

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

ScaleTo

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

ScaleUp

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

ScaleUp

  • Parameters:Feature,Double
  • DeclaringType:N/A
  • Summary:This method returns a new feature that is increased by the percentage given in the percentage parameter.

ScaleUp

  • Parameters:LineBaseShape,Double
  • DeclaringType:N/A
  • Summary:This method returns a new shape that is increased by the percentage given in the percentage parameter.

Simplify

  • DeclaringType:N/A
  • Summary:Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.

Simplify

Simplify

Simplify

  • Parameters:Double,SimplificationType
  • DeclaringType:N/A
  • Summary:Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.

ToString

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

Touches

Touches

TranslateByDegree

TranslateByDegree

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

TranslateByOffset

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

TranslateByOffset

Union

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

Union

  • Parameters:IEnumerable<LineBaseShape>
  • DeclaringType:N/A
  • Summary:Calculates a new geometry that contains all the points in this LineBaseShape and input LineBaseShape set.

Union

  • Parameters:LineBaseShape
  • DeclaringType:N/A
  • Summary:Calculates a new geometry that contains all the points in this LineBaseShape and input LineBaseShape

Union

  • Parameters:IEnumerable<Feature>
  • DeclaringType:N/A
  • Summary:N/A

Validate

Protected Methods

AEM=

BufferCore

CloneDeepCore

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

ContainsCore

ConvexHullCore

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:This method returns the convex hull of the shape defined as the smallest convex ring that contains all the points in the shape.

CrossesCore

Finalize

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

GetAccurateLengthCore

GetBoundingBoxCore

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

GetCenterPointCore

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

GetClosestPointToCore

GetCrossingCore

GetDistanceToCore

GetGeoJsonCore

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

GetIntersectionCore

GetLengthCore

GetShortestLineToCore

GetWellKnownBinaryCore

GetWellKnownTextCore

GetWellKnownTypeCore

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

IntersectsCore

IsDisjointedCore

IsTopologicallyEqualCore

IsWithinCore

LoadFromWellKnownDataCore

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

LoadFromWellKnownDataCore

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

MemberwiseClone

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

OverlapsCore

RegisterCore

RotateCore

ScaleDownCore

  • Parameters:Double
  • DeclaringType:N/A
  • Summary:This method decreases the size of the LineShape 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 LineShape by the percentage given in the percentage parameter.

SimplifyCore

  • Parameters:Double,SimplificationType
  • DeclaringType:N/A
  • Summary:Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.

TouchesCore

TranslateByDegreeCore

TranslateByOffsetCore

UnionCore

  • Parameters:IEnumerable<LineBaseShape>
  • DeclaringType:N/A
  • Summary:The protected virtual method used by “Union” that you can overwrite to implement your own logic.

ValidateCore

Public Properties

CanRotate

  • Return:Boolean
  • Summary:N/A

Id

  • Return:String
  • Summary:N/A

Tag

  • Return:Object
  • Summary:N/A

Protected Properties

Public Events

Public Constructors

Protected Constructors

LineBaseShape()

This is the default constructor for AreaBaseShape.

Remarks

This constructor simply calls the base constructor.

Parameters

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

Buffer(Double,GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value

Parameters

distance

  • Type:Double
  • 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

ConvexHull()

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

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

Parameters

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

GetAccurateLength(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

GetAccurateLength(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

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

GetCrossing(BaseShape)

N/A

Remarks

N/A

Return Value

Parameters

targetShape

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

GetDistanceTo(Feature,GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value

  • Return Type:Double
  • Description:N/A

Parameters

targetFeature

shapeUnit

distanceUnit

Go Back

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

GetFeature()

N/A

Remarks

N/A

Return Value

  • Return Type:Feature
  • Description:N/A

Parameters

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

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

GetLength(GeographyUnit,DistanceUnit)

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

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

Parameters

shapeUnit

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

returningUnit

  • Description: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.

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

GetType()

N/A

Remarks

N/A

Return Value

  • Return Type:Type
  • Description:N/A

Parameters

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

GetWellKnownBinary(RingOrder,WkbByteOrder)

N/A

Remarks

N/A

Return Value

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

Parameters

outerRingOrder

byteOrder

Go Back

GetWellKnownBinary(WkbByteOrder)

N/A

Remarks

N/A

Return Value

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

Parameters

byteOrder

Go Back

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

Intersects(BaseShape)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetShape

Go Back

Intersects(Feature)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetFeature

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

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(Feature)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetFeature

Go Back

Overlaps(BaseShape)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetShape

Go Back

Register(PointShape,PointShape,DistanceUnit,GeographyUnit)

N/A

Remarks

N/A

Return Value

Parameters

fromPoint

toPoint

fromUnit

toUnit

Go Back

Register(Feature,Feature,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(Feature,Double)

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

  • Return Type:Feature
  • Description:a scaled down line type feature.

Parameters

sourceLine

  • Type:Feature
  • Description:This parameter is the basis for the scale up up but is not modified.

percentage

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

Go Back

ScaleDown(LineBaseShape,Double)

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

  • Return Type:LineBaseShape
  • Description:a scaled down line type shape.

Parameters

sourceLineBaseShape

  • Description:This parameter is the basis for the scale up up but is not modified.

percentage

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

Go Back

ScaleDown(Double)

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

  • Return Type:Void
  • Description:N/A

Parameters

percentage

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

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)

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

  • 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

ScaleUp(Feature,Double)

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

  • Return Type:Feature
  • Description:a scaled line type feature.

Parameters

sourceLine

  • Type:Feature
  • Description:This parameter is the basis for the scale up up but is not modified.

percentage

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

Go Back

ScaleUp(LineBaseShape,Double)

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

  • Return Type:LineBaseShape
  • Description:a scaled line type shape.

Parameters

sourceShape

  • Description:This parameter is the basis for the scale up up but is not modified.

percentage

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

Go Back

Simplify(LineBaseShape,Double,SimplificationType)

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

Remarks

N/A

Return Value

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

Parameters

targetShape

  • Description:target shape which will be simplified.

tolerance

  • Type:Double
  • Description:distance tolerance

simplificationType

Go Back

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

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

Remarks

N/A

Return Value

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

Parameters

targetShape

  • Description:target shape which will be simplified.

targetShapeUnit

  • Description:the geography unit of the target shape

tolerance

  • Type:Double
  • Description:distance tolerance

toleranceUnit

  • Description:the distance unit of tolerance

simplificationType

Go Back

Simplify(GeographyUnit,Double,DistanceUnit,SimplificationType)

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

Remarks

N/A

Return Value

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

Parameters

shapeUnit

  • Description:the geography unit of the target shape

tolerance

  • Type:Double
  • Description:distance tolerance

toleranceUnit

  • Description:the distance unit of tolerance

simplificationType

Go Back

Simplify(Double,SimplificationType)

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

Remarks

N/A

Return Value

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

Parameters

tolerance

  • Type:Double
  • Description:distance tolerance

simplificationType

Go Back

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

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

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

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

Union(Feature)

N/A

Remarks

N/A

Return Value

Parameters

targetFeature

Go Back

Union(IEnumerable<LineBaseShape>)

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

Remarks

N/A

Return Value

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

Parameters

lineBaseShapes

Go Back

Union(LineBaseShape)

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

Remarks

N/A

Return Value

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

Parameters

targetShape

  • Description:The target LineBasheShape with which to compute the union

Go Back

Union(IEnumerable<Feature>)

N/A

Remarks

N/A

Return Value

Parameters

targetFeatures

  • Type:IEnumerable<Feature>
  • Description:N/A

Go Back

Validate(ShapeValidationMode)

N/A

Remarks

N/A

Return Value

Parameters

validationMode

Go Back

Protected Methods

AEM=(Vertex,Vertex,PointShape)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

vertex1

vertex2

point

Go Back

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()

N/A

Remarks

N/A

Return Value

Parameters

ContainsCore(BaseShape)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetShape

Go Back

ConvexHullCore()

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

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

Parameters

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

GetAccurateLengthCore(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

GetBoundingBoxCore()

N/A

Remarks

N/A

Return Value

Parameters

GetCenterPointCore()

N/A

Remarks

N/A

Return Value

Parameters

GetClosestPointToCore(BaseShape,GeographyUnit)

N/A

Remarks

N/A

Return Value

Parameters

targetShape

shapeUnit

Go Back

GetCrossingCore(BaseShape)

N/A

Remarks

N/A

Return Value

Parameters

targetShape

Go Back

GetDistanceToCore(BaseShape,GeographyUnit,DistanceUnit)

N/A

Remarks

N/A

Return Value

  • Return Type:Double
  • Description:N/A

Parameters

targetShape

shapeUnit

distanceUnit

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

GetLengthCore(GeographyUnit,DistanceUnit)

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

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

Parameters

shapeUnit

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

returningUnit

  • Description: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.

Go Back

GetShortestLineToCore(BaseShape,GeographyUnit)

N/A

Remarks

N/A

Return Value

Parameters

targetShape

shapeUnit

Go Back

GetWellKnownBinaryCore(RingOrder,WkbByteOrder)

N/A

Remarks

N/A

Return Value

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

Parameters

outerRingOrder

byteOrder

Go Back

GetWellKnownTextCore(RingOrder)

N/A

Remarks

N/A

Return Value

  • Return Type:String
  • Description:N/A

Parameters

outerRingOrder

Go Back

GetWellKnownTypeCore()

N/A

Remarks

N/A

Return Value

Parameters

IntersectsCore(BaseShape)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

targetShape

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[])

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

wellKnownBinary

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

Go Back

LoadFromWellKnownDataCore(String)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

wellKnownText

  • Type:String
  • Description:N/A

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

RegisterCore(PointShape,PointShape,DistanceUnit,GeographyUnit)

N/A

Remarks

N/A

Return Value

Parameters

fromPoint

toPoint

fromUnit

toUnit

Go Back

RotateCore(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

ScaleDownCore(Double)

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

  • Return Type:Void
  • Description:N/A

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

  • 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)

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

Remarks

N/A

Return Value

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

Parameters

tolerance

  • Type:Double
  • Description:distance tolerance

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)

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

TranslateByOffsetCore(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

UnionCore(IEnumerable<LineBaseShape>)

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

Remarks

N/A

Return Value

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

Parameters

lineBaseShapes

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

Go Back

ValidateCore(ShapeValidationMode)

N/A

Remarks

N/A

Return Value

Parameters

validationMode

Go Back

Public Properties

CanRotate

N/A

Remarks

N/A

Return Value

Return Type:Boolean

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

Protected Properties

Public Events

thinkgeo.mapsuite.core.linebaseshape.1442486046.txt.gz · Last modified: 2015/09/17 10:34 by admin