Products
Professional Services
Demos and Downloads
Help and Support
Products
Professional Services
Demos and Downloads
Help and Support
This is an old revision of the document!
<!– Class –> This class represents a LineShape, which is defined as a single line with two or more points.
The LineShape is one of the more commonly used shapes. Typically it is used for representing roads in GIS data files.
*System.Object ThinkGeo.MapSuite.Core.BaseShape *ThinkGeo.MapSuite.Core.LineBaseShape ThinkGeo.MapSuite.Core.LineShape
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Double, Int32, BufferCapType, GeographyUnit, DistanceUnit | BaseShape | This method computes the area containing all of the points within a given distance from this shape. |
![]() | Double, GeographyUnit, DistanceUnit | BaseShape | This method computes the area containing all of the points within a given distance from this shape. |
![]() | Double, Int32, GeographyUnit, DistanceUnit | BaseShape | This method computes the area containing all of the points within a given distance from this shape. |
![]() | BaseShape | This method returns a complete copy of the shape without any references in common. | |
![]() | BaseShape | BaseShape | This method returns if the targetShape lies within the interior of the current shape. |
![]() | Feature | BaseShape | This method returns if the targetFeature lies within the interior of the current shape. |
![]() | LineBaseShape | This method returns the convex hull of the shape defined as the smallest convex ring that contains all the points in the shape. | |
![]() ![]() | String | BaseShape | |
![]() ![]() | String | BaseShape | This method creates a BaseShape from a string of well-known text. |
![]() ![]() | Byte[] | BaseShape | This method creates a BaseShape from a string of well-known binary. |
![]() | Feature | BaseShape | This method returns if the current shape and the targetFeature share some but not all interior points. |
![]() | BaseShape | BaseShape | This method returns if the current shape and the targetShape share some but not all interior points. |
![]() | Object | Object | |
![]() | String, DistanceUnit, DistanceCalculationMode | LineBaseShape | |
![]() | Int32, DistanceUnit, DistanceCalculationMode | LineBaseShape | |
![]() | BaseShape | This method calculates the smallest RectangleShape that encompasses the entire geometry. | |
![]() | BaseShape | This method returns the center point of the current shape's bounding box. | |
![]() | Feature, GeographyUnit | BaseShape | This method returns the point of the current shape that is closest to the target feature. |
![]() | BaseShape, GeographyUnit | BaseShape | This method returns the point of the current shape that is closest to the target shape. |
![]() | BaseShape | BaseShape | This method returns the crossing points between the current shape and the passed-in target shape. |
![]() | BaseShape, GeographyUnit, DistanceUnit | BaseShape | This method computes the distance between the current shape and the targetShape. |
![]() | Feature, GeographyUnit, DistanceUnit | BaseShape | This method computes the distance between the current shape and the targetFeature. |
![]() | IDictionary<String, String> | BaseShape | Get a corresponding feature which has the same Id and BaseShape as the current shape. Additionally, pass the specified columnValues into the returned feature. |
![]() | BaseShape | Get a corresponding feature which has the same Id and BaseShape as the current shape. | |
![]() | BaseShape | ||
![]() | Object | ||
![]() | Feature | LineBaseShape | |
![]() | AreaBaseShape | LineBaseShape | |
![]() | GeographyUnit, DistanceUnit | LineBaseShape | This method returns the length of the line shape. |
![]() | StartingPoint, PointShape | This method returns a BaseLineShape, based on a starting position and other factors. | |
![]() | StartingPoint, Double, Double, GeographyUnit, DistanceUnit | This method returns a BaseLineShape, based on a starting position and other factors. | |
![]() | StartingPoint, Single | This method returns a BaseLineShape, based on a starting position and other factors. | |
![]() | StartingPoint, Single, Single | This method returns a BaseLineShape, based on a starting position and other factors. | |
![]() | PointShape, PointShape | This method returns a BaseLineShape, based on a starting position and other factors. | |
![]() | StartingPoint, Single | This method returns a PointShape on the line, based on a percentage of the length of the line from the first or last vertex defined in the startingPoint parameter. | |
![]() | StartingPoint, Double, GeographyUnit, DistanceUnit | This method returns a PointShape on the line, based on a distance on the line from the first or last vertex defined in the startingPoint parameter. | |
![]() | Feature, GeographyUnit | BaseShape | This method returns the shortest LineShape between this shape and the targetFeature. parameter. |
![]() | BaseShape, GeographyUnit | BaseShape | This method returns the shortest LineShape between this shape and the targetShape parameter. |
![]() | Object | ||
![]() | BaseShape | This method returns a byte array that represents the shape in well-known binary. | |
![]() | WkbByteOrder | BaseShape | This method returns a byte array that represents the shape in well-known binary. |
![]() | RingOrder | BaseShape | |
![]() | RingOrder, WkbByteOrder | BaseShape | |
![]() | BaseShape | This method returns the well-known text representation of this shape. | |
![]() | RingOrder | BaseShape | This method returns the well-known text representation of this shape. |
![]() | BaseShape | This method returns the well-known type for the shape. | |
![]() | Feature | BaseShape | This method returns if the current shape and the targetFeature have at least one point in common. |
![]() | BaseShape | BaseShape | This method returns if the current shape and the targetShape have at least one point in common. |
![]() | This method determines whether the line is closed, meaning that the last point and first point are the same. | ||
![]() | Feature | BaseShape | This method returns if the current shape and the targetFeature have no points in common. |
![]() | BaseShape | BaseShape | This method returns if the current shape and the targetShape have no points in common. |
![]() | Feature | BaseShape | This method returns if the current shape and the targetFeature are topologically equal. |
![]() | BaseShape | BaseShape | This method returns if the current shape and the targetShape are topologically equal. |
![]() | BaseShape | BaseShape | This method returns if the current shape lies within the interior of the targetShape. |
![]() | Feature | BaseShape | This method returns if the current shape lies within the interior of the targetFeature. |
![]() | String | BaseShape | This method hydrates the current shape with its data from well-known text. |
![]() | Byte[] | BaseShape | This method hydrates the current shape with its data from well-known binary. |
![]() | Feature | BaseShape | This method returns if the current shape and the targetFeature share some but not all points in common. |
![]() | BaseShape | BaseShape | This method returns if the current shape and the targetShape share some but not all points in common. |
![]() | PointShape, PointShape, DistanceUnit, GeographyUnit | BaseShape | This method returns a BaseShape which has been registered from its original coordinate system to another based on two anchor PointShapes. |
![]() | Feature, Feature, DistanceUnit, GeographyUnit | BaseShape | This method returns a BaseShape which has been registered from its original coordinate system to another based on two anchor PointShapes. |
![]() ![]() | Vertex, LineShape | This method removes the selected vertex from line shape. | |
![]() | Vertex | This method removes the selected vertex from line shape. | |
![]() | This method reverses the order of the points in the line. | ||
![]() ![]() | Feature, PointShape, Single | BaseShape | This method returns a feature rotated by a number of degrees based on a pivot point. |
![]() | PointShape, Single | BaseShape | This method rotates a shape a number of degrees based on a pivot point. |
![]() ![]() | BaseShape, PointShape, Single | BaseShape | This method returns a shape rotated by a number of degrees based on a pivot point. |
![]() | Double | LineBaseShape | This method decreases the size of the LineShape by the percentage given in the percentage parameter. |
![]() ![]() | LineBaseShape, Double | LineBaseShape | This method returns a new shape that is decreases by the percentage given in the percentage parameter. |
![]() ![]() | Feature, Double | LineBaseShape | This method returns a new feature that is decreases by the percentage given in the percentage parameter. |
![]() | Double | BaseShape | This method increases or decreases the size of the shape by the specified scale factor given in the parameter. |
![]() ![]() | BaseShape, Double | BaseShape | This method increases or decreases the size of the shape by the specified scale factor given in the parameter. |
![]() ![]() | Feature, Double | LineBaseShape | This method returns a new feature that is increased by the percentage given in the percentage parameter. |
![]() | Double | LineBaseShape | This method increases the size of the LineShape by the percentage given in the percentage parameter. |
![]() ![]() | LineBaseShape, Double | LineBaseShape | This method returns a new shape that is increased by the percentage given in the percentage parameter. |
![]() ![]() | LineBaseShape, Double, SimplificationType | LineBaseShape | Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType. |
![]() ![]() | LineBaseShape, GeographyUnit, Double, DistanceUnit, SimplificationType | LineBaseShape | Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType. |
![]() | GeographyUnit, Double, DistanceUnit, SimplificationType | LineBaseShape | Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType. |
![]() | Double, SimplificationType | LineBaseShape | Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType. |
![]() | This method generates a PolygonShape based the vertexes of the line. | ||
![]() | Object | ||
![]() | Feature | BaseShape | This method returns of the current shape and the targetFeature have at least one boundary point in common, but no interior points. |
![]() | BaseShape | BaseShape | This method returns if the current shape and the targetShape have at least one boundary point in common, but no interior points. |
![]() | Double, Double | BaseShape | This method moves a base shape from one location to another based on a distance and a direction in degrees. |
![]() | Double, Double, GeographyUnit, DistanceUnit | BaseShape | This method moves a base shape from one location to another based on a distance and a direction in degrees. |
![]() ![]() | Feature, Double, Double, GeographyUnit, DistanceUnit | BaseShape | This method returns a feature repositioned from one location to another, based on a distance and a direction in degrees. |
![]() ![]() | BaseShape, Double, Double, GeographyUnit, DistanceUnit | BaseShape | This method returns a shape repositioned from one location to another based on a distance and a direction in degrees. |
![]() | Double, Double, GeographyUnit, DistanceUnit | BaseShape | This method moves a base shape from one location to another based on an X and Y offset distance. |
![]() | Double, Double | BaseShape | This method moves a base shape from one location to another based on an X and Y offset distance. |
![]() ![]() | Feature, Double, Double, GeographyUnit, DistanceUnit | BaseShape | This method returns a feature repositioned from one location to another based on an X and Y offset distance. |
![]() ![]() | BaseShape, Double, Double, GeographyUnit, DistanceUnit | BaseShape | This method returns a shape repositioned from one location to another based on an X and Y offset distance. |
![]() | Feature | LineBaseShape | |
![]() ![]() | IEnumerable<Feature> | LineBaseShape | |
![]() ![]() | IEnumerable<LineBaseShape> | LineBaseShape | Calculates a new geometry that contains all the points in this LineBaseShape and input LineBaseShape set. |
![]() | LineBaseShape | LineBaseShape | Calculates a new geometry that contains all the points in this LineBaseShape and input LineBaseShape |
![]() | ShapeValidationMode | BaseShape | This method returns a ShapeValidationResult based on a series of tests. |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Double, Int32, BufferCapType, GeographyUnit, DistanceUnit | BaseShape | This method computes the area containing all of the points within a given distance from this shape. |
![]() | BaseShape(overriden) | This method returns a complete copy of the shape without any references in common. | |
![]() | BaseShape | BaseShape | This method returns if the targetShape lies within the interior of the current shape. |
![]() | LineBaseShape | This method returns the convex hull of the shape defined as the smallest convex ring that contains all the points in the shape. | |
![]() | BaseShape | BaseShape | This method returns if the current shape and the targetShape share some but not all interior points. |
![]() | Object | ||
![]() | String, DistanceUnit, DistanceCalculationMode | LineBaseShape | |
![]() | BaseShape(overriden) | This method calculates the smallest RectangleShape that encompasses the entire geometry. | |
![]() | BaseShape(overriden) | ||
![]() | BaseShape, GeographyUnit | BaseShape(overriden) | This method returns the point of the current shape that is closest to the target shape. |
![]() | BaseShape | BaseShape(overriden) | This method returns the crossing points between the current shape and the passed-in target shape. |
![]() | BaseShape, GeographyUnit, DistanceUnit | BaseShape(overriden) | This method computes the distance between the current shape and the targetShape. |
![]() | BaseShape | ||
![]() | AreaBaseShape | LineBaseShape | |
![]() | GeographyUnit, DistanceUnit | LineBaseShape(overriden) | This method returns the length of the LineShape. |
![]() | StartingPoint, Double, Double, GeographyUnit, DistanceUnit | This method returns a BaseLineShape, based on a starting position and other factors. | |
![]() | StartingPoint, Double, GeographyUnit, DistanceUnit | This method returns a PointShape on the line, based on a distance on the line from the first or last vertex defined in the startingPoint parameter. | |
![]() | BaseShape, GeographyUnit | BaseShape | This method returns the shortest LineShape between this shape and the targetShape parameter. |
![]() | RingOrder, WkbByteOrder | BaseShape | This method returns a byte array that represents the shape in well-known binary. |
![]() | RingOrder | BaseShape(overriden) | This method returns the well-known text representation of this shape. |
![]() | BaseShape(overriden) | This method returns the well-known type for the shape. | |
![]() | BaseShape | BaseShape | This method returns if the current shape and the targetShape have at least one point in common. |
![]() | This method determines whether the line is closed, meaning that the last point and first point are the same. | ||
![]() | BaseShape | BaseShape | This method returns if the current shape and the targetShape have no points in common. |
![]() | BaseShape | BaseShape | This method returns if the current shape and the targetShape are topologically equal. |
![]() | BaseShape | BaseShape | This method returns if the current shape lies within the interior of the targetShape. |
![]() | Byte[] | BaseShape(overriden) | This method hydrates the current shape with its data from well-known binary. |
![]() | String | BaseShape(overriden) | This method hydrates the current shape with its data from well-known text. |
![]() | Object | ||
![]() | BaseShape | BaseShape | This method returns if the current shape and the targetShape share some but not all points in common. |
![]() | PointShape, PointShape, DistanceUnit, GeographyUnit | BaseShape(overriden) | This method returns a BaseShape which has been registered from its original coordinate system to another, based on two anchor PointShapes. |
![]() | This method reverses the order of the points in the line. | ||
![]() | PointShape, Single | BaseShape(overriden) | This method rotates the shape a number of degrees based on a pivot point. |
![]() | Double | LineBaseShape(overriden) | This method decreases the size of the LineShape by the percentage given in the percentage parameter. |
![]() | Double | BaseShape | This method increases or decreases the size of the shape by the specified scale factor given in the parameter. |
![]() | Double | LineBaseShape(overriden) | This method increases the size of the LineShape by the percentage given in the percentage parameter. |
![]() | Double, SimplificationType | LineBaseShape | Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType. |
![]() | BaseShape | BaseShape | This method returns if the current shape and the targetShape have at least one boundary point in common, but no interior points. |
![]() | Double, Double, GeographyUnit, DistanceUnit | BaseShape(overriden) | This method moves the base shape from one location to another based on a distance and a direction in degrees. |
![]() | Double, Double, GeographyUnit, DistanceUnit | BaseShape(overriden) | This method moves the base shape from one location to another based on an X and Y offset distance. |
![]() | IEnumerable<LineBaseShape> | LineBaseShape | The protected virtual method used by “Union” that you can overwrite to implement your own logic. |
![]() | ShapeValidationMode | BaseShape(overriden) | This method returns a ShapeValidationResult based on a series of tests. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | Boolean | BaseShape(overriden) | This property specifies whether the shape can be rotated. |
![]() | String | BaseShape | The id of the shape. |
![]() | Object | BaseShape | The tag of the shape. |
![]() | Collection<Vertex> | This property is the collection of points that make up the LineShape. |
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|
This constructor creates the LineShape.
This overload creates the LineShape without any points.
Name | Type | Description |
---|
This constructor creates the LineShape.
This overload creates the LineShape with a vertex collection.
Name | Type | Description |
---|---|---|
points | IEnumerable<Vertex><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.Vertex} –> |
This constructor creates the LineShape.
This constructor allows you to build the shape from well-known text.
Name | Type | Description |
---|---|---|
wellKnownText | String<!– System.String –> | This parameter is the well-known text used to build the shape. |
This constructor creates the LineShape.
This constructor allows you to build the shape from well-known binary.
Name | Type | Description |
---|---|---|
wellKnownBinary | Byte[]<!– System.Bytethinkgeo.mapsuite.core.lineshape –> | This parameter is the well-known binary used to build the shape. |
This method computes the area containing all of the points within a given distance from this shape.
This method computes the area containing all of the points within a given distance from this shape.
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 Type | Description |
---|---|
MultipolygonShape<!– ThinkGeo.MapSuite.Core.MultipolygonShape –> | The return type is a MultiPolygonShape that represents all of the points within a given distance from the shape. |
Name | Type | Description |
---|---|---|
distance | Double<!– System.Double –> | The distance is the number of units to buffer the current shape. The distance unit will be the one specified in the distanceUnit parameter. |
quadrantSegments | Int32<!– System.Int32 –> | The quadrant segments are the number of points in each quarter circle. A good default is 8, but if you want smoother edges you can increase this number. The valid range for this number is from 3 to 100. |
bufferCapType | BufferCapType<!– ThinkGeo.MapSuite.Core.BufferCapType –> | The bufferCapType determines how the caps of the buffered object look. They range from rounded to squared off. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This is the geographic unit of the shape you are performing the operation on. |
distanceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This is the distance unit you would like to use as the distance. For example, if you select miles as your distanceUnit, then the distance will be calculated in miles for the operation. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method computes the area containing all of the points within a given distance from this shape.
This method computes the area containing all of the points within a given distance from this shape. In this case, you will be using the rounded RoundedBufferCapStyle and the default 8 quadrant segments. The distance unit is determined by the distanceUnit argument.
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 Type | Description |
---|---|
MultipolygonShape<!– ThinkGeo.MapSuite.Core.MultipolygonShape –> | The return type is a MultiPolygonShape that represents all of the points within a given distance from the shape. |
Name | Type | Description |
---|---|---|
distance | Double<!– System.Double –> | The distance is the number of units to buffer the current shape. The distance unit will be the one specified in the distanceUnit parameter. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This is the geographic unit of the shape you are performing the operation on. |
distanceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This is the distance unit you would like to use as the distance. For example, if you select miles as your distanceUnit, then the distance will be calculated in miles for the operation. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method computes the area containing all of the points within a given distance from this shape.
This method computes the area containing all of the points within a given distance from this shape. In this case, you will be using the rounded RoundedBufferCapStyle. The distance unit is determined by the distanceUnit argument.
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 Type | Description |
---|---|
MultipolygonShape<!– ThinkGeo.MapSuite.Core.MultipolygonShape –> | The return type is a MultiPolygonShape that represents all of the points within a given distance from the shape. |
Name | Type | Description |
---|---|---|
distance | Double<!– System.Double –> | The distance is the number of units to buffer the current shape. The distance unit will be the one specified in the distanceUnit parameter. |
quadrantSegments | Int32<!– System.Int32 –> | The quadrant segments are the number of points in each quarter circle. A good default is 8, but if you want smoother edges you can increase this number. The valid range for this number is from 3 to 100. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This is the geographic unit of the shape you are performing the operation on. |
distanceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This is the distance unit you would like to use as the distance. For example, if you select miles as your distanceUnit, then the distance will be calculated in miles for the operation. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns a complete copy of the shape without any references in common.
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 Type | Description |
---|---|
BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | This method returns a complete copy of the shape without any references in common. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns if the targetShape lies within the interior of the current shape.
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 Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the targetShape lies within the interior of the current shape. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns if the targetFeature lies within the interior of the current shape.
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 Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the targetFeature lies within the interior of the current shape. |
Name | Type | Description |
---|---|---|
targetFeature | Feature<!– ThinkGeo.MapSuite.Core.Feature –> | The targetFeature that contains a shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
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.
Return Type | Description |
---|---|
RingShape<!– ThinkGeo.MapSuite.Core.RingShape –> | This method returns a RingShape defined as the smallest convex ring that contains all the points in the shape. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
<!– static –>
Return Type | Description |
---|---|
BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> |
Name | Type | Description |
---|---|---|
geoJson | String<!– System.String –> |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
<!– static –> This method creates a BaseShape from a string of well-known text.
This method creates a BaseShape from a string of 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 have methods that work with well-known binary as well. 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)
Return Type | Description |
---|---|
BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The return type is a higher level shape constructed from the well-known text you passed into the method. Though the object is a higher level shape, such as a PolygonShape or MultiPointShape, you will need to cast it to that shape in order to use its unique properties. |
Name | Type | Description |
---|---|---|
wellKnownText | String<!– System.String –> | A string representing the geometry in well-known text format. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
<!– static –> This method creates a BaseShape from a string of well-known binary.
This method creates a BaseShape from a string of 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 have methods that work with well-known text as well.
Return Type | Description |
---|---|
BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The return type is a higher level shape constructed from the well-known binary you passed into the method. Though the object is a higher level shape, such as a PolygonShape or MultiPointShape, you will need to cast it to that shape in order to use its unique properties. |
Name | Type | Description |
---|---|---|
wellKnownBinary | Byte[]<!– System.Bytethinkgeo.mapsuite.core.lineshape –> | An array of bytes representing the geometry in well-known binary format. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns if the current shape and the targetFeature share some but not all interior points.
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 Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the current shape and the targetFeature share some but not all interior points. |
Name | Type | Description |
---|---|---|
targetFeature | Feature<!– ThinkGeo.MapSuite.Core.Feature –> | The targetFeature that contains a shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns if the current shape and the targetShape share some but not all interior points.
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 Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the current shape and the targetShape share some but not all interior points. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Double<!– System.Double –> |
Name | Type | Description |
---|---|---|
shapeProj4ProjectionParameters | String<!– System.String –> | |
returningUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | |
distanceCalculationMode | DistanceCalculationMode<!– ThinkGeo.MapSuite.Core.DistanceCalculationMode –> |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
Return Type | Description |
---|---|
Double<!– System.Double –> |
Name | Type | Description |
---|---|---|
shapeSrid | Int32<!– System.Int32 –> | |
returningUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | |
distanceCalculationMode | DistanceCalculationMode<!– ThinkGeo.MapSuite.Core.DistanceCalculationMode –> |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
This method calculates the smallest RectangleShape that encompasses the entire geometry.
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 longer for larger objects.
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.
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 Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> | The RectangleShape returned is the smallest RectangleShape that can encompass the entire geometry. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns the center point of the current shape's bounding box.
This method returns the center point of the current shape's bounding box. It is important to note that this is the center point of the bounding box. There are numerous ways to calculate the “center” of a geometry, such as its weighted center, etc. You can find other centers by examining the various methods of the shape itself.
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 Type | Description |
---|---|
PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | A PointShape representing the center point of the current shape's bounding box. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns the point of the current shape that is closest to the target feature.
This method returns the point of the current shape that is closest to the target feature. 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 targetFeature to be a point midway between the points but a short distance away from the line, the method would return a point that is on the line but not either of the two points that make up the line.
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 Type | Description |
---|---|
PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | A PointShape representing the closest point of the current shape to the targetFeature. |
Name | Type | Description |
---|---|---|
targetFeature | Feature<!– ThinkGeo.MapSuite.Core.Feature –> | The feature you are trying to find the closest point to. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | The geographic unit of the feature you are trying to find the closet point to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns the point of the current shape that is closest to the target shape.
This method returns the 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 from the line, the method would return a point that is on the line but not either of the two points that make up the line.
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 Type | Description |
---|---|
PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | A PointShape representing the closest point of the current shape to the targetShape. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you are trying to find the closest point to. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | The geographic unit of the shape you are trying to find the closet point to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns the crossing points between the current shape and the passed-in target shape.
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 Type | Description |
---|---|
MultipointShape<!– ThinkGeo.MapSuite.Core.MultipointShape –> | This method returns the crossing points between the current shape and the passed-in target shape. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The target shape you wish to get crossing points with. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method computes the distance between the current shape and the targetShape.
In this method we compute the closest distance between the two shapes. The returned unit will be in the unit of distance specified.
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 Type | Description |
---|---|
Double<!– System.Double –> | The return type is the distance between this shape and the targetShape in the GeographyUnit of the shape. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you are trying to find the distance to. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This parameter is the unit of the shape you are getting the distance to. |
distanceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This parameter is the unit of the distance you want the return value to be in. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method computes the distance between the current shape and the targetFeature.
In this method we compute the closest distance between a shape and a feature. The returned unit will be in the unit of distance specified.
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 Type | Description |
---|---|
Double<!– System.Double –> | The return type is the distance between this shape and the targetFeature in the GeographyUnit of the shape. |
Name | Type | Description |
---|---|---|
targetFeature | Feature<!– ThinkGeo.MapSuite.Core.Feature –> | The feature you are trying to find the distance to. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This parameter is the unit of the shape which is contained in the targetFeature you are getting the distance to. |
distanceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This parameter is the unit of the distance you want the return value to be in. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
Get a corresponding feature which has the same Id and BaseShape as the current shape. Additionally, pass the specified columnValues into the returned feature.
Return Type | Description |
---|---|
Feature<!– ThinkGeo.MapSuite.Core.Feature –> | The feature with the same Id and BaseShape as the current BaseShape and with empty columnValues in it, substituted with the passed-in columnValues. |
Name | Type | Description |
---|---|---|
columnValues | IDictionary<String,String><!– System.Collections.Generic.IDictionary{System.String,System.String} –> | The columnValues will be passed into returning feature. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
Get a corresponding feature which has the same Id and BaseShape as the current shape.
Return Type | Description |
---|---|
Feature<!– ThinkGeo.MapSuite.Core.Feature –> | The feature with the same Id and BaseShape as the current BaseShape, and with empty columnValues in it. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
MultilineShape<!– ThinkGeo.MapSuite.Core.MultilineShape –> |
Name | Type | Description |
---|---|---|
targetFeature | Feature<!– ThinkGeo.MapSuite.Core.Feature –> |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
Return Type | Description |
---|---|
MultilineShape<!– ThinkGeo.MapSuite.Core.MultilineShape –> |
Name | Type | Description |
---|---|---|
targetShape | AreaBaseShape<!– ThinkGeo.MapSuite.Core.AreaBaseShape –> |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
This method returns the length of the line shape.
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 Type | Description |
---|---|
Double<!– System.Double –> | This overload returns the length in the unit of your choice, based on the returningUnit parameter specified. |
Name | Type | Description |
---|---|---|
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This is the GeographyUnit of the shape you are performing the operation on. |
returningUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.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. |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
This method returns a BaseLineShape, based on a starting position and other factors.
This overload allows you to specify the starting point and another point.
Return Type | Description |
---|---|
LineBaseShape<!– ThinkGeo.MapSuite.Core.LineBaseShape –> | This method returns a BaseLineShape, based on a starting position and other factors. |
Name | Type | Description |
---|---|---|
startingPoint | StartingPoint<!– ThinkGeo.MapSuite.Core.StartingPoint –> | The startingPoint defines whether the method starts at the beginning or the end of the line. |
endPointShape | PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | The BaseLineShape returned will be between the startingPoint and the endPointShape specified in this parameter. |
<!– ThinkGeo.MapSuite.Core.LineShape –> Go Back
This method returns a BaseLineShape, based on a starting position and other factors.
This overload allows you to specify the starting point along with the starting distance. This allows you to get a certain distance of the line after the starting distance.
Return Type | Description |
---|---|
LineBaseShape<!– ThinkGeo.MapSuite.Core.LineBaseShape –> | This method returns a BaseLineShape, based on a starting position and other factors. |
Name | Type | Description |
---|---|---|
startingPoint | StartingPoint<!– ThinkGeo.MapSuite.Core.StartingPoint –> | The startingPoint defines whether the method starts at the beginning or the end of the line. |
startingDistance | Double<!– System.Double –> | The starting distance from which you will start getting the line. For example, if the line is 3 units long and you have a starting distance of 1 unit, the result will be the last two units of the line. Valid values must be greater than 0. The starting distance will be in the GeographyUnit of the shape. |
distance | Double<!– System.Double –> | The amount of the line you want to get after the startingDistance. Valid values must be greater than 0. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This is the GeographyUnit of the shape you are performing the operation on. |
distanceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This is the DistanceUnit you would like to use for the distance parameter. For example, if you select miles as your distanceUnit, then the distance will be measured in miles. |
<!– ThinkGeo.MapSuite.Core.LineShape –> Go Back
This method returns a BaseLineShape, based on a starting position and other factors.
This overload allows you to pass the starting point and percentage of the line.
Return Type | Description |
---|---|
LineBaseShape<!– ThinkGeo.MapSuite.Core.LineBaseShape –> | This method returns a BaseLineShape, based on a starting position and other factors. |
Name | Type | Description |
---|---|---|
startingPoint | StartingPoint<!– ThinkGeo.MapSuite.Core.StartingPoint –> | The startingPoint defines whether the method starts at the beginning or the end of the line. |
percentageOfLine | Single<!– System.Single –> | This parameter defines the percentage into the line. Valid values must be greater than 0 and less than or equal to 100. |
<!– ThinkGeo.MapSuite.Core.LineShape –> Go Back
This method returns a BaseLineShape, based on a starting position and other factors.
This overload allows you to pass the starting point, starting percentage of the line and percentage of the line.
Return Type | Description |
---|---|
LineBaseShape<!– ThinkGeo.MapSuite.Core.LineBaseShape –> | This method returns a BaseLineShape, based on a starting position and other factors. |
Name | Type | Description |
---|---|---|
startingPoint | StartingPoint<!– ThinkGeo.MapSuite.Core.StartingPoint –> | The startingPoint defines whether the method starts at the beginning or the end of the line. |
startingPercentageOfTheLine | Single<!– System.Single –> | This parameter defines the starting percentage into the line. Valid values must be greater than 0 and less than or equal to 100. |
percentageOfTheLine | Single<!– System.Single –> | This parameter defines the percentage into the line. Valid values must be greater than 0 and less than or equal to 100. |
<!– ThinkGeo.MapSuite.Core.LineShape –> Go Back
This method returns a BaseLineShape, based on a starting position and other factors.
This overload allows you to pass in two points to get a BaseLineShape from the original LineShape.
Return Type | Description |
---|---|
LineBaseShape<!– ThinkGeo.MapSuite.Core.LineBaseShape –> | This method returns a BaseLineShape based on a start PointShape and an end PointShape. |
Name | Type | Description |
---|---|---|
startPointShape | PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | The startPointShape defines where you will start to get the line. If it does not stand on this LineShape, the closest point on the LineShape will be the start PointShape. |
endPointShape | PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | The endPointShape defines where you will stop getting the line. If it does not stand on this LineShape, the closest point on the LineShape will be the end PointShape. |
<!– ThinkGeo.MapSuite.Core.LineShape –> Go Back
This method returns a PointShape on the line, based on a percentage of the length of the line from the first or last vertex defined in the startingPoint parameter.
This overload allows you to pass a percentage determining how far you want to move along the line, as well as the option for starting from either the beginning or the end of the line.
If you pass 100 or 0 as the percentage of the line, it will return either the first or last vertex, depending on the value of the startingPoint argument.
Return Type | Description |
---|---|
PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | This method returns a PointShape on the line, based on a percentage of the length of the line from the first or last vertex defined in the startingPoint parameter. |
Name | Type | Description |
---|---|---|
startingPoint | StartingPoint<!– ThinkGeo.MapSuite.Core.StartingPoint –> | The startingPoint defines whether the method starts at the beginning or the end of the line. |
percentageOfLine | Single<!– System.Single –> | This parameter defines the percentage into the line. Valid values are between 0 and 100. |
<!– ThinkGeo.MapSuite.Core.LineShape –> Go Back
This method returns a PointShape on the line, based on a distance on the line from the first or last vertex defined in the startingPoint parameter.
This overload allows you to pass a distance determining how far you want to move along the line using your unit of choice, as well as the option to start from the beginning or the end of the line.
Passing in a 0 distance will return either the first or last point on the line, depending upon the value of the startingPoint parameter.
Return Type | Description |
---|---|
PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | This method returns a PointShape on the line, based on a distance on the line from the first or last vertex defined in the startingPoint parameter. |
Name | Type | Description |
---|---|---|
startingPoint | StartingPoint<!– ThinkGeo.MapSuite.Core.StartingPoint –> | The startingPoint defines whether the method starts at the beginning or the end of the line. |
distance | Double<!– System.Double –> | This parameter specifies the distance into the line you wish to move in the unit specified by the distanceUnit parameter. Valid values must be greater than or equal to 0. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This is the GeographyUnit of the shape you are performing the operation on. |
distanceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This is the DistanceUnit you would like to use for the distance parameter. For example, if you select miles as your distanceUnit, then the distance will be measured in miles. |
<!– ThinkGeo.MapSuite.Core.LineShape –> Go Back
This method returns the shortest LineShape between this shape and the targetFeature. parameter.
This method returns a MultiLineShape representing the shortest distance between the shape you're calling the method on and the targetShape. In some instances, based on the GeographicType or Projection, the line may not be straight. This is effect is similar to what you might see on an international flight when the displayed flight path is curved.
Overriding:
Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Type | Description |
---|---|
MultilineShape<!– ThinkGeo.MapSuite.Core.MultilineShape –> | A MultiLineShape representing the shortest distance between the shape you're calling the method on and the targetFeature. |
Name | Type | Description |
---|---|---|
targetFeature | Feature<!– ThinkGeo.MapSuite.Core.Feature –> | The feature you are trying to find the distance to. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | The geographic unit of the feature you are trying to find the distance to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns the shortest LineShape between this shape and the targetShape parameter.
This method returns a LineShape representing the shortest distance between the shape you're calling the method on and the targetShape. In some instances, based on the GeographicType or Projection, the line may not be straight. This effect is similar to what you might see on an international flight when the displayed flight path is curved.
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 Type | Description |
---|---|
MultilineShape<!– ThinkGeo.MapSuite.Core.MultilineShape –> | A LineShape representing the shortest distance between the shape you're calling the method on and the targetShape. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you are trying to find the distance to. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | The geographic unit of the Shape you are trying to find the distance to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method returns a byte array that represents the shape in well-known binary.
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 have methods that work with well known text 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 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 Type | Description |
---|---|
Byte[]<!– System.Bytethinkgeo.mapsuite.core.lineshape –> | This method returns a byte array that represents the shape in well-known binary. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns a byte array that represents the shape in well-known binary.
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 have methods that work with well known text 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 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 Type | Description |
---|---|
Byte[]<!– System.Bytethinkgeo.mapsuite.core.lineshape –> | This method returns a byte array that represents the shape in well-known binary. |
Name | Type | Description |
---|---|---|
byteOrder | WkbByteOrder<!– ThinkGeo.MapSuite.Core.WkbByteOrder –> | This parameter is the byte order used to encode the well-known binary. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
Return Type | Description |
---|---|
Byte[]<!– System.Bytethinkgeo.mapsuite.core.lineshape –> |
Name | Type | Description |
---|---|---|
outerRingOrder | RingOrder<!– ThinkGeo.MapSuite.Core.RingOrder –> |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
Return Type | Description |
---|---|
Byte[]<!– System.Bytethinkgeo.mapsuite.core.lineshape –> |
Name | Type | Description |
---|---|---|
outerRingOrder | RingOrder<!– ThinkGeo.MapSuite.Core.RingOrder –> | |
byteOrder | WkbByteOrder<!– ThinkGeo.MapSuite.Core.WkbByteOrder –> |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns the well-known text representation of this shape.
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 have methods that work with well-known binary as well. 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)
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 Type | Description |
---|---|
String<!– System.String –> | This method returns a string that represents the shape in well-known text. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns the well-known text representation of this shape.
This method returns a stringthat 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 have methods that work with well-known binary as well. 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)
POLYGON9)
MULTIPOINT(3.7 9.7,4.9 11.6)
MULTILINESTRING10)
Overriding:
Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Type | Description |
---|---|
String<!– System.String –> | This method returns a string that represents the shape in well-known text. |
Name | Type | Description |
---|---|---|
outerRingOrder | RingOrder<!– ThinkGeo.MapSuite.Core.RingOrder –> |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns the well-known type for the shape.
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 Type | Description |
---|---|
WellKnownType<!– ThinkGeo.MapSuite.Core.WellKnownType –> | This method returns the well-known type for the shape. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns if the current shape and the targetFeature have at least one point in common.
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 Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the current shape and the targetFeature have at least one point in common. |
Name | Type | Description |
---|---|---|
targetFeature | Feature<!– ThinkGeo.MapSuite.Core.Feature –> | The targetFeature you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns if the current shape and the targetShape have at least one point in common.
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 Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the current shape and the targetShape have at least one point in common. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method determines whether the line is closed, meaning that the last point and first point are the same.
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> | The return value indicating whether the line is closed. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.LineShape –> Go Back
This method returns if the current shape and the targetFeature have no points in common.
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the current shape and the targetFeature have no points in common. 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. |
Name | Type | Description |
---|---|---|
targetFeature | Feature<!– ThinkGeo.MapSuite.Core.Feature –> | The feature you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns if the current shape and the targetShape have no points in common.
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the current shape and the targetShape have no points in common. 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. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns if the current shape and the targetFeature are topologically equal.
Topologically equal means that the shapes are essentially the same. For example, let's say you have a line with two points, point A and point B. You also have another line that is made up of point A, point B and point C. Point A of line one shares the same vertex as point A of line two, and point B of line one shares the same vertex as point C of line two. They are both straight lines, so point B of line two would lie on the first line. Essentially the two lines are the same, with line 2 having just one extra point. Topologically they are the same line, so this method would return true.
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 Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the current shape and the targetFeature are topologically equal. |
Name | Type | Description |
---|---|---|
targetFeature | Feature<!– ThinkGeo.MapSuite.Core.Feature –> | The targetFeature that contains a shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns if the current shape and the targetShape are topologically equal.
Topologically equal means that the shapes are essentially the same. For example, let's say you have a line with two points, point A and point B. You also have another line that is made up of point A, point B and point C. Point A of line one shares the same vertex as point A of line two, and point B of line one shares the same vertex as point C of line two. They are both straight lines, so point B of line two would lie on the first line. Essentially the two lines are the same, with line 2 having just one extra point. Topologically they are the same line, so this method would return true.
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 Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the current shape and the targetShape are topologically equal. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns if the current shape lies within the interior of the targetShape.
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 Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the current shape lies within the interior of the targetShape. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns if the current shape lies within the interior of the targetFeature.
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 Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the current shape lies within the interior of the targetFeature. |
Name | Type | Description |
---|---|---|
targetFeature | Feature<!– ThinkGeo.MapSuite.Core.Feature –> | The targetFeature that contains a shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method hydrates the current shape with its data from well-known text.
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 Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
wellKnownText | String<!– System.String –> | This parameter is the well-known text you will use to hydrate your object. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method hydrates the current shape with its data from well-known binary.
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.
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 Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
wellKnownBinary | Byte[]<!– System.Bytethinkgeo.mapsuite.core.lineshape –> | This parameter is the well-known binary used to populate the shape. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns if the current shape and the targetFeature share some but not all points in common.
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 Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the current shape and the targetFeature share some but not all points in common. |
Name | Type | Description |
---|---|---|
targetFeature | Feature<!– ThinkGeo.MapSuite.Core.Feature –> | The targetFeature that contains a shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns if the current shape and the targetShape share some but not all points in common.
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 Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the current shape and the targetShape share some but not all points in common. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns a BaseShape which has been registered from its original coordinate system to another based on two anchor PointShapes.
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.
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 Type | Description |
---|---|
BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | This method returns a BaseShape which has been registered from its original coordinate system to another based on two anchor PointShapes. |
Name | Type | Description |
---|---|---|
fromPoint | PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | This parameter is the anchor PointShape in the coordinate of origin. |
toPoint | PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | This parameter is the anchor PointShape in the coordinate of destination. |
fromUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This parameter is the DistanceUnit of the coordinate of origin. |
toUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This parameter is the GeographyUnit of the coordinate of destination. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns a BaseShape which has been registered from its original coordinate system to another based on two anchor PointShapes.
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.
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 Type | Description |
---|---|
BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | This method returns a BaseShape which has been registered from its original coordinate system to another based on two anchor PointShapes. |
Name | Type | Description |
---|---|---|
fromPoint | Feature<!– ThinkGeo.MapSuite.Core.Feature –> | This parameter is the anchor PointFeature in the coordinate of origin. |
toPoint | Feature<!– ThinkGeo.MapSuite.Core.Feature –> | This parameter is the anchor PointFeature in the coordinate of destination. |
fromUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This parameter is the DistanceUnit of the coordinate of origin. |
toUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This parameter is the GeographyUnit of the coordinate of destination. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
<!– static –> This method removes the selected vertex from line shape.
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> | If remove sucess it will return true, otherwise return false. |
Name | Type | Description |
---|---|---|
selectedVertex | Vertex<!– ThinkGeo.MapSuite.Core.Vertex –> | The selected vertex must be a vertex of line shape, otherwise it will return false and line shape will keep the same. |
lineShape | LineShape<!– ThinkGeo.MapSuite.Core.LineShape –> | The line shape will be removed one vertex. |
<!– ThinkGeo.MapSuite.Core.LineShape –> Go Back
This method removes the selected vertex from line shape.
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> | If remove sucess it will return true, otherwise return false. |
Name | Type | Description |
---|---|---|
selectedVertex | Vertex<!– ThinkGeo.MapSuite.Core.Vertex –> | The selected vertex must be a vertex of line shape, otherwise it will return false and line shape will keep the same. |
<!– ThinkGeo.MapSuite.Core.LineShape –> Go Back
This method reverses the order of the points in the line.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.LineShape –> Go Back
<!– static –> This method returns a feature rotated by a number of degrees based on a pivot point.
This method returns a feature rotated by a number of degrees based on a pivot point. By placing the pivot point in the center of the feature you can achieve in-place rotation. By moving the pivot point outside of the center of the feature you can translate the feature in a circular motion. Moving the pivot point further outside of the center will make the circular area larger.
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 Type | Description |
---|---|
BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | This method returns a shape rotated by a number of degrees based on a pivot point. |
Name | Type | Description |
---|---|---|
targetFeature | Feature<!– ThinkGeo.MapSuite.Core.Feature –> | This parameter is the basis for the rotation. |
pivotPoint | PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | The pivotPoint represents the center of rotation. |
degreeAngle | Single<!– System.Single –> | The number of degrees of rotation required, from 0 to 360. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method rotates a shape a number of degrees based on a pivot point.
This method returns a shape rotated by a number of degrees based on a pivot point. By placing the pivot point in the center of the shape you can achieve 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 outside of the center will make the circular area larger.
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 Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
pivotPoint | PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | The pivotPoint represents the center of rotation. |
degreeAngle | Single<!– System.Single –> | The number of degrees of rotation required, from 0 to 360. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
<!– static –> This method returns a shape rotated by a number of degrees based on a pivot point.
This method returns a shape rotated by a number of degrees based on a pivot point. By placing the pivot point in the center of the shape you can achieve 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 outside of the center will make the circular area larger.
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 Type | Description |
---|---|
BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | This method returns a shape rotated by a number of degrees based on a pivot point. |
Name | Type | Description |
---|---|---|
sourceBaseShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | This parameter is the basis for the rotation. |
pivotPoint | PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | The pivotPoint represents the center of rotation. |
degreeAngle | Single<!– System.Single –> | The number of degrees of rotation required, from 0 to 360. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
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.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
percentage | Double<!– System.Double –> | This is the percentage by which to decrease the shape�s size. |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
<!– static –> 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.
Return Type | Description |
---|---|
LineBaseShape<!– ThinkGeo.MapSuite.Core.LineBaseShape –> | a scaled down line type shape. |
Name | Type | Description |
---|---|---|
sourceLineBaseShape | LineBaseShape<!– ThinkGeo.MapSuite.Core.LineBaseShape –> | This parameter is the basis for the scale up up but is not modified. |
percentage | Double<!– System.Double –> | This is the percentage by which to decrease the shape�s size. |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
<!– static –> 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.
Return Type | Description |
---|---|
Feature<!– ThinkGeo.MapSuite.Core.Feature –> | a scaled down line type feature. |
Name | Type | Description |
---|---|---|
sourceLine | Feature<!– ThinkGeo.MapSuite.Core.Feature –> | This parameter is the basis for the scale up up but is not modified. |
percentage | Double<!– System.Double –> | This is the percentage by which to decrease the shape�s size. |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
This method increases or decreases the size of the shape by the specified scale factor given in the parameter.
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 Type | Description |
---|---|
Void<!– System.Void –> | This method is useful when you would like to increase or decrease the size of the shape. |
Name | Type | Description |
---|---|---|
scale | Double<!– System.Double –> | Pepresents a value which scaleFactor to |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
<!– static –> This method increases or decreases the size of the shape by the specified scale factor given in the parameter.
It will call the instanced method ScaleTo internally.
Return Type | Description |
---|---|
BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | This method is useful when you would like to increase or decrease the size of the shape. |
Name | Type | Description |
---|---|---|
baseShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | Represents a shape which you want to resize |
scale | Double<!– System.Double –> | Pepresents a value which scaleFactor to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
<!– static –> 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.
Return Type | Description |
---|---|
Feature<!– ThinkGeo.MapSuite.Core.Feature –> | a scaled line type feature. |
Name | Type | Description |
---|---|---|
sourceLine | Feature<!– ThinkGeo.MapSuite.Core.Feature –> | This parameter is the basis for the scale up up but is not modified. |
percentage | Double<!– System.Double –> | This is the percentage by which to increase the shape�s size. |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
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.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
percentage | Double<!– System.Double –> | This is the percentage by which to increase the shape�s size. |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
<!– static –> 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.
Return Type | Description |
---|---|
LineBaseShape<!– ThinkGeo.MapSuite.Core.LineBaseShape –> | a scaled line type shape. |
Name | Type | Description |
---|---|---|
sourceShape | LineBaseShape<!– ThinkGeo.MapSuite.Core.LineBaseShape –> | This parameter is the basis for the scale up up but is not modified. |
percentage | Double<!– System.Double –> | This is the percentage by which to increase the shape�s size. |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
<!– static –> Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.
Return Type | Description |
---|---|
MultilineShape<!– ThinkGeo.MapSuite.Core.MultilineShape –> | Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType. |
Name | Type | Description |
---|---|---|
targetShape | LineBaseShape<!– ThinkGeo.MapSuite.Core.LineBaseShape –> | target shape which will be simplified. |
tolerance | Double<!– System.Double –> | distance tolerance |
simplificationType | SimplificationType<!– ThinkGeo.MapSuite.Core.SimplificationType –> | Specifies which algorthm will be use to simplify. |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
<!– static –> Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.
Return Type | Description |
---|---|
MultilineShape<!– ThinkGeo.MapSuite.Core.MultilineShape –> | Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType. |
Name | Type | Description |
---|---|---|
targetShape | LineBaseShape<!– ThinkGeo.MapSuite.Core.LineBaseShape –> | target shape which will be simplified. |
targetShapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | the geography unit of the target shape |
tolerance | Double<!– System.Double –> | distance tolerance |
toleranceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | the distance unit of tolerance |
simplificationType | SimplificationType<!– ThinkGeo.MapSuite.Core.SimplificationType –> | Specifies which algorthm will be use to simplify. |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.
Return Type | Description |
---|---|
MultilineShape<!– ThinkGeo.MapSuite.Core.MultilineShape –> | Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType. |
Name | Type | Description |
---|---|---|
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | the geography unit of the target shape |
tolerance | Double<!– System.Double –> | distance tolerance |
toleranceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | the distance unit of tolerance |
simplificationType | SimplificationType<!– ThinkGeo.MapSuite.Core.SimplificationType –> | Specifies which algorthm will be use to simplify. |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.
Return Type | Description |
---|---|
MultilineShape<!– ThinkGeo.MapSuite.Core.MultilineShape –> | Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType. |
Name | Type | Description |
---|---|---|
tolerance | Double<!– System.Double –> | distance tolerance |
simplificationType | SimplificationType<!– ThinkGeo.MapSuite.Core.SimplificationType –> | Specifies which algorthm will be use to simplify. |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
This method generates a PolygonShape based the vertexes of the line.
Return Type | Description |
---|---|
PolygonShape<!– ThinkGeo.MapSuite.Core.PolygonShape –> | A generated polygon based on the vertexes of the line, otherwise return null. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.LineShape –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method returns of the current shape and the targetFeature have at least one boundary point in common, but no interior points.
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 Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns of the current shape and the targetFeature have at least one boundary point in common, but no interior points. |
Name | Type | Description |
---|---|---|
targetFeature | Feature<!– ThinkGeo.MapSuite.Core.Feature –> | The targetFeature which contains a shape that you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns if the current shape and the targetShape have at least one boundary point in common, but no interior points.
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 Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the current shape and the targetShape have at least one boundary point in common, but no interior points. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method moves a base shape from one location to another based on a distance and a direction in degrees.
This method moves a base shape from one location to another based on angleInDegrees and distance parameter. With this overload, it is important to note that the distance is based on the supplied distanceUnit parameter. For example, if your shape is in decimal degrees and you call this method with a distanceUnit of miles, you're going to move this shape a number of miles based on the distance value 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.
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 Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
distance | Double<!– System.Double –> | 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 | Double<!– System.Double –> | A number between 0 and 360 degrees that represents the direction you wish to move the shape, with 0 being up. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method moves a base shape from one location to another based on a distance and a direction in degrees.
This method moves a base shape from one location to another based on angleInDegrees and distance parameter. With this overload, it is important to note that the distance is based on the supplied distanceUnit parameter. For example, if your shape is in decimal degrees and you call this method with a distanceUnit of miles, you're going to move this shape a number of miles based on the distance value 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.
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 Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
distance | Double<!– System.Double –> | 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 | Double<!– System.Double –> | A number between 0 and 360 degrees that represents the direction you wish to move the shape, with 0 being up. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This is the geographic unit of the shape you are performing the operation on. |
distanceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This is the DistanceUnit you would like to use as the measure of the translate. For example if you select miles as your distanceUnit then the distance will be calculated in miles. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
<!– static –> This method returns a feature repositioned from one location to another, based on a distance and a direction in degrees.
This method returns a feature repositioned from one location to another based on angleInDegrees and distance parameter. With this overload, it is important to note that the distance is based on the supplied distanceUnit parameter. For example, if your shape is in decimal degrees and you call this method with a distanceUnit of miles, you're going to move this feature a number of miles based on the distance value 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.
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 Type | Description |
---|---|
BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | This method returns a feature repositioned from one location to another, based on a distance and a direction in degrees. |
Name | Type | Description |
---|---|---|
targetFeature | Feature<!– ThinkGeo.MapSuite.Core.Feature –> | This parameter is the basis of the move. |
distance | Double<!– System.Double –> | 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 | Double<!– System.Double –> | A number between 0 and 360 degrees that represents the direction you wish to move the feature, with 0 being up. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This is the geographic unit of the shape you are performing the operation on. |
distanceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This is the distance unit you would like to use as the measure for the move. For example, if you select miles as your distance unit, then the distance will be calculated in miles. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
<!– static –> This method returns a shape repositioned from one location to another based on a distance and a direction in degrees.
This method returns a shape repositioned from one location to another based on angleInDegrees and distance parameter. With this overload, it is important to note that the distance is based on the supplied distanceUnit parameter. For example, if your shape is in decimal degrees and you call this method with a distanceUnit of miles, you're going to move this shape a number of miles based on the distance value 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.
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 Type | Description |
---|---|
BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | This method returns a shape repositioned from one location to another based on a distance and a direction in degrees. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | This parameter is the basis of the move. |
distance | Double<!– System.Double –> | The distance is the number of units to move the shape using the angle specified. The distance unit will be the one specified in the distanceUnit parameter. The distance must be greater than or equal to 0. |
angleInDegrees | Double<!– System.Double –> | A number between 0 and 360 degrees that represents the direction you wish to move the shape, with 0 being up. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This is the geographic unit of the shape you are performing the operation on. |
distanceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This is the distance unit you would like to use as the measure for the move. For example, if you select miles as your distance unit, then the distance will be calculated in miles. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method moves a base shape from one location to another based on an X and Y offset distance.
This method moves a base shape from one location to another based on an X and Y offset distance. With this overload, it is important to note that 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 1 and a Y offset of 1, 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 on the X axis and 3 miles on the Y axis.
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 Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
xOffsetDistance | Double<!– System.Double –> | This is the number of horizontal units of movement in the distance unit specified in the distanceUnit parameter. |
yOffsetDistance | Double<!– System.Double –> | This is the number of horizontal units of movement in the distance unit specified in the distanceUnit parameter. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This is the geographic unit of the base shape you are performing the operation on. |
distanceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This is the distance unit you would like to use as the measure for the move. For example, if you select miles as your distance unit, then the xOffsetDistance and yOffsetDistance will be calculated in miles. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method moves a base shape from one location to another based on an X and Y offset distance.
This method moves a base shape from one location to another based on an X and Y offset distance. With this overload, it is important to note that 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 1 and a Y offset of 1, 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 on the X axis and 3 miles on the Y axis.
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 Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
xOffsetDistance | Double<!– System.Double –> | This is the number of horizontal units of movement in the distance unit specified in the distanceUnit parameter. |
yOffsetDistance | Double<!– System.Double –> | This is the number of horizontal units of movement in the distance unit specified in the distanceUnit parameter. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
<!– static –> This method returns a feature repositioned from one location to another based on an X and Y offset distance.
This method returns a feature repositioned from one location to another based on an X and Y offset distance. With this overload, it is important to note that 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 1 and a Y offset of 1, 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 on the X axis and 3 miles on the Y axis.
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 Type | Description |
---|---|
Feature<!– ThinkGeo.MapSuite.Core.Feature –> | This method returns a feature repositioned from one location to another based on an X and Y offset distance. |
Name | Type | Description |
---|---|---|
targetFeature | Feature<!– ThinkGeo.MapSuite.Core.Feature –> | This parameter is the basis of the moved feature. |
xOffsetDistance | Double<!– System.Double –> | This is the number of horizontal units of movement in the distance unit specified in the distanceUnit parameter. |
yOffsetDistance | Double<!– System.Double –> | This is the number of horizontal units of movement in the distance unit specified in the distanceUnit parameter. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This is the geographic unit of the shape you are performing the operation on. |
distanceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This is the distance unit you would like to use as the measure for the move. For example, if you select miles as your distance unit, then the xOffsetDistance and yOffsetDistance will be calculated in miles. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
<!– static –> This method returns a shape repositioned from one location to another based on an X and Y offset distance.
This method returns a shape repositioned from one location to another based on an X and Y offset distance. With this overload, it is important to note that 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 1 and a Y offset of 1, 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 on the X axis and 3 miles on the Y axis.
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 Type | Description |
---|---|
BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | This method returns a shape repositioned from one location to another based on an X and Y offset distance. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | This parameter is the basis of the moved shape. |
xOffsetDistance | Double<!– System.Double –> | This is the number of horizontal units of movement in the distance unit specified in the distanceUnit parameter. |
yOffsetDistance | Double<!– System.Double –> | This is the number of vertical units of movement in the distance unit specified in the distanceUnit parameter. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This is the geographic unit of the shape you are performing the operation on. |
distanceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This is the distance unit you would like to use as the measure for the move. For example, if you select miles as your distance unit, then the xOffsetDistance and yOffsetDistance will be calculated in miles. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
Return Type | Description |
---|---|
MultilineShape<!– ThinkGeo.MapSuite.Core.MultilineShape –> |
Name | Type | Description |
---|---|---|
targetFeature | Feature<!– ThinkGeo.MapSuite.Core.Feature –> |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
<!– static –>
Return Type | Description |
---|---|
MultilineShape<!– ThinkGeo.MapSuite.Core.MultilineShape –> |
Name | Type | Description |
---|---|---|
targetFeatures | IEnumerable<Feature><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.Feature} –> |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
<!– static –> Calculates a new geometry that contains all the points in this LineBaseShape and input LineBaseShape set.
Return Type | Description |
---|---|
MultilineShape<!– ThinkGeo.MapSuite.Core.MultilineShape –> | A set combining the points of this LineBaseShape and the points of input LineBaseShape set. |
Name | Type | Description |
---|---|---|
lineBaseShapes | IEnumerable<LineBaseShape><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.LineBaseShape} –> |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
Calculates a new geometry that contains all the points in this LineBaseShape and input LineBaseShape
Return Type | Description |
---|---|
MultilineShape<!– ThinkGeo.MapSuite.Core.MultilineShape –> | A set combining the points of this LineBaseShape and the points of input LineBaseShape. |
Name | Type | Description |
---|---|---|
targetShape | LineBaseShape<!– ThinkGeo.MapSuite.Core.LineBaseShape –> | The target LineBasheShape with which to compute the union |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
This method returns a ShapeValidationResult based on a series of tests.
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.
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 Type | Description |
---|---|
ShapeValidationResult<!– ThinkGeo.MapSuite.Core.ShapeValidationResult –> | This method returns a ShapeValidationResult based on a series of tests. |
Name | Type | Description |
---|---|---|
validationMode | ShapeValidationMode<!– ThinkGeo.MapSuite.Core.ShapeValidationMode –> | 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. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method computes the area containing all of the points within a given distance from this shape.
This method computes the area containing all of the points within a given distance from this shape. In this case, you will be using the rounded RoundedBufferCapStyle and the default 8 quadrant segments. The distance unit is determined by the distanceUnit argument.
Overriding:
Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Type | Description |
---|---|
MultipolygonShape<!– ThinkGeo.MapSuite.Core.MultipolygonShape –> | The return type is a MultiPolygonShape that represents all of the points within a given distance from the shape. |
Name | Type | Description |
---|---|---|
distance | Double<!– System.Double –> | The distance is the number of units to buffer the current shape. The distance unit will be the one specified in the distanceUnit parameter. |
quadrantSegments | Int32<!– System.Int32 –> | The number of quadrantSegments used in the buffer logic. |
bufferCapType | BufferCapType<!– ThinkGeo.MapSuite.Core.BufferCapType –> | The bufferCapType used in the buffer logic. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This is the geographic unit of the shape you are performing the operation on. |
distanceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This is the distance unit you would like to use as the distance. For example, if you select miles as your distanceUnit, then the distance will be calculated in miles for the operation. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns a complete copy of the shape without any references in common.
When you override this method, you need to ensure that there are no references in common between the original and the copy.
Return Type | Description |
---|---|
BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | This method returns a complete copy of the shape without any references in common. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.BaseShape(overriden) –> Go Back
This method returns if the targetShape lies within the interior of the current shape.
Overriding:
Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the targetShape lies within the interior of the current shape. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
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.
Return Type | Description |
---|---|
RingShape<!– ThinkGeo.MapSuite.Core.RingShape –> | This method returns a RingShape defined as the smallest convex ring that contains all the points in the shape. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
This method returns if the current shape and the targetShape share some but not all interior points.
Overriding:
Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the current shape and the targetShape share some but not all interior points. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Double<!– System.Double –> |
Name | Type | Description |
---|---|---|
shapeProj4ProjectionParameters | String<!– System.String –> | |
returningUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | |
distanceCalculationMode | DistanceCalculationMode<!– ThinkGeo.MapSuite.Core.DistanceCalculationMode –> |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
This method calculates the smallest RectangleShape that encompasses the entire geometry.
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 longer for larger objects.
If the shape is a PointShape, than 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 Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> | The RectangleShape returned is the smallest RectangleShape that can encompass the entire geometry. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.BaseShape(overriden) –> Go Back
Return Type | Description |
---|---|
PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.BaseShape(overriden) –> Go Back
This method returns the point of the current shape that is closest to the target shape.
This method returns the 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 from the line, the method would return a point that is on the line but not either of the two points that make up the line.
Return Type | Description |
---|---|
PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | A PointShape representing the closest point of the current shape to the targetShape. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you are trying to find the closest point to. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This is the GeographyUnit of the shape you are performing the operation on. |
<!– ThinkGeo.MapSuite.Core.BaseShape(overriden) –> Go Back
This method returns the crossing points between the current shape and the passed-in target shape.
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 Type | Description |
---|---|
MultipointShape<!– ThinkGeo.MapSuite.Core.MultipointShape –> | This method returns the crossing points between the current shape and the passed-in target shape. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The target shape you wish to get crossing with. |
<!– ThinkGeo.MapSuite.Core.BaseShape(overriden) –> Go Back
This method computes the distance between the current shape and the targetShape.
The distance returned will be in the unit of the shape.
In this method, we compute the closest distance between the two shapes. The returned unit will be in the unit of distance specified.
Overriding:
Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Type | Description |
---|---|
Double<!– System.Double –> | The return type is the distance between this shape and the targetShape in the GeographyUnit of the shape. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you are trying to find the distance to. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This is the GeographicUnit of the shape you are performing the operation on. |
distanceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | 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. |
<!– ThinkGeo.MapSuite.Core.BaseShape(overriden) –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
Return Type | Description |
---|---|
MultilineShape<!– ThinkGeo.MapSuite.Core.MultilineShape –> |
Name | Type | Description |
---|---|---|
targetShape | AreaBaseShape<!– ThinkGeo.MapSuite.Core.AreaBaseShape –> |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
This method returns the length of the LineShape.
This overload returns the length in the unit of your choice, based on returningUnit you specify.
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.
Return Type | Description |
---|---|
Double<!– System.Double –> | This overload returns the length in the unit of your choice, based on returningUnit you specify. |
Name | Type | Description |
---|---|---|
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This is the GeographyUnit of the shape you are performing the operation on. |
returningUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This is the DistanceUnit 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. |
<!– ThinkGeo.MapSuite.Core.LineBaseShape(overriden) –> Go Back
This method returns a BaseLineShape, based on a starting position and other factors.
This overload allows you to specify the starting point along with the starting distance. This allows you to get a certain distance of the line after the starting distance.
Return Type | Description |
---|---|
LineBaseShape<!– ThinkGeo.MapSuite.Core.LineBaseShape –> | This method returns a BaseLineShape, based on a starting position and other factors. |
Name | Type | Description |
---|---|---|
startingPoint | StartingPoint<!– ThinkGeo.MapSuite.Core.StartingPoint –> | The startingPoint defines whether the method starts at the beginning or the end of the line. |
startingDistance | Double<!– System.Double –> | The starting distance from which you will start getting the line. For example, if the line is 3 units long and you have a starting distance of 1 unit, the result will be the last two units of the line. Valid values must be greater than 0. The starting distance will be in the GeographyUnit of the shape. |
distance | Double<!– System.Double –> | The amount of the line you want to get after the startingDistance. Valid values must be greater than 0. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This is the GeographyUnit of the shape you are performing the operation on. |
distanceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This is the DistanceUnit you would like to use for the distance parameter. For example, if you select miles as your distanceUnit, then the distance will be measured in miles. |
<!– ThinkGeo.MapSuite.Core.LineShape –> Go Back
This method returns a PointShape on the line, based on a distance on the line from the first or last vertex defined in the startingPoint parameter.
This overload allows you to pass a distance determining how far you want to move along the line using your unit of choice, as well as the option to start from the beginning or the end of the line.
Passing in a 0 distance will return either the first or last point on the line, depending on the value of the startingPoint parameter.
Return Type | Description |
---|---|
PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | This method returns a PointShape on the line, based on a distance on the line from the first or last vertex defined in the startingPoint parameter. |
Name | Type | Description |
---|---|---|
startingPoint | StartingPoint<!– ThinkGeo.MapSuite.Core.StartingPoint –> | The startingPoint defines whether the method starts at the beginning or the end of the line. |
distance | Double<!– System.Double –> | This parameter specifies the distance into the line you wish to move in the unit specified by the distanceUnit parameter. Valid values must be greater than or equal to 0. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This is the GeographyUnit of the shape you are performing the operation on. |
distanceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This is the DistanceUnit you would like to use for the distance parameter. For example, if you select miles as your distanceUnit, then the distance will be measured in miles. |
<!– ThinkGeo.MapSuite.Core.LineShape –> Go Back
This method returns the shortest LineShape between this shape and the targetShape parameter.
This method returns a LineShape representing the shortest distance between the shape you're calling the method on and the targetShape. In some instances, based on the GeographicType or Projection, the line may not be straight. This is effect is similar to what you might see on an international flight when the displayed flight path is curved.
Overriding:
Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Type | Description |
---|---|
MultilineShape<!– ThinkGeo.MapSuite.Core.MultilineShape –> | A LineShape representing the shortest distance between the shape you're calling the method on and the targetShape. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you are trying to find the distance to. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | The geographic unit of the shape you are trying to find the distance to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns a byte array that represents the shape in well-known binary.
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 have methods that work with well known text as well.
Overriding:
Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Type | Description |
---|---|
Byte[]<!– System.Bytethinkgeo.mapsuite.core.lineshape –> | This method returns a byte array that represents the shape in well-known binary. |
Name | Type | Description |
---|---|---|
outerRingOrder | RingOrder<!– ThinkGeo.MapSuite.Core.RingOrder –> | |
byteOrder | WkbByteOrder<!– ThinkGeo.MapSuite.Core.WkbByteOrder –> | This parameter specifies if the byte order is big- or little-endian. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns the well-known text representation of this shape.
This method returns a string that represents the shape in well-known text. Well-known text allows you to describe a geometry 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 have methods that work with well-known binary as well. Below are some samples of what well-known text might look like for various kinds of geometric figures.
POINT(5 17)
LINESTRING(4 5,10 50,25 80)
POLYGON13)
MULTIPOINT(3.7 9.7,4.9 11.6)
MULTILINESTRING14)
Return Type | Description |
---|---|
String<!– System.String –> | This method returns a string that represents the shape in well-known text. |
Name | Type | Description |
---|---|---|
outerRingOrder | RingOrder<!– ThinkGeo.MapSuite.Core.RingOrder –> |
<!– ThinkGeo.MapSuite.Core.BaseShape(overriden) –> Go Back
This method returns the well-known type for the shape.
Return Type | Description |
---|---|
WellKnownType<!– ThinkGeo.MapSuite.Core.WellKnownType –> | This method returns the well-known type for the shape. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.BaseShape(overriden) –> Go Back
This method returns if the current shape and the targetShape have at least one point in common.
Overriding:
Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the current shape and the targetShape have at least one point in common. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method determines whether the line is closed, meaning that the last point and first point are the same.
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> | The return value indicating whether the line is closed. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.LineShape –> Go Back
This method returns if the current shape and the targetShape have no points in common.
Overriding:
Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the current shape and the targetShape have no points in common. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns if the current shape and the targetShape are topologically equal.
Topologically equal means that the shapes are essentially the same. For example, let's say you have a line with two points, point A and point B. You also have another line that is made up of point A, point B and point C. Point A of line one shares the same vertex as point A of line two, and point B of line one shares the same vertex as point C of line two. They are both straight lines, so point B of line two would lie on the first line. Essentially the two lines are the same, with line 2 having just one extra point. Topologically they are the same line, so this method would return true.
Overriding:
Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the current shape and the targetShape are topologically equal. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns if the current shape lies within the interior of the targetShape.
Overriding:
Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the current shape lies within the interior of the targetShape. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method hydrates the current shape with its data from well-known binary.
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 Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
wellKnownBinary | Byte[]<!– System.Bytethinkgeo.mapsuite.core.lineshape –> | This parameter is the well-known binary used to populate the shape. |
<!– ThinkGeo.MapSuite.Core.BaseShape(overriden) –> Go Back
This method hydrates the current shape with its data from well-known text.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
wellKnownText | String<!– System.String –> | This parameter is the well-known text you will use to hydrate your object. |
<!– ThinkGeo.MapSuite.Core.BaseShape(overriden) –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method returns if the current shape and the targetShape share some but not all points in common.
Overriding:
Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the current shape and the targetShape share some but not all points in common. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method returns a BaseShape which has been registered from its original coordinate system to another, based on two anchor PointShapes.
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.
Return Type | Description |
---|---|
BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | This method returns a BaseShape which has been registered from its original coordinate system to another, based on two anchor PointShapes. |
Name | Type | Description |
---|---|---|
fromPoint | PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | This parameter is the anchor PointShape in the coordinate of origin. |
toPoint | PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | This parameter is the anchor PointShape in the coordinate of destination. |
fromUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This parameter is the DistanceUnit of the coordinate of origin. |
toUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This parameter is the GeographyUnit of the coordinate of destination. |
<!– ThinkGeo.MapSuite.Core.BaseShape(overriden) –> Go Back
This method reverses the order of the points in the line.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.LineShape –> Go Back
This method rotates the shape a number of degrees based on a pivot point.
This method rotates the shape a number of degrees based on a pivot point. By placing the pivot point in the center of the shape, you can achieve 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 outside of the center will make the circular area larger.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
pivotPoint | PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> | The pivotPoint represents the center of rotation. |
degreeAngle | Single<!– System.Single –> | The number of degrees of rotation required from 0 to 360. |
<!– ThinkGeo.MapSuite.Core.BaseShape(overriden) –> Go Back
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 are applying the operation multiple times. There is also a ScaleUp method that will enlarge the shape.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
percentage | Double<!– System.Double –> | This is the percentage by which to decrease the shape's size. |
<!– ThinkGeo.MapSuite.Core.LineBaseShape(overriden) –> Go Back
This method increases or decreases the size of the shape by the specified scale factor given in the parameter.
This protected virtual method is called from the concrete public method ScaleTo. It does not take into account any transaction activity, as this is the responsibility of the concrete public method ScaleTo. This way, as a developer, if you choose to override this method you do not have to consider transactions at all.
Return Type | Description |
---|---|
Void<!– System.Void –> | This method is useful when you would like to increase or decrease the size of the shape. |
Name | Type | Description |
---|---|---|
scale | Double<!– System.Double –> | Pepresents a value which scaleFactor to |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
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 are applying the operation multiple times. There is also a ScaleDown method that will shrink the shape.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
percentage | Double<!– System.Double –> | This is the percentage by which to increase the shape's size. |
<!– ThinkGeo.MapSuite.Core.LineBaseShape(overriden) –> Go Back
Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType.
Return Type | Description |
---|---|
MultilineShape<!– ThinkGeo.MapSuite.Core.MultilineShape –> | Simplify the LineBaseShape to MultilineShape depends on distance tolerance and different SimplificationType. |
Name | Type | Description |
---|---|---|
tolerance | Double<!– System.Double –> | distance tolerance |
simplificationType | SimplificationType<!– ThinkGeo.MapSuite.Core.SimplificationType –> | Specifies which algorthm will be use to simplify. |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
This method returns if the current shape and the targetShape have at least one boundary point in common, but no interior points.
Overriding:
Please ensure that you validate the parameters being passed in and raise the exceptions defined above.
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> | This method returns if the current shape and the targetShape have at least one boundary point in common, but no interior points. |
Name | Type | Description |
---|---|---|
targetShape | BaseShape<!– ThinkGeo.MapSuite.Core.BaseShape –> | The shape you wish to compare the current one to. |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This method moves the base shape from one location to another based on a distance and a direction in degrees.
In this overload, the distance unit is based on a DistanceUnit you specify in the distanceUnit parameter, regardless of the shape's GeographicUnit.
This method returns a shape repositioned from one location to another based on angleInDegrees and distance parameter. With this overload, it is important to note that the distance is based on the supplied distanceUnit parameter. For example, if your shape is in decimal degrees and you call this method with a distanceUnit of miles, you're going to move this shape a number of miles based on the distance value 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.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
distance | Double<!– System.Double –> | The distance is the number of units to move the shape using the angle specified. The distance unit will be the one specified in the distanceUnit parameter. The distance must be greater than or equal to 0. |
angleInDegrees | Double<!– System.Double –> | A number between 0 and 360 degrees that represents the direction you wish to move the shape, with 0 being up. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This is the GeographicUnit of the shape you are performing the operation on. |
distanceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This is the DistanceUnit you would like to use as the measure for the move. For example, if you select miles as your distanceUnit, then the distance will be calculated in miles. |
<!– ThinkGeo.MapSuite.Core.BaseShape(overriden) –> Go Back
This method moves the base shape from one location to another based on an X and Y offset distance.
In this overload, the X and Y offset are based on a DistanceUnit you specify, regardless of the shape's GeographicUnit.
This method returns a shape repositioned from one location to another based on an X and Y offset distance. With this overload, it is important to note that 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 1 and a Y offset of 1, 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 on the X axis and 3 miles on the Y axis.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
xOffsetDistance | Double<!– System.Double –> | This is the number of horizontal units of movement in the distance unit specified in the distanceUnit parameter. |
yOffsetDistance | Double<!– System.Double –> | This is the number of vertical units of movement in the distance unit specified in the distanceUnit parameter. |
shapeUnit | GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> | This is the GeographicUnit of the shape you are performing the operation on. |
distanceUnit | DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> | This is the distance unit you would like to use as the measure for the move. For example, if you select miles as your distance unit, then the xOffsetDistance and yOffsetDistance will be calculated in miles. |
<!– ThinkGeo.MapSuite.Core.BaseShape(overriden) –> Go Back
The protected virtual method used by “Union” that you can overwrite to implement your own logic.
Return Type | Description |
---|---|
MultilineShape<!– ThinkGeo.MapSuite.Core.MultilineShape –> | A set combining the points of this LineBaseShape and the points of input LineBaseShape set. |
Name | Type | Description |
---|---|---|
lineBaseShapes | IEnumerable<LineBaseShape><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.LineBaseShape} –> | The target LineBasheShape set with which to compute the union |
<!– ThinkGeo.MapSuite.Core.LineBaseShape –> Go Back
This method returns a ShapeValidationResult based on a series of tests.
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.
Return Type | Description |
---|---|
ShapeValidationResult<!– ThinkGeo.MapSuite.Core.ShapeValidationResult –> | This method returns a ShapeValidationResult based on a series of tests. |
Name | Type | Description |
---|---|---|
validationMode | ShapeValidationMode<!– ThinkGeo.MapSuite.Core.ShapeValidationMode –> | 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. |
<!– ThinkGeo.MapSuite.Core.BaseShape(overriden) –> Go Back
This property specifies whether the shape can be rotated.
If this property returns false and you attempt call the rotate method, it will throw a NotImplementedException.
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.Core.BaseShape(overriden) –> Go Back
The id of the shape.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
The tag of the shape.
Return Type |
---|
Object<!– System.Object –> |
<!– ThinkGeo.MapSuite.Core.BaseShape –> Go Back
This property is the collection of points that make up the LineShape.
Return Type |
---|
Collection<Vertex><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.Vertex} –> |
<!– ThinkGeo.MapSuite.Core.LineShape –> Go Back
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.