DK for ActiveX | TatukGIS_XDK11.TGIS_Shape | Classes | Methods | Properties
Abstract base class for vector shapes stored in a TGIS_LayerVector.
// C# public class TGIS_Shape : ITGIS_Shape { }
' VisualBasic Public Class TGIS_Shape Implements ITGIS_Shape End Class
// Oxygene type TGIS_Shape = public class end;
| Name | Visibility | Description | |
|---|---|---|---|
| AddPart | public | Starts a new part in a multipart shape geometry. | |
| AddPoint | public | Adds a 2D vertex to the current part of the shape. | |
| AddPoint3D | public | Adds a 3D vertex with elevation to the current part of the shape. | |
| AddPointBearing | public | Adds a point using a map-space bearing and distance measured from the last vertex. | |
| AddPointBearingCS | public | Adds a point using geodetic bearing and distance measured in meters from the last vertex. | |
| AddPointBearing_2 | public | Adds a point using a bearing and distance measured from the last vertex, with optional compass interpretation. | |
| AddToIndex | public | Add the shape extent to the spatial index to enable fast spatial queries. | |
| AddToLayer | public | Clone the shape into its layer and assign a new unique identifier. | |
| AppendGeometry | public | Appends geometry from another shape to this shape. | |
| Area | public | Calculates the planar area enclosed by the shape. | |
| AreaCS | public | Calculates geodetic area using the WGS84 (World Geodetic System 1984, EPSG:4326) model. | |
| AsArc | public | Convert the shape to a TGIS_ShapeArc representing line geometry. | |
| AsMultiPoint | public | Convert the shape to a TGIS_ShapeMultiPoint containing all shape vertices. | |
| AsPoint | public | Convert the shape to a TGIS_ShapePoint. | |
| AsPolygon | public | Convert the shape to a TGIS_ShapePolygon. | |
| Assign_ | public | Copy geometry and attribute data from another shape. | |
| AttachDelphiObj | public | Only for internal use of TatukGIS. (Inherited from ITBaseObject) |
|
| Centroid | public | Calculates the geometric centroid of the shape. | |
| ChangeWinding | public | Reverses the vertex order of a specified shape part or polygon ring. | |
| Combine | public | Performs a boolean geometry operation between this shape and another shape. | |
| Combine_2 | public | Performs a boolean geometry operation between this shape and another shape, optionally returning a new object or modifying this shape. | |
| Contains | public | Tests whether this shape contains another shape using the DE-9IM (Dimensionally Extended 9-Intersection Model) topology relation. | |
| CopyFields | public | Copies field definitions from another shape without copying field values. | |
| CopyGeometry | public | Replaces this shape's geometry with geometry copied from another shape. | |
| CreateCopy | public | Create an independent deep copy of the shape geometry, attributes, and style state. | |
| CreateCopyCS | public | Create an independent copy of the shape reprojected to a target CRS (Coordinate Reference System). | |
| CreateFromEWKB | public | Parses Extended Well-Known Binary (EWKB) geometry with optional PostGIS Spatial Reference Identifier (SRID) metadata. | |
| CreateFromEWKT | public | Parses Extended Well-Known Text (EWKT) geometry with optional PostGIS Spatial Reference Identifier (SRID) metadata. | |
| CreateFromGDO | public | Parses geometry from GeoMedia Database Object (GDO) binary format. | |
| CreateFromGML | public | Parses geometry from Geography Markup Language (GML) XML text. | |
| CreateFromJSON | public | Parses geometry from GeoJSON (Geographic JSON) text. | |
| CreateFromWKB | public | Parses geometry from Well-Known Binary (WKB), the OGC (Open Geospatial Consortium) standard binary representation. | |
| CreateFromWKT | public | Parses geometry from Well-Known Text (WKT), the OGC (Open Geospatial Consortium) standard text representation. | |
| Create_ | public | Create a shape instance with the specified coordinate dimension type. | |
| Create_2 | public | Create a 2D shape instance from an existing shape or from raw internal geometry data. | |
| Create_3 | public | Create a shape instance from an existing shape or from raw internal geometry data with an explicit dimension type. | |
| Cross | public | Tests whether two shapes cross using the DE-9IM (Dimensionally Extended 9-Intersection Model) topology relation. | |
| Delete | public | Mark the shape as deleted without immediately removing it from the layer. | |
| DelphiObj | public | Only for internal use of TatukGIS. (Inherited from ITBaseObject) |
|
| Difference | public | Computes the difference between this shape and another shape. | |
| Difference_2 | public | Computes the difference between this shape and another shape, optionally returning a new object or modifying this shape. | |
| Disjoint | public | Tests whether this shape is spatially disjoint from another shape. | |
| Distance | public | Calculates planar (2D map-space) distance from a point to the shape. | |
| Distance2Part | public | Calculates distance from a point to the nearest element of a specific shape part and optionally returns the projection point. | |
| Distance2PartCS | public | Calculates geodetic distance from a point to a specific shape part using the WGS84 (World Geodetic System 1984, EPSG:4326) model. | |
| Distance2Shape | public | Calculates the minimum planar distance between two shapes. | |
| Distance2ShapeCS | public | Calculates geodetic distance between two shapes using the WGS84 (World Geodetic System 1984, EPSG:4326) model. | |
| Distance2Shape_2 | public | Calculates the minimum planar distance between two shapes and returns the shortest connecting line segment. | |
| DistanceCS | public | Calculates geodetic distance from a point to the shape using the WGS84 (World Geodetic System 1984, EPSG:4326) ellipsoid model. | |
| Draw | public | Renders the shape using the default single-pass rendering mode. | |
| DrawChart | public | Renders the chart associated with the shape using the current layer chart settings. | |
| DrawLabel | public | Renders the shape label using the current layer labeling settings. | |
| DrawLabel_2 | public | Renders the shape label and returns the label outline points used for bounds or hit-testing operations. | |
| DrawTrackingPoints | public | Renders shape tracking points used for interactive geometry editing. | |
| Draw_2 | public | Render the shape using the specified multipass rendering mode. | |
| Equality | public | Tests whether this shape is geometrically equal to another shape. | |
| ExportToEWKB | public | Exports the current geometry to Extended Well-Known Binary (EWKB) with Spatial Reference Identifier (SRID) metadata. | |
| ExportToEWKT | public | Exports the current geometry to Extended Well-Known Text (EWKT) with Spatial Reference Identifier (SRID) metadata. | |
| ExportToGDO | public | Exports the current geometry to GeoMedia Database Object (GDO) binary format. | |
| ExportToGML | public | Exports the current geometry to Geography Markup Language (GML) XML text. | |
| ExportToJSON | public | Exports shape geometry to GeoJSON (Geographic JSON, RFC 7946) text for web and service interoperability. | |
| ExportToVAR | public | Exports shape geometry to the internal Variant-based binary format used by DK11 shape serialization. | |
| ExportToWKB | public | Exports the current geometry to Well-Known Binary (WKB). | |
| ExportToWKT | public | Exports the current geometry to Well-Known Text (WKT). | |
| Flash | public | Flashes the shape in the viewer using default timing parameters. | |
| Flash_2 | public | Flashes the shape in the viewer using custom repetition and delay values. | |
| GetAngle | public | Returns the direction angle defined by the shape endpoints. | |
| GetCrossings | public | Finds all points where shape segments intersect another shape. | |
| GetCrossings3D | public | Finds all 3D points where shape segments intersect another shape. | |
| GetField | public | Returns the current shape field value, substituting the field default when the stored value is NULL. | |
| GetFieldEx | public | Returns the raw field value from the current shape, preserving NULL values. | |
| GetFieldEx_2 | public | Returns the raw field value from the current shape with optional field-rule evaluation. | |
| GetFieldEx_3 | public | Returns the raw field value for the shape at the specified cursor position, preserving NULL values. | |
| GetFieldEx_4 | public | Returns the raw field value for the shape at the specified cursor position with optional field-rule evaluation. | |
| GetFirstPoint | public | Returns the first 2D vertex of the shape. | |
| GetFirstPoint3D | public | Returns the first 3D vertex of the shape. | |
| GetIntersection | public | Returns the portion of the shape that intersects the specified extent as a precise normalized result. | |
| GetIntersection_2 | public | Returns the portion of the shape that intersects the specified extent, with optional draft clipping. | |
| GetLabel | public | Returns the formatted label text for the current shape, including markup generated by the labeling expression. | |
| GetLabelPlain | public | Returns the current shape label as plain text with formatting markup removed. | |
| GetLastPoint | public | Returns the last 2D vertex of the shape. | |
| GetLastPoint3D | public | Retrieve the ending vertex of 3D geometry including elevation. | |
| GetNumParts | public | Return the number of geometry parts in the shape. | |
| GetNumPoints | public | Return the total number of vertices across all parts of the shape. | |
| GetPartSize | public | Return the vertex count within a single geometry part. | |
| GetPartType | public | Return the topology type of a geometry part, such as an exterior ring or interior hole. | |
| GetPoint | public | Returns the 2D vertex at the specified part and position. | |
| GetPoint3D | public | Returns the 3D vertex at the specified part and position. | |
| GetPoint3DEx | public | Returns the full point coordinates at the specified part and position through output parameters. | |
| GetPointEx | public | Returns the 2D vertex at the specified part and position through output parameters. | |
| GetSnapPoint | public | Find the nearest snap point on the shape geometry to a target location. | |
| GetSnapPoint3D | public | Find the nearest snap point on 3D shape geometry, including elevation. | |
| ImportFromEWKB | public | Replaces the current geometry by parsing Extended Well-Known Binary (EWKB) in place. | |
| ImportFromEWKT | public | Replaces the current geometry by parsing Extended Well-Known Text (EWKT) in place. | |
| ImportFromGDO | public | Replaces the current geometry by parsing GeoMedia Database Object (GDO) binary content in place. | |
| ImportFromGML | public | Replaces the current geometry by parsing Geography Markup Language (GML) XML text in place. | |
| ImportFromJSON | public | Replaces the current geometry by parsing GeoJSON (Geographic JSON) text in place. | |
| ImportFromVAR | public | Replaces shape geometry with the internal Variant-based format. | |
| ImportFromWKB | public | Replaces the current geometry by parsing Well-Known Binary (WKB) in place. | |
| ImportFromWKT | public | Replaces the current geometry by parsing Well-Known Text (WKT) in place. | |
| Intersect | public | Tests whether two shapes intersect using the DE9IM (Dimensionally Extended Nine-Intersection Model) topology relation. | |
| Intersection | public | Computes the intersection of this shape and another shape. | |
| Intersection_2 | public | Computes the intersection of this shape and another shape, optionally returning a new object or modifying this shape. | |
| Invalidate | public | Invalidates cached rendering state for the shape and forces a redraw on the next paint operation. | |
| IsCommonPoint | public | Tests whether this shape and another shape share any common point. | |
| IsFieldModified | public | Returns whether the specified field has been modified in the current shape editing context. | |
| IsFieldModifiedEx | public | Returns whether the field at the specified zero-based index has been modified in the current shape editing context. | |
| IsInsideCircle | public | Tests whether the shape is completely or partially inside circular bounds defined by a center point and radius. | |
| IsInsideExtent | public | Tests whether the shape is completely or partially inside an axis-aligned rectangular extent. | |
| IsInsidePolygon | public | Tests whether the shape is completely or partially inside a polygon shape, depending on the requested containment mode. | |
| Join | public | Joins this shape with another shape and returns the combined shape. | |
| Join_2 | public | Joins this shape with another shape, either in place or by creating a new result shape. | |
| Length | public | Calculates planar length of the shape. | |
| LengthCS | public | Calculates geodetic length using the WGS84 (World Geodetic System 1984, EPSG:4326) model. | |
| Lock | public | Locks the shape for batch geometry updates to defer expensive recalculations. | |
| MakeEditable | public | Make the shape editable by materializing mutable shape data when necessary. | |
| Overlap | public | Tests whether two shapes overlap using the DE-9IM (Dimensionally Extended 9-Intersection Model) topology relation. | |
| ParamsAsDrawn | public | Retrieves the effective vector rendering parameters used to draw the shape in the current layer and viewer context. | |
| PartLength | public | Calculates planar length of a single shape part. | |
| PartLengthCS | public | Calculates geodetic length of a single shape part using the WGS84 (World Geodetic System 1984, EPSG:4326) model. | |
| PointOnShape | public | Calculates a point guaranteed to lie on the shape geometry. | |
| PrepareContourInternal | public | Prepares a rasterized contour bitmap for internal polygon topology operations by converting vector geometry to a pixel grid. | |
| PrepareExportShape | public | Prepare a shape for export by optionally reprojecting it, clipping it to an extent, and copying field values. | |
| Recreate | public | Reinitialize an existing shape instance from another shape or from raw internal geometry data. | |
| Recreate_2 | public | Reinitialize an existing shape instance from another shape or from raw internal geometry data with an explicit dimension type. | |
| Relate | public | Tests the spatial relationship to another shape using a DE9IM (Dimensionally Extended Nine-Intersection Model) pattern. | |
| Reset | public | Clear all geometry from the shape and reset it to an empty state. | |
| ResetModified | public | Clear the IsModified flag and mark the shape as unmodified. | |
| Reverse | public | Reverses the order of parts in a multipart shape and returns the resulting shape. | |
| Reverse_2 | public | Reverses the order of parts in a multipart shape, either in place or by creating a new result shape. | |
| RevertParams | public | Discard local rendering parameters and revert the shape to layer default styling. | |
| SetField | public | Sets the value of a field in the current shape editing context. | |
| SetFieldsDefaulRuleValue | public | Applies default values defined by field rules to the current shape. | |
| SetParamsInternal | public | Sets internal vector-parameter section for this shape. | |
| SetPartType | public | Set the topology type of a geometry part, such as an exterior ring or interior hole. | |
| SetPosition | public | Moves the shape to a new position, optionally snapping to geometry in a reference vector layer. | |
| Simplify | public | Simplifies the shape using the Douglas-Peucker algorithm. | |
| Simplify_2 | public | Simplifies the shape using the Douglas-Peucker algorithm, either in place or by creating a new result shape. | |
| Smooth | public | Smooths the shape using Catmull-Rom spline interpolation. | |
| Smooth_2 | public | Smooths the shape using Catmull-Rom spline interpolation, either in place or by creating a new result shape. | |
| Split | public | Splits a multipart shape into a list of separate single-part shapes. | |
| StrokeArc | public | Adds vertices approximating an elliptical arc between start and stop angles to the current shape. | |
| StrokeArc_2 | public | Adds vertices approximating an elliptical arc with explicit segment count control. | |
| SymmetricalDifference | public | Computes the symmetrical difference between this shape and another shape. | |
| SymmetricalDifference_2 | public | Computes the symmetrical difference between this shape and another shape, optionally returning a new object or modifying this shape. | |
| Touch | public | Tests whether two shapes touch at their boundaries using the DE-9IM (Dimensionally Extended 9-Intersection Model) topology relation. | |
| Transform | public | Transforms shape geometry using a 3x3 matrix and translation vector, returning a new transformed shape. | |
| Transform_2 | public | Transforms shape geometry using a 3x3 matrix and translation vector, either in place or as a new shape. | |
| Union | public | Computes the union of this shape and another shape. | |
| Union_2 | public | Computes the union of this shape and another shape, optionally returning a new object or modifying this shape. | |
| Unlock | public | Unlocks the shape and applies deferred geometry updates. | |
| UpdateIndex | public | Update the shape entry in the spatial index after geometry changes. | |
| UpdatePoint | public | Updates the 2D coordinates of a vertex at the specified part and position within the shape. | |
| UpdatePoint3D | public | Updates the 3D coordinates of a vertex at the specified part and position within the shape. | |
| Within | public | Tests whether this shape is within another shape using the DE-9IM (Dimensionally Extended 9-Intersection Model) topology relation. | |
| Name | Visibility | Description | |
|---|---|---|---|
| Dimension | public | Shape dimensionality: 2D (X/Y), 3D (X/Y/Z), or 4D (X/Y/Z/M). | |
| Extent | public | Axis-aligned 2D bounding extent of the shape geometry. | |
| Extent3D | public | Axis-aligned 3D bounding extent of the shape geometry. | |
| FieldChanged | public | Indicates whether the shape attribute data has changed. | |
| GeometryChanged | public | Indicates whether the shape geometry has changed. | |
| GeometrySize | public | Total size in bytes of entire shape geometry (parts + points + Z + M). | |
| IsDeleted | public | Shape is marked for deletion. | |
| IsEditable | public | Indicates whether the shape geometry can be edited. | |
| IsEmpty | public | Geometry contains no coordinates. | |
| IsFixed | public | Indicates whether polygon ring winding has been checked and corrected. | |
| IsHidden | public | Shape is hidden from rendering. | |
| IsMapped | public | Geometry is memory-mapped to a file instead of being fully loaded into memory. | |
| IsModified | public | Shape geometry or attributes have been modified since load or creation. | |
| IsNewShape | public | Shape is newly created in memory and was not loaded from stored layer data. | |
| IsReverted | public | Indicates that the shape geometry should be reverted to the saved file version. | |
| IsSelected | public | Shape is selected in the layer. | |
| Layer | public | Gets or sets the parent vector layer that owns the shape. | |
| LocalParams | public | Indicates whether the shape uses private rendering parameters instead of shared layer parameters. | |
| LockLevel | public | Lock mode/state for concurrent access control. | |
| ManageRTree | public | Indicates whether the shape participates in framework-managed R-Tree spatial indexing. | |
| Params | public | Shape-specific rendering parameters such as colors, fills, and symbols. | |
| ParentShape | public | Parent shape for hierarchical or composite geometry structures. | |
| Parts | public | Raw internal storage of shape part offsets in SHP-compatible form. | |
| PartsSize | public | Size in bytes of the raw part-offset buffer. | |
| PartTypes | public | Raw internal storage of shape part types. | |
| PartTypesSize | public | Size in bytes of the raw part-type buffer. | |
| Points | public | Raw internal storage of XY vertex coordinates in SHP-compatible form. | |
| PointsM | public | Raw internal storage of M (measure) coordinates in SHP-compatible form. | |
| PointsMMax | public | Maximum M (measure) value across all vertices in the shape. | |
| PointsMMin | public | Minimum M (measure) value across all vertices in the shape. | |
| PointsMSize | public | Size in bytes of the raw M coordinate buffer. | |
| PointsSize | public | Size in bytes of the raw XY coordinate buffer. | |
| PointsZ | public | Raw internal storage of Z coordinates in SHP-compatible form. | |
| PointsZMax | public | Maximum Z value across all vertices in the shape. | |
| PointsZMin | public | Minimum Z value across all vertices in the shape. | |
| PointsZSize | public | Size in bytes of the raw Z coordinate buffer. | |
| ProjectedExtent | public | Bounding extent of the shape after projection to the viewer coordinate system. | |
| ShapeType | public | Geometry type of the shape. | |
| SmartSize | public | Visual size of shape for display purposes. | |
| Tag | public | Application-defined integer tag for storing custom shape metadata or state. | |
| TagInternal | public | Internal framework tag reserved for TatukGIS processing and not for application use. | |
| TagPointer | public | Application-defined pointer or object reference for storing custom shape context. | |
| Uid | public | Unique identifier of the shape within its layer. | |
| Viewer | public | Gets the viewer context associated with the shape. | |