User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_shapepolygon

TGIS_ShapePolygon class

DK11 for Delphi | GisLayerVector.TGIS_ShapePolygon | Classes | Constructors | Fields | Methods | Properties

Encapsulation of polygon shapes.

Available also on: .NET | Java | ActiveX | Python.

Syntax

// Delphi
type
  TGIS_ShapePolygon = class( TGIS_Shape )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_ShapePolygon : public TGIS_Shape
{
};

Inheritance

Constructors

Inherited Overrides Protected
Name Visibility Description
Create public Create a shape instance.
(Overrides TGIS_Shape.Create)
Create(TGIS_DimensionType) public Create a shape instance.
(Overrides TGIS_Shape.Create)
Create(TGIS_Shape; Pointer; Boolean; TGIS_Uid; TGIS_LayerVector) public Create a shape instance.
(Overrides TGIS_Shape.Create)
Create(TGIS_Shape; Pointer; Boolean; TGIS_Uid; TGIS_LayerVector; TGIS_DimensionType) public Create a shape instance.
(Overrides TGIS_Shape.Create)
Destroy public Destroy a shape instance.
(Inherited from TGIS_Shape)

Fields

Inherited Protected
Name Visibility Description
FDimension protected Dimensions supported by a shape.
(Inherited from TGIS_Shape)
FGeometryChanged protected Has shape geometry changed.
(Inherited from TGIS_Shape)
FIsDeleted protected True if the Shape needs to be deleted.
(Inherited from TGIS_Shape)
FIsEditable protected Is shape editable.
(Inherited from TGIS_Shape)
FIsFixed protected True if the Shape has checked and fixed winding.
(Inherited from TGIS_Shape)
FIsHidden protected Is shape hidden.
(Inherited from TGIS_Shape)
FIsMapped protected True if geometry not allocated but mapped to a file.
(Inherited from TGIS_Shape)
FIsModified protected Is shape (geometry or fields) modified.
(Inherited from TGIS_Shape)
FIsNewShape protected Is shape a independent object or is a mirror of disk based shape.
(Inherited from TGIS_Shape)
FIsReverted protected True if the Shape needs to be reverted to version saved in file.
(Inherited from TGIS_Shape)
FParts protected Internal storage of parts.
(Inherited from TGIS_Shape)
FPartTypes protected Internal storage of part types.
(Inherited from TGIS_Shape)
FPoints protected Internal storage of points.
(Inherited from TGIS_Shape)
FPointsM protected Internal storage of points.
(Inherited from TGIS_Shape)
FPointsMMax protected Maximum M value.
(Inherited from TGIS_Shape)
FPointsMMin protected Minimum M value.
(Inherited from TGIS_Shape)
FPointsZ protected Internal storage of points.
(Inherited from TGIS_Shape)
FPointsZMax protected Maximum Z value.
(Inherited from TGIS_Shape)
FPointsZMin protected Minimum Z value.
(Inherited from TGIS_Shape)
FShapeType protected Object type.
(Inherited from TGIS_Shape)
FUid protected Unique identifier across a single layer.
(Inherited from TGIS_Shape)
indexDist2PartCS protected Used to limit Distance2PartCS to the neighborhood of a specific point.
(Inherited from TGIS_Shape)
mappedFields protected list of fields.
(Inherited from TGIS_Shape)
oldIndexExtent protected Get old extent for current shape (before editing).
(Inherited from TGIS_Shape)

Methods

