DK for Delphi | GisLayerVector.TGIS_Shape | Constructors | Fields | Methods | Properties
| 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(Double; Double) | public | Adds a point using a map-space bearing and distance measured from the last vertex. | |
| AddPointBearing(Double; Double; Boolean) | public | Adds a point using a bearing and distance measured from the last vertex, with optional compass interpretation. | |
| AddPointBearingCS | public | Adds a point using geodetic bearing and distance measured in meters from the last vertex. | |
| 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. | |
| Centroid | public | Calculates the geometric centroid of the shape. | |
| ChangeWinding | public | Reverses the vertex order of a specified shape part or polygon ring. | |
| checkIsEmpty | protected | Determines whether the shape geometry is empty and contains no usable vertices. | |
| Combine(TGIS_Shape; TGIS_TopologyCombineType) | public | Performs a boolean geometry operation between this shape and another shape. | |
| Combine(TGIS_Shape; TGIS_TopologyCombineType; Boolean) | 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. | |
| copyInternalFields | protected | Copies internal mapped attribute fields from one shape to another. | |
| copyInternalParams | protected | Copies internal rendering and styling parameters from one shape to another. | |
| 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. | |
| 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. | |
| Difference(TGIS_Shape) | public | Computes the difference between this shape and another shape. | |
| Difference(TGIS_Shape; Boolean) | 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(TGIS_Shape) | public | Calculates the minimum planar distance between two shapes. | |
| Distance2Shape(TGIS_Shape; TGIS_Line) | public | Calculates the minimum planar distance between two shapes and returns the shortest connecting line segment. | |
| Distance2ShapeCS | public | Calculates geodetic distance between two shapes using the WGS84 (World Geodetic System 1984, EPSG:4326) model. | |
| 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. | |
| Draw(TGIS_RendererMultipassMode) | public | Render the shape using the specified multipass 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(TGIS_DrawBuf) | public | Renders the shape label and returns the label outline points used for bounds or hit-testing operations. | |
| DrawSpecial | public | Renders the shape using the default special rendering pass. | |
| DrawSpecial(TGIS_RendererMultipassMode) | public | Renders the shape using a special multipass mode intended primarily for line outline cleanup. | |
| DrawTrackingPoints | public | Renders shape tracking points used for interactive geometry editing. | |
| 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(Integer; Integer) | 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(String) | public | Returns the raw field value from the current shape, preserving NULL values. | |
| GetFieldEx(String; Boolean) | public | Returns the raw field value from the current shape with optional field-rule evaluation. | |
| GetFieldEx(String; Integer) | public | Returns the raw field value for the shape at the specified cursor position, preserving NULL values. | |
| GetFieldEx(String; Integer; Boolean) | 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(TGIS_Extent) | public | Returns the portion of the shape that intersects the specified extent as a precise normalized result. | |
| GetIntersection(TGIS_Extent; Boolean) | 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. | |
| getPartOffset | protected | Calculates the starting point offset for the specified part within the shape geometry. | |
| 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(TGIS_Shape) | public | Computes the intersection of this shape and another shape. | |
| Intersection(TGIS_Shape; Boolean) | 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(TGIS_Shape) | public | Joins this shape with another shape and returns the combined shape. | |
| Join(TGIS_Shape; Boolean) | 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(TGIS_Shape; Pointer; Boolean; TGIS_Uid; TGIS_LayerVector) | public | Reinitialize an existing shape instance from another shape or from raw internal geometry data. | |
| Recreate(TGIS_Shape; Pointer; Boolean; TGIS_Uid; TGIS_LayerVector; TGIS_DimensionType) | 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(Boolean) | 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(Double) | public | Simplifies the shape using the Douglas-Peucker algorithm. | |
| Simplify(Double; Boolean) | public | Simplifies the shape using the Douglas-Peucker algorithm, either in place or by creating a new result shape. | |
| Smooth(Integer) | public | Smooths the shape using Catmull-Rom spline interpolation. | |
| Smooth(Integer; Boolean) | 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(TGIS_Point3D; Double; Double; Double; Double; Double) | public | Adds vertices approximating an elliptical arc between start and stop angles to the current shape. | |
| StrokeArc(TGIS_Point3D; Double; Double; Double; Double; Double; Integer) | public | Adds vertices approximating an elliptical arc with explicit segment count control. | |
| SymmetricalDifference(TGIS_Shape) | public | Computes the symmetrical difference between this shape and another shape. | |
| SymmetricalDifference(TGIS_Shape; Boolean) | 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(TGIS_Point3D; Double; Double; Double; Double; Double; Double; Double; Double; Double; Double; Double; Double) | public | Transforms shape geometry using a 3x3 matrix and translation vector, returning a new transformed shape. | |
| Transform(TGIS_Point3D; Double; Double; Double; Double; Double; Double; Double; Double; Double; Double; Double; Double; Boolean) | public | Transforms shape geometry using a 3x3 matrix and translation vector, either in place or as a new shape. | |
| Union(TGIS_Shape) | public | Computes the union of this shape and another shape. | |
| Union(TGIS_Shape; Boolean) | 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. | |