User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.pointonshape_void

Table of Contents

ITGIS_Shape.PointOnShape method

DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.PointOnShape | Methods | Properties

Calculates a point guaranteed to lie on the shape geometry.

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

Syntax

// C#
public ITGIS_Point PointOnShape();
' VisualBasic
Public Function PointOnShape() As ITGIS_Point
// Oxygene
public
  function PointOnShape : ITGIS_Point;

Result

Type Description
ITGIS_Point Point on the shape geometry, in the same coordinate system as the shape.

Remarks

PURPOSE: Retrieve a point that is guaranteed to belong to the shape geometry, which is useful for anchor placement when a centroid might fall outside the feature.

BEHAVIOR: Returns a point on the actual shape geometry. Depending on the shape type and implementation, this may be a vertex, a point on an edge, or a point in the polygon interior.

CONSTRAINTS: The exact point chosen is implementation- dependent and should not be assumed to be optimal for cartographic label placement.

2026/07/05 01:25

Page Tools