Inherited Overrides Protected
Name Visibility Description
AddPart public Add next part to the shape.
(Inherited from TGIS_Shape)
AddPoint public Add a point to the last part of the shape.
(Overrides TGIS_Shape.AddPoint)
AddPoint3D public Add a point to the last part of the shape in 3D.
(Overrides TGIS_Shape.AddPoint3D)
AddPointBearing(Double; Double) public Add a point to the last part of the shape.
(Inherited from TGIS_Shape)
AddPointBearing(Double; Double; Boolean) public Add a point to the last part of the shape.
(Inherited from TGIS_Shape)
AddToIndex public Add shape to the RTree index (if the index exists).
(Inherited from TGIS_Shape)
AddToLayer public Add a copy of the shape to a layer using new UID.
(Inherited from TGIS_Shape)
AppendGeometry public Append geometry.
(Inherited from TGIS_Shape)
Area public Calculate the area of a shape.
(Overrides TGIS_Shape.Area)
AreaCS public Calculate the area of a shape.
(Overrides TGIS_Shape.AreaCS)
AsArc public Return current shape as a TGIS_ShapeArc.
(Inherited from TGIS_Shape)
AsMultiPoint public Return current shape as a TGIS_ShapeMultiPoint.
(Inherited from TGIS_Shape)
AsPoint public Return current shape as a TGIS_ShapePoint.
(Inherited from TGIS_Shape)
AsPolygon public Return current shape as a TGIS_ShapePolygon
(Inherited from TGIS_Shape)
Assign public Assign values from a given shape.
(Inherited from TGIS_Shape)
BuildFromEdges public Builds a polygon from a list of non complex edges.
Centroid public Calculate the central point of a shape.
(Overrides TGIS_Shape.Centroid)
ChangeWinding public Change winding of a shape part.
(Inherited from TGIS_Shape)
checkIsEmpty protected Check if shape is geometry is empty.
(Inherited from TGIS_Shape)
Combine(TGIS_Shape; TGIS_TopologyCombineType) public Compute a new shape from self and shape provided, based on a given operation.
(Inherited from TGIS_Shape)
Combine(TGIS_Shape; TGIS_TopologyCombineType; Boolean) public Compute a new shape from self and shape provided, based on a given operation.
(Inherited from TGIS_Shape)
Contains public Tests contains relationship for given shape
(Inherited from TGIS_Shape)
CopyFields public Copy fields structure.
(Inherited from TGIS_Shape)
CopyGeometry public Copy geometry.
(Inherited from TGIS_Shape)
copyInternalFields protected Copy internal mapped fields from one shape to another.
(Inherited from TGIS_Shape)
copyInternalParams protected Copy internal Params from one shape to another.
(Inherited from TGIS_Shape)
CreateCopy public Create a copy of the current shape.
(Inherited from TGIS_Shape)
CreateCopyCS public Create a copy of the current shape reprojected form the layer coordinate system into a provided coordinate system.
(Inherited from TGIS_Shape)
CreateFromEWKB public Create the Shape geometry into an Extended Well-Known Binary (EWKB) representation of the geometry with SRID meta data.
(Inherited from TGIS_Shape)
CreateFromEWKT public Create the shape geometry from an Extended Well-Known Text (EWKT) representation of the geometry with SRID meta data.
(Inherited from TGIS_Shape)
CreateFromGDO public Create the shape from GeoMedia Database Object (GDO).
(Inherited from TGIS_Shape)
CreateFromGML public Create the shape from GML.
(Inherited from TGIS_Shape)
CreateFromJSON public Create the shape from JSON.
(Inherited from TGIS_Shape)
CreateFromWKB public Create the shape from Well Known Binary (see: www.opengis.org).
(Inherited from TGIS_Shape)
CreateFromWKT public Create the shape from a Well Known Text (see: www.opengis.org).
(Inherited from TGIS_Shape)
Cross public Tests cross relationship for self and given shape
(Inherited from TGIS_Shape)
Delete public Delete shape.
(Inherited from TGIS_Shape)
Difference(TGIS_Shape) public Compute a difference with shape provided.
(Inherited from TGIS_Shape)
Difference(TGIS_Shape; Boolean) public Compute a difference with shape provided.
(Inherited from TGIS_Shape)
Disjoint public Tests disjoint relationship for self and given shape
(Inherited from TGIS_Shape)
Distance public Calculate planar distance between a point and the shape.
(Inherited from TGIS_Shape)
Distance2Part public Calculate the linear distance between a point and a part in the current shape..
(Overrides TGIS_Shape.Distance2Part)
Distance2PartCS public Calculate the WGS84 distance between a point and a part in the current shape.
(Overrides TGIS_Shape.Distance2PartCS)
Distance2Shape(TGIS_Shape) public Calculate planar distance between two shapes.
(Inherited from TGIS_Shape)
Distance2Shape(TGIS_Shape; TGIS_Line) public Calculate planar distance between two shapes.
(Inherited from TGIS_Shape)
Distance2ShapeCS public Calculate WGS84 distance between two shapes.
(Inherited from TGIS_Shape)
DistanceCS public Calculate WGS84 distance between a point and the shape.
(Inherited from TGIS_Shape)
Draw public Draw shape.
(Inherited from TGIS_Shape)
Draw(TGIS_RendererMultipassMode) public Draw shape.
(Inherited from TGIS_Shape)
DrawChart public Draw chart immediately.
(Inherited from TGIS_Shape)
DrawLabel public DrawLabel immediately.
(Inherited from TGIS_Shape)
DrawLabel(TGIS_DrawBuf) public DrawLabel immediately returning points delimiting label area.
(Inherited from TGIS_Shape)
DrawTrackingPoints public Draw tracking points of the shape.
(Inherited from TGIS_Shape)
Equality public Tests equality relationship for self and given shape
(Inherited from TGIS_Shape)
ExportToEWKB public Export the Shape geometry into an Extended Well-Known Binary (EWKB) representation of the geometry with SRID meta data.
(Overrides TGIS_Shape.ExportToEWKB)
ExportToEWKT public Export the Shape geometry into an Extended Well-Known Text (EWKT) representation of the geometry with SRID meta data.
(Overrides TGIS_Shape.ExportToEWKT)
ExportToGDO public Export the Shape geometry into a GeoMedia Database Object (GDO).
(Overrides TGIS_Shape.ExportToGDO)
ExportToGML public Export the Shape geometry into a GML (see www.opengis.org).
(Overrides TGIS_Shape.ExportToGML)
ExportToJSON public Export the Shape geometry into a GeoJSON (see www.geojson.org).
(Overrides TGIS_Shape.ExportToJSON)
ExportToVAR public Export the Shape geometry into an internal SHP format.
(Overrides TGIS_Shape.ExportToVAR)
ExportToWKB public Export the Shape geometry into a Well Known Binary (see www.opengis.org).
(Overrides TGIS_Shape.ExportToWKB)
ExportToWKT public Export the Shape geometry into a Well Known Text (see www.opengis.org).
(Overrides TGIS_Shape.ExportToWKT)
Flash public Flash shape on screen with default parameters (_times equals 4 and _delay equals 100).
(Inherited from TGIS_Shape)
Flash(Integer; Integer) public Flash shape on screen.
(Inherited from TGIS_Shape)
GetAngle public Compute angle of first/last element of the shape in radians related to north, east winding.
(Inherited from TGIS_Shape)
GetCrossings public Get all crossing points between the current shape and another given shape.
(Inherited from TGIS_Shape)
GetCrossings3D public Get all crossing points between the current shape and another given shape.
(Inherited from TGIS_Shape)
GetField public Retrieving data from associated data table.
(Inherited from TGIS_Shape)
GetFieldEx(String) public Retrieving data from associated data table.
(Inherited from TGIS_Shape)
GetFieldEx(String; Boolean) public Retrieving data from associated data table.
(Inherited from TGIS_Shape)
GetFieldEx(String; Integer) public Retrieving data from associated data table.
(Inherited from TGIS_Shape)
GetFieldEx(String; Integer; Boolean) public Retrieving data from associated data table.
(Inherited from TGIS_Shape)
GetFirstPoint public Retrieve the first point from the first segment of geometry.
(Inherited from TGIS_Shape)
GetFirstPoint3D public Retrieve the first point from the first segment of geometry in 3D.
(Inherited from TGIS_Shape)
getIntersectInternal protected
getIntersectInternal3D protected
GetIntersection(TGIS_Extent) public Cut the shape in a defined extent.
(Inherited from TGIS_Shape)
GetIntersection(TGIS_Extent; Boolean) public Cut the shape in a defined extent.
(Inherited from TGIS_Shape)
GetLabel public Return label content (including expanded field values) etc.
(Inherited from TGIS_Shape)
GetLabelPlain public Return label content (including expanded field values) etc.
(Inherited from TGIS_Shape)
GetLastPoint public Retrieve the last point from the last segment of geometry.
(Inherited from TGIS_Shape)
GetLastPoint3D public Retrieve the last point from the last segment of geometry in 3D.
(Inherited from TGIS_Shape)
GetNumParts public Retrieve the number of parts in a geometry.
(Inherited from TGIS_Shape)
GetNumPoints public Retrieve a count of the points in a geometry.
(Inherited from TGIS_Shape)
getPartOffset protected Calculate a part offset.
(Inherited from TGIS_Shape)
GetPartSize public Calculates the count of points in a given part
(Inherited from TGIS_Shape)
GetPartType public Get the type of a part.
(Inherited from TGIS_Shape)
GetPoint public Retrieve a point from a point segment of geometry.
(Inherited from TGIS_Shape)
GetPoint3D public Retrieve a point from a point segment of geometry in 3D.
(Inherited from TGIS_Shape)
GetPoint3DEx public Retrieve a point coordinates from a shape segment.
(Inherited from TGIS_Shape)
GetPointEx public Retrieve a point coordinates from a shape segment.
(Inherited from TGIS_Shape)
GetSnapPoint public Retrieving a snap point.
(Inherited from TGIS_Shape)
GetSnapPoint3D public Retrieving a snap point in 3D.
(Inherited from TGIS_Shape)
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).
(Inherited from TGIS_Shape)
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).
(Inherited from TGIS_Shape)
ImportFromGDO public Import the GeoMedia Database Object (GDO) into the current shape.
(Inherited from TGIS_Shape)
ImportFromGML public Import the GML into the current shape.
(Inherited from TGIS_Shape)
ImportFromJSON public Import the JSON into the current shape.
(Inherited from TGIS_Shape)
ImportFromVAR public Import the Variant geometry.
(Inherited from TGIS_Shape)
ImportFromWKB public Import the Well Known Binary (see: www.opengis.org) into the current shape.
(Inherited from TGIS_Shape)
ImportFromWKT public Import the Well Known Text (see www.opengis.org) into the current shape.
(Inherited from TGIS_Shape)
Intersect public Test intersect relationship for self and given shape
(Inherited from TGIS_Shape)
Intersection(TGIS_Shape) public Compute an intersection with shape provided.
(Inherited from TGIS_Shape)
Intersection(TGIS_Shape; Boolean) public Compute an intersection with shape provided.
(Inherited from TGIS_Shape)
Invalidate public Invalidate the area of a shape; whole cached output will be invalidated.
(Inherited from TGIS_Shape)
IsCommonPoint public Test if the current shape has any common point with another given shape.
(Overrides TGIS_Shape.IsCommonPoint)
IsFieldModified public Test if shape field was modified.
(Inherited from TGIS_Shape)
IsFieldModifiedEx public Test if shape field was modified.
(Inherited from TGIS_Shape)
IsInsideCircle public Test if the shape is inside a given circle.
(Overrides TGIS_Shape.IsInsideCircle)
IsInsideExtent public Test if the shape is inside a defined extent.
(Inherited from TGIS_Shape)
IsInsidePolygon public Test if the shape is inside a given polygon.
(Overrides TGIS_Shape.IsInsidePolygon)
Join(TGIS_Shape) public Joins the current shape to another given shape (excluding TGIS_ShapePoint).
(Inherited from TGIS_Shape)
Join(TGIS_Shape; Boolean) public Joins the current shape to another given shape (excluding TGIS_ShapePoint).
(Inherited from TGIS_Shape)
Length public Calculate the length of a shape.
(Overrides TGIS_Shape.Length)
LengthCS public Calculate the length of a shape.
(Overrides TGIS_Shape.LengthCS)
Lock public Lock a shape.
(Inherited from TGIS_Shape)
MakeEditable public Add the shape to edited items list.
(Inherited from TGIS_Shape)
Overlap public Tests overlap relationship for self and given shape
(Inherited from TGIS_Shape)
ParamsAsDrawn public Get a shape styling parameters used during drawing on a viewer and fill _params parameter with them.
(Inherited from TGIS_Shape)
PartLength public Calculate the length of a shape part.
(Overrides TGIS_Shape.PartLength)
PartLengthCS public Calculate the length of a shape part.
(Overrides TGIS_Shape.PartLengthCS)
PointOnShape public Calculate the point which lies on the shape.
(Overrides TGIS_Shape.PointOnShape)
PrepareContourInternal public Prepare contour bitmap (for internal TGIS_Topology purposes).
(Inherited from TGIS_Shape)
PrepareExportShape public Prepare reprojected shape, truncated by extent and copy fields to the result.
(Inherited from TGIS_Shape)
Recreate(TGIS_Shape; Pointer; Boolean; TGIS_Uid; TGIS_LayerVector) public Recreate an instance.
(Inherited from TGIS_Shape)
Recreate(TGIS_Shape; Pointer; Boolean; TGIS_Uid; TGIS_LayerVector; TGIS_DimensionType) public Recreate an instance.
(Inherited from TGIS_Shape)
Relate public Checks nine-intersection matrix for self and given shape
(Inherited from TGIS_Shape)
Reset public Reset shape.
(Inherited from TGIS_Shape)
ResetModified public Reset IsModified flag.
(Inherited from TGIS_Shape)
Reverse public Reverse the order of parts.
(Inherited from TGIS_Shape)
Reverse(Boolean) public Reverse the order of parts.
(Inherited from TGIS_Shape)
RevertParams public Revert params to the layer based parameters.
(Inherited from TGIS_Shape)
SetField public Set a new value for a field.
(Inherited from TGIS_Shape)
SetFieldsDefaulRuleValue public Set default values of fields based on field rules.
(Inherited from TGIS_Shape)
SetParamsInternal public Prepare params.
(Inherited from TGIS_Shape)
SetPartType public Set the type of a part.
(Inherited from TGIS_Shape)
SetPosition public Move the whole shape.
(Inherited from TGIS_Shape)
Simplify(Double) public Line generalization routine.
(Inherited from TGIS_Shape)
Simplify(Double; Boolean) public Line generalization routine.
(Inherited from TGIS_Shape)
Smooth(Integer) public Smooth shape routine
(Inherited from TGIS_Shape)
Smooth(Integer; Boolean) public Smooth shape routine
(Inherited from TGIS_Shape)
Split public Splits a multipart polygon shape into parts.
StrokeArc(TGIS_Point3D; Double; Double; Double; Double; Double) public Add to the current shape a series of points forming elliptical arc.
(Inherited from TGIS_Shape)
StrokeArc(TGIS_Point3D; Double; Double; Double; Double; Double; Integer) public Add to the current shape a series of points forming elliptical arc.
(Inherited from TGIS_Shape)
SymmetricalDifference(TGIS_Shape) public Compute a symmetrical difference with shape provided.
(Inherited from TGIS_Shape)
SymmetricalDifference(TGIS_Shape; Boolean) public Compute a symmetrical difference with shape provided.
(Inherited from TGIS_Shape)
Touch public Tests touch relationship for self and given shape
(Inherited from TGIS_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].
(Inherited from TGIS_Shape)
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].
(Inherited from TGIS_Shape)
Union(TGIS_Shape) public Compute an union with shape provided.
(Inherited from TGIS_Shape)
Union(TGIS_Shape; Boolean) public Compute an union with shape provided.
(Inherited from TGIS_Shape)
Unlock public Unlock a shape from burst-mode operation.
(Inherited from TGIS_Shape)
UpdateIndex public Update shape to the RTree index (if the index exists).
(Inherited from TGIS_Shape)
UpdatePoint public Update point value.
(Overrides TGIS_Shape.UpdatePoint)
UpdatePoint3D public Update point value in 3D.
(Overrides TGIS_Shape.UpdatePoint3D)
Within public Tests within relationship for self and given shape
(Inherited from TGIS_Shape)

