DK11 for Python | tatukgis.pdk.TGIS_Shape.AddPoint | Constructors | Methods | Properties
Add a point to the last part of the shape.
# Python def AddPoint( self, _ptg: TGIS_Point ) -> None:
Name | Type | Description |
---|---|---|
_ptg | TGIS_Point | point to be added |
Internal representation of a shape is the same as in the SHP file. If you want to set a new geometry, this will call Reset, AddPart, AddPoint...AddPoint. For TGIS_ShapePoint, only one Part and one Point is allowed.
See TGIS_Shape.Lock for details and example.