PathEngine home previous: iAnchorsAndPinnedShapes::pinnedShape_NumberOfVertices()next: Interface iSolidObjects
Contents, API Reference, Interfaces, iAnchorsAndPinnedShapes, pinnedShape_Vertex

iAnchorsAndPinnedShapes::pinnedShape_Vertex()

Description

Returns coordinates of the specified shape vertex.

Syntax

void pinnedShape_Vertex(int32_t shapeIndex, int32_t vertexIndex, int32_t& x, int32_t& y) const;

Parameters

shapeIndex The (zero-based) index of the shape being queried. Must be greater than or equal to zero, and less than the value returned by numberOfPinnedShapes().
vertexIndex The (zero-based) index of the vertex in this shape. Must be a greater than or equal to zero and less than the value returned by pinnedShape_NumberOfVertices().
x Returns the vertex's x coordinate.
y Returns the vertex's y coordinate.

C# Mapping

void pinnedShape_Vertex(int shapeIndex, int vertexIndex, out int x, out int y);

Java Mapping

void pinnedShape_Vertex(int shapeIndex, int vertexIndex, int_OutArgument x, int_OutArgument y);

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: Interface iSolidObjects