Properties

Inherited Protected
Name Visibility Description
Dimension public Shape dimension.
(Inherited from TGIS_Shape)
Extent public Get extent for current shape.
(Inherited from TGIS_Shape)
Extent3D public Get extent 3D for current shape.
(Inherited from TGIS_Shape)
FieldChanged public True if a shape field has changed.
(Inherited from TGIS_Shape)
GeometryChanged public True if the shape geometry has changed.
(Inherited from TGIS_Shape)
GeometrySize public Size of geometry (number of bytes occupied by all parts & points).
(Inherited from TGIS_Shape)
IsDeleted public True if the Shape needs to be deleted.
(Inherited from TGIS_Shape)
IsEditable public Is shape editable.
(Inherited from TGIS_Shape)
IsEmpty public Is shape empty.
(Inherited from TGIS_Shape)
IsFixed public True if the Shape has checked and fixed winding.
(Inherited from TGIS_Shape)
IsHidden public Is shape hidden.
(Inherited from TGIS_Shape)
IsMapped public True if geometry not allocated, but mapped to the file.
(Inherited from TGIS_Shape)
IsModified public Is shape modified.
(Inherited from TGIS_Shape)
IsNewShape public Is shape a independent object or is a mirror of disk based shape.
(Inherited from TGIS_Shape)
IsReverted public True if the Shape needs to be reverted to the version saved in file.
(Inherited from TGIS_Shape)
IsSelected public Is shape selected.
(Inherited from TGIS_Shape)
Layer public Reference to layer.
(Inherited from TGIS_Shape)
LocalParams public True if the shape has private parameters.
(Inherited from TGIS_Shape)
LockLevel public Mode of locking
(Inherited from TGIS_Shape)
ManageRTree public True if the shape rtree index is managed.
(Inherited from TGIS_Shape)
Params public Returns parameters (colors, fills etc) object.
(Inherited from TGIS_Shape)
ParentShape public Handle to parent shape.
(Inherited from TGIS_Shape)
Parts public Internal storage of parts.
(Inherited from TGIS_Shape)
PartsSize public Size of parts part of geometry.
(Inherited from TGIS_Shape)
PartTypes public Internal storage of part types.
(Inherited from TGIS_Shape)
PartTypesSize public Size of part types of geometry.
(Inherited from TGIS_Shape)
Points public Internal storage of points.
(Inherited from TGIS_Shape)
PointsM public Internal storage of points.
(Inherited from TGIS_Shape)
PointsMMax public Points M max value.
(Inherited from TGIS_Shape)
PointsMMin public Points M min value.
(Inherited from TGIS_Shape)
PointsMSize public Size of points M part of geometry.
(Inherited from TGIS_Shape)
PointsSize public Size of points part of geometry.
(Inherited from TGIS_Shape)
PointsZ public Internal storage of points.
(Inherited from TGIS_Shape)
PointsZMax public Points Z max value.
(Inherited from TGIS_Shape)
PointsZMin public Points Z min value.
(Inherited from TGIS_Shape)
PointsZSize public Size of points Z part of geometry.
(Inherited from TGIS_Shape)
ProjectedExtent public Get extent for current shape.
(Inherited from TGIS_Shape)
ShapeType public Get type of shape.
(Inherited from TGIS_Shape)
SmartSize public Get SmartSize of the shape.
(Inherited from TGIS_Shape)
Tag public Tag has no predefined meaning.
(Inherited from TGIS_Shape)
TagInternal public TagInternal has no predefined meaning.
(Inherited from TGIS_Shape)
TagPointer public TagPointer has no predefined meaning.
(Inherited from TGIS_Shape)
Uid public Get unique identifier for current shape.
(Inherited from TGIS_Shape)
Viewer public Reference to the viewer.
(Inherited from TGIS_Shape)

2024/11/20 01:07

Page Tools