ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
This abstract class is the root of all line-based shapes, such as LineShape and MultilineShape.
This constructor simply calls the base constructor.
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.
This method increases the size of the LineShape by the percentage given in the percentage parameter.
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.
This method decreases the size of the LineShape by the percentage given in the percentage parameter.
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.
This method returns the convex hull of the shape defined as the smallest convex ring that contains all the points in the shape.
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.
Simplify(GeographyUnit,Double,DistanceUnit,SimplificationType)
Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.
N/A
Simplify(Double,SimplificationType)
Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.
N/A
Calculates a new geometry that contains all the points in this LineBaseShape and input LineBaseShape
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
TranslateByOffset(Double,Double)
N/A
N/A
TranslateByDegree(Double,Double,GeographyUnit,DistanceUnit)
N/A
N/A
TranslateByDegree(Double,Double)
N/A
N/A
N/A
N/A
GetShortestLineTo(BaseShape,GeographyUnit)
N/A
N/A
GetShortestLineTo(Feature,GeographyUnit)
N/A
N/A
GetClosestPointTo(BaseShape,GeographyUnit)
N/A
N/A
GetClosestPointTo(Feature,GeographyUnit)
N/A
N/A
N/A
N/A
Buffer(Double,Int32,GeographyUnit,DistanceUnit)
N/A
N/A
Buffer(Double,Int32,BufferCapType,GeographyUnit,DistanceUnit)
N/A
N/A
GetDistanceTo(BaseShape,GeographyUnit,DistanceUnit)
N/A
N/A
GetDistanceTo(Feature,GeographyUnit,DistanceUnit)
N/A
N/A
Register(PointShape,PointShape,DistanceUnit,GeographyUnit)
N/A
N/A
Register(Feature,Feature,DistanceUnit,GeographyUnit)
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
This method returns a new shape that is increased by the percentage given in the percentage parameter.
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.
This method returns a new feature that is increased by the percentage given in the percentage parameter.
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.
ScaleDown(LineBaseShape,Double)
This method returns a new shape that is decreases by the percentage given in the percentage parameter.
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.
This method returns a new feature that is decreases by the percentage given in the percentage parameter.
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.
Simplify(LineBaseShape,GeographyUnit,Double,DistanceUnit,SimplificationType)
Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.
N/A
Simplify(LineBaseShape,Double,SimplificationType)
Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.
N/A
Union(IEnumerable<LineBaseShape>)
Calculates a new geometry that contains all the points in this LineBaseShape and input LineBaseShape set.
N/A
N/A
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.
This method increases the size of the LineShape by the percentage given in the percentage parameter.
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.
This method decreases the size of the LineShape by the percentage given in the percentage parameter.
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.
This method returns the convex hull of the shape defined as the smallest convex ring that contains all the points in the shape.
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.
SimplifyCore(Double,SimplificationType)
Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.
N/A
UnionCore(IEnumerable<LineBaseShape>)
The protected virtual method used by “Union” that you can overwrite to implement your own logic.
N/A
GetIntersectionCore(AreaBaseShape)
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
TranslateByDegreeCore(Double,Double,GeographyUnit,DistanceUnit)
N/A
N/A
N/A
N/A
GetShortestLineToCore(BaseShape,GeographyUnit)
N/A
N/A
GetClosestPointToCore(BaseShape,GeographyUnit)
N/A
N/A
N/A
N/A
GetDistanceToCore(BaseShape,GeographyUnit,DistanceUnit)
N/A
N/A
RegisterCore(PointShape,PointShape,DistanceUnit,GeographyUnit)
N/A
N/A
ValidateCore(ShapeValidationMode)
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A