DK11 for ActiveX | TatukGIS_XDK11.TGIS_Topology | Classes | Methods | Properties
Encapsulation of basic topological operations.
// C# public class TGIS_Topology : ITGIS_Topology, IConnectionPointContainer, ITGIS_TopologyEvents { }
' VisualBasic Public Class TGIS_Topology Implements ITGIS_Topology Implements IConnectionPointContainer Implements ITGIS_TopologyEvents End Class
// Oxygene type TGIS_Topology = public class end;
ITGIS_Topology IConnectionPointContainer ITGIS_TopologyEvents
Name | Visibility | Description | |
---|---|---|---|
ArcFind | public | Find on the list arc with duplicated geometry. _{ } | |
ArcMakeConnected | public | Connect the current unconnected shape. _{ } | |
ArcSplitOnCross | public | Return a copy of _shp divided into parts in crossing points with shapes from the list. _{ } | |
AttachDelphiObj | public | Only for internal use of TatukGIS. _{ (Inherited from ITBaseObject) } | |
BusyEvent | public | Busy event. _{ (Inherited from ITGIS_TopologyEvents) } | |
CheckShape | public | Checks whether a shape is valid. _{ } | |
ClearShape | public | Make a copy of the shape with removal of redundant (overlapped) points. _{ } | |
ClearShape_2 | public | Make a copy of the shape with removal of redundant (overlapped) points. _{ } | |
Combine | public | Compute a new shape from the two shapes provided, based on a given operation. _{ } | |
Combine_2 | public | Compute a new shape from the two shapes provided, based on a given operation. _{ } | |
ConcaveHull | public | Creates a concave hull based on the provided layer and edge length. _{ } | |
ConcaveHull_2 | public | Creates a concave hull based on the provided shape and edge length. _{ } | |
ConcaveHull_3 | public | Creates a concave hull based on the two provided shapes and edge length. _{ } | |
ConcaveHull_4 | public | Creates a concave hull based on the two provided shapes and edge length. _{ } | |
Contains | public | Tests contains relationship for given shapes _{ } | |
ConvexHull | public | Creates a convex hull based on the provided layer. _{ } | |
ConvexHull_2 | public | Creates a convex hull based on the provided shape. _{ } | |
ConvexHull_3 | public | Creates a convex hull based on the two provided shapes. _{ } | |
ConvexHull_4 | public | Creates a convex hull based on the two provided shapes. _{ } | |
Cross | public | Tests cross relationship for given shapes _{ } | |
DelphiObj | public | Only for internal use of TatukGIS. _{ (Inherited from ITBaseObject) } | |
Difference | public | Compute a new shape as a difference of two shapes provided. _{ } | |
Difference_2 | public | Compute a new shape as a difference of two shapes provided. _{ } | |
Disjoint | public | Tests disjoint relationship for given shapes _{ } | |
Equality | public | Tests equality relationship for given shapes _{ } | |
FindAndDeleteLoops | public | Delete any loop which is smaller than the tolerance. _{ } | |
FindAndDeleteLoops_2 | public | Delete any loop which is smaller than the tolerance. _{ } | |
FindSameOnList | public | Check, if the current shape has an exactly similar counter partner on a given list. _{ } | |
FixShape | public | Computes a shape without self-crossings (loops) for arcs and polygons, and with a proper winding for polygon (clockwise, and opposite for holes). _{ } | |
FixShapeEx | public | Computes a shape without self-crossings (loops) for arcs and polygons, and with a proper winding for polygon (clockwise, and opposite for holes). _{ } | |
FixShapeEx_2 | public | Computes a shape without self-crossings (loops) for arcs and polygons, and with a proper winding for polygon (clockwise, and opposite for holes). _{ } | |
FixShape_2 | public | Computes a shape without self-crossings (loops) for arcs and polygons, and with a proper winding for polygon (clockwise, and opposite for holes). _{ } | |
GetCrossings | public | Get all crossing points between given shapes. _{ } | |
GetCrossings3D | public | Get all crossing points between given shapes. _{ } | |
Intersect | public | Test intersects relationship for given shapes _{ } | |
Intersection | public | Compute a new shape as an intersection of two shapes provided. _{ } | |
Intersection_2 | public | Compute a new shape as an intersection of two shapes provided. _{ } | |
MakeBuffer | public | Compute a buffer around a shape to a given distance. _{ } | |
MakeBuffer_2 | public | Compute a buffer around a shape to a given distance. _{ } | |
MakeOffsetLine | public | Compute a shifted line for a shape to a given distance. _{ } | |
MakeOffsetLine_2 | public | Compute a shifted line for a shape to a given distance. _{ } | |
Overlap | public | Tests overlap relationship for given shapes _{ } | |
PartStatus | public | Verifies if provided part is an island/hole _{ } | |
Relate | public | Checks nine-intersection matrix for given shapes. _{ } | |
RelatePrepare | public | Mark given shape as a main shape for subsequent Relate operations. _{ } | |
SplitByArc | public | Divide an input shape (polygon, arc or multipoint) into a row of shapes along a given line. _{ } | |
SplitByArc_2 | public | Divide an input shape (polygon, arc or multipoint) into a row of shapes along a given line, otherwise return a copy of the shape when the line doesn't divide it. _{ } | |
SymmetricalDifference | public | Compute a new shape as a symmetrical difference of two shapes provided. _{ } | |
SymmetricalDifference_2 | public | Compute a new shape as a symmetrical difference of two shapes provided. _{ } | |
Touch | public | Tests touch relationship for given shapes _{ } | |
Union | public | Compute a new shape as an union of two shapes provided. _{ } | |
UnionOnList | public | Compute a union from the list of shapes. _{ } | |
UnionOnList_2 | public | Compute a union form the list of shapes. _{ } | |
Union_2 | public | Compute a new shape as an union of two shapes provided. _{ } | |
Within | public | Tests within relationship for given shapes _{ } | |
Name | Visibility | Description | |
---|---|---|---|
ForceShapeFixing | public | If True then topological operations will force shape fixing. _{ } | |
Tolerance | public | Tolerance of operations. _{ } | |
TatukGIS supports a powerful, yet easy to manage, mechanism for querying against spatial relationships between two shapes. This mechanism is known as the Dimensionally Extended 9 Intersection Model (DE-9IM).
The idea is to manage a 9 element mechanism in which each element defines the relationship possibilities between the interiors, exteriors, and boundaries of two shapes. The relationship is defined in terms of intersection types, or lack of an intersection.
The nature of the shape intersections is defined by a set of interior, boundary and exterior relationship possibilities, forming a 3×3 table. The table can be represented by a string (row-by-row) '*'. Each element of the table represents an intersection possibility:
T - Intersection exists
F - Intersection does not exist
* - Does not matter
0 - Intersection is a point (dimension = 0)
1 - Intersection is a line(dimension = 1)
2 - Intersection is a polygon (dimension = 2)
1. Equality
A & B Interiors intersect and no interior or boundary of one shape intersects with the exterior or boundary other shape. String representation is:
T*F**FFF
Predefined constant: RELATE_EQUALITY
2. Disjoint
There is no intersection of any kind. String representation is:
FF*FF****
Predefined constant: RELATE_DISJOINT
3. Intersect
By interiors. String representation is:
T********
Predefined constant: RELATE_INTERSECT
Interior of A intersects the boundary of B String representation is:
*T*******
Predefined constant: RELATE_INTERSECT1
Boundary of A intersects the Interior of B String representation is:
***T*****
Predefined constant: RELATE_INTERSECT2
Boundary of A intersects the Boundary of B String representation is:
****T****
Predefine constant: RELATE_INTERSECT3
4. Touch
Boundary of A intersects with interior of B. String representation is:
F**T*****
Predefined constant: RELATE_TOUCH_INTERIOR
Boundary of A intersects boundary of B (but not the interior of B) String representation is:
F***T***
Predefined constant: RELATE_TOUCH
5. Overlap
A overlaps B (and B overlaps A) if both the interiors and exteriors intersect. General formula (except line-to-line situations). String representation is:
T*T***T**
Predefined constant: RELATE_OVERLAP
A overlaps B (and B overlap A) if the interior intersection has a dimension equal to 1 (is a line) and the exteriors intersect. Only for line-to-line relationships. String representation is:
1*T***T**
Predefined constant: RELATE_OVERLAP_LINE
6. Cross
A crosses B if the interiors intersect and the exterior of B intersects with the interior of A. General formula (except line-to-line situations). String representation is:
T*T******
Predefined constant: RELATE_CROSS
A crosses B (and B crosses A) if the dimension of the intersection equals 0 (is a point). Only for line-to-line relationships. String representation is:
0********
Predefined constant: RELATE_CROSS_LINE
7. Within
A is within B if the interiors intersect and the exterior of B is not intersected by the Interior or boundary of A. String representation is:
T*F**F***
Predefined constant: RELATE_WITHIN
8. Contains
A contains B if the interiors intersect and the exterior of A is not intersected by the Interior or boundary of B. String representation is:
T*****FF*
Predefined constant: RELATE_CONTAINS