PathEngine home previous: iConnectionTestCallBack::testDropCandidatePair()next: Interface iTestBed
Contents, API Reference, Interfaces, iConnectionTestCallBack, testJumpCandidatePair

iConnectionTestCallBack::testJumpCandidatePair()

Description

PathEngine calls back to this method for application-side validation of jump type connection candidates.

Syntax

void testJumpCandidatePair(const tSigned32* fromPoint3D, const tSigned32* toPoint3D, tSigned32& penaltyOut, tSigned32& penaltyBack);
        

Parameters

fromPoint3D 3D coordinates for a 'from' endpoint candidate, in the order x,y,z.
toPoint3D 3D coordinates for a 'to' endpoint candidate, in the order x,y,z.
penaltyOut The cost of off-mesh movement from the 'from' endpoint candidate to the 'to' endpoint candidate, or -1 if off mesh movement is not possible between these endpoint candidates and in this direction.
penaltyBack The cost of off-mesh movement from the 'to' endpoint candidate to the 'from' endpoint candidate, or -1 if off mesh movement is not possible between these endpoint candidates and in this direction.

Documentation for PathEngine release 5.18 - Copyright © 2002-2008 PathEnginenext: Interface iTestBed