PathEngine home previous: iPathEngine::setRandomSeed()next: iPathEngine::unobstructedSpaceVersionIsCompatible()
Contents, API Reference, Interfaces, iPathEngine, shapeIsValid

iPathEngine::shapeIsValid()

Description

Checks whether coordinates are valid for newShape().

Syntax

bool shapeIsValid(int32_t const * shapeCoordinates_Buffer, uint32_t shapeCoordinates_BufferEntries);

Parameters

shapeCoordinates_Buffer, shapeCoordinates_BufferEntries (See Passing Arrays.) A sequence of x and y coordinate value pairs for the shape.

Return Value

Returns true if the shape is valid for newShape(), otherwise false.

C# Mapping

bool shapeIsValid(int[] shapeCoordinates);

Java Mapping

boolean shapeIsValid(int[] shapeCoordinates);

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iPathEngine::unobstructedSpaceVersionIsCompatible()