AddCentroid function
Prototype: |
function AddCentroid (const X_,Y_ :double; const ID_ :variant) :boolean; |
|
Description: |
Adds a centroid |
|
Syntax (1): |
variable := Layer.AddCentroid (X, Y, ID); |
|
Syntax (2): |
Layer.AddCentroid (X, Y, ID); |
|
Part |
Description |
|
variable |
Variable declared as boolean |
|
Layer |
A reference to the Field-Map layer as defined in Field-Map Project Manager |
|
X |
||
Y |
||
ID |
ID of newly created centroid. |
|
Return value: |
True/false (for syntax 1) |
|
Note: This function is available since version X8.
See also:
GisLayerReference; ShapeRecordCount; GetParentPolygonArea_m2; FindIntersectingPolygons; GetIntersectingPolygonAreas; FindContainedPointsOrCentroids; FindLinesIntersectingPolygon; FindClosestLine; FindPolygonContainingPoint; FindPolygonContainingPointByCoords; AddPoint; AddLine; AddPolygon; AddCentroid; AddPolygonWithCentroid; AddCircularPolygonWithCentroid; SplitMultiPolygon; DeletePoint; DeleteLine; DeletePolygon; DeletePolygonsKeepCentroidsAndAttributes; SaveShapesToBlobs; UpdateSymbolAndLabelInShapefiles; CreatePointsAlongLine; RefreshMap; RefreshMapRectangle; ZoomAndSelect; ZoomAndSelectEntity; SelectEntities; ZoomToLayerExtent; MeasureLineLength_m; MeasurePolygonArea_m2; GetLineCoordinates; GetPolygonCoordinates; GisEntityExists; GetCombinedPolygonsCoordinates; SelectLine
© 2024 IFER-Monitoring and Mapping Solutions