PathEngine home previous: iGround::addExternalRef()next: iGround::get3DFaceAtPosition()
Contents, API Reference, Interfaces, iGround, extractConvexPolyFootprint

iGround::extractConvexPolyFootprint()

Description

Extracts a set of convex polygons that can be used as a 2D collision footprint for the horizontal extents of a ground mesh.

Syntax

void extractConvexPolyFootprint(iArrayReceiver<int32_t>& result) const;

Parameters

result (See Passing Arrays.) An array describing a set of convex polygons that cover this ground mesh.

Remarks

The convex parts are passed back encoded as a series of 32 bit integers, as follows:

[number of polygons], followed by repeated polygon data

for each polygon, [number of points], followed by alternating [x] and [y] point data for that number of points

C# Mapping

void extractConvexPolyFootprint(out int[] result);

Java Mapping

void extractConvexPolyFootprint(Object_OutArgument result);

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iGround::get3DFaceAtPosition()