DK11 for Delphi | GisLayerVector.TGIS_Shape | Classes | Constructors | Fields | Methods | Properties
Generic shape class. This class keeps all functionality of a shape.
// Delphi type TGIS_Shape = class( TGIS_ShapeAbstract ) end;
// C++ Builder class PASCALIMPLEMENTATION TGIS_Shape : public TGIS_ShapeAbstract { };
Name | Visibility | Description | |
---|---|---|---|
Create | public | Create a shape instance. | |
Create(TGIS_DimensionType) | public | Create a shape instance. | |
Create(TGIS_Shape; Pointer; Boolean; TGIS_Uid; TGIS_LayerVector) | public | Create a shape instance. | |
Create(TGIS_Shape; Pointer; Boolean; TGIS_Uid; TGIS_LayerVector; TGIS_DimensionType) | public | Create a shape instance. | |
Destroy | public | Destroy a shape instance. | |
Name | Visibility | Description | |
---|---|---|---|
FDimension | protected | Dimensions supported by a shape. | |
FGeometryChanged | protected | Has shape geometry changed. | |
FIsDeleted | protected | True if the Shape needs to be deleted. | |
FIsEditable | protected | Is shape editable. | |
FIsFixed | protected | True if the Shape has checked and fixed winding. | |
FIsHidden | protected | Is shape hidden. | |
FIsMapped | protected | True if geometry not allocated but mapped to a file. | |
FIsModified | protected | Is shape (geometry or fields) modified. | |
FIsNewShape | protected | Is shape a independent object or is a mirror of disk based shape. | |
FIsReverted | protected | True if the Shape needs to be reverted to version saved in file. | |
FParts | protected | Internal storage of parts. | |
FPartTypes | protected | Internal storage of part types. | |
FPoints | protected | Internal storage of points. | |
FPointsM | protected | Internal storage of points. | |
FPointsMMax | protected | Maximum M value. | |
FPointsMMin | protected | Minimum M value. | |
FPointsZ | protected | Internal storage of points. | |
FPointsZMax | protected | Maximum Z value. | |
FPointsZMin | protected | Minimum Z value. | |
FShapeType | protected | Object type. | |
FUid | protected | Unique identifier across a single layer. | |
indexDist2PartCS | protected | Used to limit Distance2PartCS to the neighborhood of a specific point. | |
mappedFields | protected | list of fields. | |
oldIndexExtent | protected | Get old extent for current shape (before editing). | |
Name | Visibility | Description | |
---|---|---|---|
AddPart | public | Add next part to the shape. | |
AddPoint | public | Add a point to the last part of the shape. | |
AddPoint3D | public | Add a point to the last part of the shape in 3D. | |
AddPointBearing(Double; Double) | public | Add a point to the last part of the shape. | |
AddPointBearing(Double; Double; Boolean) | public | Add a point to the last part of the shape. | |
AddToIndex | public | Add shape to the RTree index (if the index exists). | |
AddToLayer | public | Add a copy of the shape to a layer using new UID. | |
AppendGeometry | public | Append geometry. | |
Area | public | Calculate the area of a shape. | |
AreaCS | public | Calculate the area of a shape. | |
AsArc | public | Return current shape as a TGIS_ShapeArc. | |
AsMultiPoint | public | Return current shape as a TGIS_ShapeMultiPoint. | |
AsPoint | public | Return current shape as a TGIS_ShapePoint. | |
AsPolygon | public | Return current shape as a TGIS_ShapePolygon | |
Assign | public | Assign values from a given shape. | |
Centroid | public | Calculate the central point of a shape. | |
ChangeWinding | public | Change winding of a shape part. | |
checkIsEmpty | protected | Check if shape is geometry is empty. | |
Combine(TGIS_Shape; TGIS_TopologyCombineType) | public | Compute a new shape from self and shape provided, based on a given operation. | |
Combine(TGIS_Shape; TGIS_TopologyCombineType; Boolean) | public | Compute a new shape from self and shape provided, based on a given operation. | |
Contains | public | Tests contains relationship for given shape | |
CopyFields | public | Copy fields structure. | |
CopyGeometry | public | Copy geometry. | |
copyInternalFields | protected | Copy internal mapped fields from one shape to another. | |
copyInternalParams | protected | Copy internal Params from one shape to another. | |
CreateCopy | public | Create a copy of the current shape. | |
CreateCopyCS | public | Create a copy of the current shape reprojected form the layer coordinate system into a provided coordinate system. | |
CreateFromEWKB | public | Create the Shape geometry into an Extended Well-Known Binary (EWKB) representation of the geometry with SRID meta data. | |
CreateFromEWKT | public | Create the shape geometry from an Extended Well-Known Text (EWKT) representation of the geometry with SRID meta data. | |
CreateFromGDO | public | Create the shape from GeoMedia Database Object (GDO). | |
CreateFromGML | public | Create the shape from GML. | |
CreateFromJSON | public | Create the shape from JSON. | |
CreateFromWKB | public | Create the shape from Well Known Binary (see: www.opengis.org). | |
CreateFromWKT | public | Create the shape from a Well Known Text (see: www.opengis.org). | |
Cross | public | Tests cross relationship for self and given shape | |
Delete | public | Delete shape. | |
Difference(TGIS_Shape) | public | Compute a difference with shape provided. | |
Difference(TGIS_Shape; Boolean) | public | Compute a difference with shape provided. | |
Disjoint | public | Tests disjoint relationship for self and given shape | |
Distance | public | Calculate planar distance between a point and the shape. | |
Distance2Part | public | Calculate the linear distance between a point and a part in the current shape.. | |
Distance2PartCS | public | Calculate the WGS84 distance between a point and a part in the current shape. | |
Distance2Shape(TGIS_Shape) | public | Calculate planar distance between two shapes. | |
Distance2Shape(TGIS_Shape; TGIS_Line) | public | Calculate planar distance between two shapes. | |
Distance2ShapeCS | public | Calculate WGS84 distance between two shapes. | |
DistanceCS | public | Calculate WGS84 distance between a point and the shape. | |
Draw | public | Draw shape. | |
Draw(TGIS_RendererMultipassMode) | public | Draw shape. | |
DrawChart | public | Draw chart immediately. | |
DrawLabel | public | DrawLabel immediately. | |
DrawLabel(TGIS_DrawBuf) | public | DrawLabel immediately returning points delimiting label area. | |
DrawTrackingPoints | public | Draw tracking points of the shape. | |
Equality | public | Tests equality relationship for self and given shape | |
ExportToEWKB | public | Export the Shape geometry into an Extended Well-Known Binary (EWKB) representation of the geometry with SRID meta data. | |
ExportToEWKT | public | Export the Shape geometry into an Extended Well-Known Text (EWKT) representation of the geometry with SRID meta data. | |
ExportToGDO | public | Export the Shape geometry into a GeoMedia Database Object (GDO). | |
ExportToGML | public | Export the Shape geometry into a GML (see www.opengis.org). | |
ExportToJSON | public | Export the Shape geometry into a GeoJSON (see www.geojson.org). | |
ExportToVAR | public | Export the Shape geometry into an internal SHP format. | |
ExportToWKB | public | Export the Shape geometry into a Well Known Binary (see www.opengis.org). | |
ExportToWKT | public | Export the Shape geometry into a Well Known Text (see www.opengis.org). | |
Flash | public | Flash shape on screen with default parameters (_times equals 4 and _delay equals 100). | |
Flash(Integer; Integer) | public | Flash shape on screen. | |
GetAngle | public | Compute angle of first/last element of the shape in radians related to north, east winding. | |
GetCrossings | public | Get all crossing points between the current shape and another given shape. | |
GetCrossings3D | public | Get all crossing points between the current shape and another given shape. | |
GetField | public | Retrieving data from associated data table. | |
GetFieldEx(String) | public | Retrieving data from associated data table. | |
GetFieldEx(String; Boolean) | public | Retrieving data from associated data table. | |
GetFieldEx(String; Integer) | public | Retrieving data from associated data table. | |
GetFieldEx(String; Integer; Boolean) | public | Retrieving data from associated data table. | |
GetFirstPoint | public | Retrieve the first point from the first segment of geometry. | |
GetFirstPoint3D | public | Retrieve the first point from the first segment of geometry in 3D. | |
GetIntersection(TGIS_Extent) | public | Cut the shape in a defined extent. | |
GetIntersection(TGIS_Extent; Boolean) | public | Cut the shape in a defined extent. | |
GetLabel | public | Return label content (including expanded field values) etc. | |
GetLabelPlain | public | Return label content (including expanded field values) etc. | |
GetLastPoint | public | Retrieve the last point from the last segment of geometry. | |
GetLastPoint3D | public | Retrieve the last point from the last segment of geometry in 3D. | |
GetNumParts | public | Retrieve the number of parts in a geometry. | |
GetNumPoints | public | Retrieve a count of the points in a geometry. | |
getPartOffset | protected | Calculate a part offset. | |
GetPartSize | public | Calculates the count of points in a given part | |
GetPartType | public | Get the type of a part. | |
GetPoint | public | Retrieve a point from a point segment of geometry. | |
GetPoint3D | public | Retrieve a point from a point segment of geometry in 3D. | |
GetPoint3DEx | public | Retrieve a point coordinates from a shape segment. | |
GetPointEx | public | Retrieve a point coordinates from a shape segment. | |
GetSnapPoint | public | Retrieving a snap point. | |
GetSnapPoint3D | public | Retrieving a snap point in 3D. | |
ImportFromEWKB | public | Import the Extended Well-Known Binary (EWKB) representation of the geometry with SRID meta data into the current shape (see www.postgis.org). | |
ImportFromEWKT | public | Import the Extended Well-Known Binary (EWKB) representation of the geometry with SRID meta data into the current shape (see www.postgis.org). | |
ImportFromGDO | public | Import the GeoMedia Database Object (GDO) into the current shape. | |
ImportFromGML | public | Import the GML into the current shape. | |
ImportFromJSON | public | Import the JSON into the current shape. | |
ImportFromVAR | public | Import the Variant geometry. | |
ImportFromWKB | public | Import the Well Known Binary (see: www.opengis.org) into the current shape. | |
ImportFromWKT | public | Import the Well Known Text (see www.opengis.org) into the current shape. | |
Intersect | public | Test intersect relationship for self and given shape | |
Intersection(TGIS_Shape) | public | Compute an intersection with shape provided. | |
Intersection(TGIS_Shape; Boolean) | public | Compute an intersection with shape provided. | |
Invalidate | public | Invalidate the area of a shape; whole cached output will be invalidated. | |
IsCommonPoint | public | Test if the current shape has any common point with another given shape. | |
IsFieldModified | public | Test if shape field was modified. | |
IsFieldModifiedEx | public | Test if shape field was modified. | |
IsInsideCircle | public | Test if the shape is inside a given circle. | |
IsInsideExtent | public | Test if the shape is inside a defined extent. | |
IsInsidePolygon | public | Test if the shape is inside a given polygon. | |
Join(TGIS_Shape) | public | Joins the current shape to another given shape (excluding TGIS_ShapePoint). | |
Join(TGIS_Shape; Boolean) | public | Joins the current shape to another given shape (excluding TGIS_ShapePoint). | |
Length | public | Calculate the length of a shape. | |
LengthCS | public | Calculate the length of a shape. | |
Lock | public | Lock a shape. | |
MakeEditable | public | Add the shape to edited items list. | |
Overlap | public | Tests overlap relationship for self and given shape | |
ParamsAsDrawn | public | Get a shape styling parameters used during drawing on a viewer and fill _params parameter with them. | |
PartLength | public | Calculate the length of a shape part. | |
PartLengthCS | public | Calculate the length of a shape part. | |
PointOnShape | public | Calculate the point which lies on the shape. | |
PrepareContourInternal | public | Prepare contour bitmap (for internal TGIS_Topology purposes). | |
PrepareExportShape | public | Prepare reprojected shape, truncated by extent and copy fields to the result. | |
Recreate(TGIS_Shape; Pointer; Boolean; TGIS_Uid; TGIS_LayerVector) | public | Recreate an instance. | |
Recreate(TGIS_Shape; Pointer; Boolean; TGIS_Uid; TGIS_LayerVector; TGIS_DimensionType) | public | Recreate an instance. | |
Relate | public | Checks nine-intersection matrix for self and given shape | |
Reset | public | Reset shape. | |
ResetModified | public | Reset IsModified flag. | |
Reverse | public | Reverse the order of parts. | |
Reverse(Boolean) | public | Reverse the order of parts. | |
RevertParams | public | Revert params to the layer based parameters. | |
SetField | public | Set a new value for a field. | |
SetFieldsDefaulRuleValue | public | Set default values of fields based on field rules. | |
SetParamsInternal | public | Prepare params. | |
SetPartType | public | Set the type of a part. | |
SetPosition | public | Move the whole shape. | |
Simplify(Double) | public | Line generalization routine. | |
Simplify(Double; Boolean) | public | Line generalization routine. | |
Smooth(Integer) | public | Smooth shape routine | |
Smooth(Integer; Boolean) | public | Smooth shape routine | |
Split | public | Splits a multipart shape into parts. | |
StrokeArc(TGIS_Point3D; Double; Double; Double; Double; Double) | public | Add to the current shape a series of points forming elliptical arc. | |
StrokeArc(TGIS_Point3D; Double; Double; Double; Double; Double; Integer) | public | Add to the current shape a series of points forming elliptical arc. | |
SymmetricalDifference(TGIS_Shape) | public | Compute a symmetrical difference with shape provided. | |
SymmetricalDifference(TGIS_Shape; Boolean) | public | Compute a symmetrical difference with shape provided. | |
Touch | public | Tests touch relationship for self and given shape | |
Transform(TGIS_Point3D; Double; Double; Double; Double; Double; Double; Double; Double; Double; Double; Double; Double) | public | Transform shape by provided matrix [_m11.._m33] and translation vector [_dx,_dy,-dz]. | |
Transform(TGIS_Point3D; Double; Double; Double; Double; Double; Double; Double; Double; Double; Double; Double; Double; Boolean) | public | Transform shape by provided matrix [_m11.._m33] and translation vector [_dx,_dy,-dz]. | |
Union(TGIS_Shape) | public | Compute an union with shape provided. | |
Union(TGIS_Shape; Boolean) | public | Compute an union with shape provided. | |
Unlock | public | Unlock a shape from burst-mode operation. | |
UpdateIndex | public | Update shape to the RTree index (if the index exists). | |
UpdatePoint | public | Update point value. | |
UpdatePoint3D | public | Update point value in 3D. | |
Within | public | Tests within relationship for self and given shape | |
Name | Visibility | Description | |
---|---|---|---|
Dimension | public | Shape dimension. | |
Extent | public | Get extent for current shape. | |
Extent3D | public | Get extent 3D for current shape. | |
FieldChanged | public | True if a shape field has changed. | |
GeometryChanged | public | True if the shape geometry has changed. | |
GeometrySize | public | Size of geometry (number of bytes occupied by all parts & points). | |
IsDeleted | public | True if the Shape needs to be deleted. | |
IsEditable | public | Is shape editable. | |
IsEmpty | public | Is shape empty. | |
IsFixed | public | True if the Shape has checked and fixed winding. | |
IsHidden | public | Is shape hidden. | |
IsMapped | public | True if geometry not allocated, but mapped to the file. | |
IsModified | public | Is shape modified. | |
IsNewShape | public | Is shape a independent object or is a mirror of disk based shape. | |
IsReverted | public | True if the Shape needs to be reverted to the version saved in file. | |
IsSelected | public | Is shape selected. | |
Layer | public | Reference to layer. | |
LocalParams | public | True if the shape has private parameters. | |
LockLevel | public | Mode of locking | |
ManageRTree | public | True if the shape rtree index is managed. | |
Params | public | Returns parameters (colors, fills etc) object. | |
ParentShape | public | Handle to parent shape. | |
Parts | public | Internal storage of parts. | |
PartsSize | public | Size of parts part of geometry. | |
PartTypes | public | Internal storage of part types. | |
PartTypesSize | public | Size of part types of geometry. | |
Points | public | Internal storage of points. | |
PointsM | public | Internal storage of points. | |
PointsMMax | public | Points M max value. | |
PointsMMin | public | Points M min value. | |
PointsMSize | public | Size of points M part of geometry. | |
PointsSize | public | Size of points part of geometry. | |
PointsZ | public | Internal storage of points. | |
PointsZMax | public | Points Z max value. | |
PointsZMin | public | Points Z min value. | |
PointsZSize | public | Size of points Z part of geometry. | |
ProjectedExtent | public | Get extent for current shape. | |
ShapeType | public | Get type of shape. | |
SmartSize | public | Get SmartSize of the shape. | |
Tag | public | Tag has no predefined meaning. | |
TagInternal | public | TagInternal has no predefined meaning. | |
TagPointer | public | TagPointer has no predefined meaning. | |
Uid | public | Get unique identifier for current shape. | |
Viewer | public | Reference to the viewer. | |