PathEngine home previous: iContentChunkInstance::edgesCanConnect()next: iContentChunkInstance::getContentChunk()
Contents, API Reference, Interfaces, iContentChunkInstance, getConnectingEdgeGeometry

iContentChunkInstance::getConnectingEdgeGeometry()

Description

Used to query the number of connecting edges marked up in the instanced chunk's ground geometry.

Syntax

void getConnectingEdgeGeometry(int32_t connectingEdgeIndex, int32_t& startX, int32_t& startY, float& startZ, int32_t& endX, int32_t& endY, float& endZ) const;

Parameters

connectingEdgeIndex The index of the connecting edge to query.
(Must be non-negative and less than the value returned by iContentChunkInstance::numberOfConnectingEdges().)
startX Returns the X coordinate of the start point of the connecting edge.
startY Returns the Y coordinate of the start point of the connecting edge.
startZ Returns the Z coordinate of the start point of the connecting edge.
endX Returns the X coordinate of the end point of the connecting edge.
endY Returns the Y coordinate of the end point of the connecting edge.
endZ Returns the Z coordinate of the end point of the connecting edge.

Remarks

The start point is on the left (and the end point is on the right) for an agent standing on the ground surface just inside of the connecting edge and looking out through the edge.

C# Mapping

void getConnectingEdgeGeometry(int connectingEdgeIndex, out int startX, out int startY, out float startZ, out int endX, out int endY, out float endZ);

Java Mapping

void getConnectingEdgeGeometry(int connectingEdgeIndex, int_OutArgument startX, int_OutArgument startY, float_OutArgument startZ, int_OutArgument endX, int_OutArgument endY, float_OutArgument endZ);

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iContentChunkInstance::getContentChunk()