PathEngine home previous: Classesnext: cHorizontalRange
Contents, API Reference, Classes, cCollidingLine

cCollidingLine

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.

Data members

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.

See PathEngine Coordinates

Interop

The equivalent class in the Microsoft CLR interface (for C Sharp or Visual Basic) is PathEngine.CollidingLine.


Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: cHorizontalRange