PathEngine home | previous: | next: |
The cCollidingLine class definition is provided (in SDKRoot/code/externalAPI/i_pathengine.h) as follows:
class cCollidingLine { public: int32_t startX, startY, endX, endY; }; |
This class is provided as a POD (plain old data) class so that the client application can avoid the overhead of virtual functions and memory management when working with objects of this class.
The 'startX' and 'startY' members give the X and Y coordinates for a start position for the line. The 'endX' and 'endY' members give the X and Y coordinates for an end position for the line. But note that the purpose of these two position may just be to specify position and direction of an 'infinite line', in which case the actual start and end positions are then just an arbitrary ordered pair of positions that enable the infinite line to be specified, and not relevant in of themselves.
The equivalent class in the
Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEngine | next: |