Isle
Loading...
Searching...
No Matches
LegoPathEdgeContainer Struct Reference

[AI] Container for path boundary edges, also stores position, direction, and flags. More...

#include <legopathedgecontainer.h>

Inheritance diagram for LegoPathEdgeContainer:
Collaboration diagram for LegoPathEdgeContainer:

Public Types

enum  { c_bit1 = 0x01 }
 

Public Member Functions

 LegoPathEdgeContainer ()
 [AI] Default constructor. Initializes position and direction to default, clears boundary and flags. [AI] More...
 
void SetBit1 (MxU32 p_set)
 [AI] Set or clear the c_bit1 flag in m_flags. More...
 
MxU32 GetBit1 ()
 [AI] Query if the c_bit1 flag is set. More...
 

Public Attributes

Mx3DPointFloat m_position
 [AI] 3D position reference for the edge group, e.g., start or mean location. [AI] More...
 
Mx3DPointFloat m_direction
 [AI] 3D direction vector reference, e.g., average or intended facing. [AI] More...
 
LegoPathBoundarym_boundary
 [AI] Associated boundary for all contained edges; may be null if container is generic. [AI] More...
 
MxU8 m_flags
 [AI] Flag bits for special edge container properties (e.g. active, reachable, etc.). [AI] More...
 

Detailed Description

[AI] Container for path boundary edges, also stores position, direction, and flags.

[AI]

[AI] Stores a collection of boundary edges and records a spatial reference (position, direction), boundary association, and one or more flag bits. Used for geometric and logical grouping of path boundary edges in spatial networks. [AI]

Note
[AI] Inherits from list<LegoBoundaryEdge>; size is 0x3c bytes.

Definition at line 109 of file legopathedgecontainer.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
c_bit1 

[AI] Flag value for the container; purpose depends on subsystems using this structure. [AI]

Definition at line 110 of file legopathedgecontainer.h.

Constructor & Destructor Documentation

◆ LegoPathEdgeContainer()

LegoPathEdgeContainer::LegoPathEdgeContainer ( )
inline

[AI] Default constructor. Initializes position and direction to default, clears boundary and flags. [AI]

Definition at line 115 of file legopathedgecontainer.h.

Member Function Documentation

◆ GetBit1()

MxU32 LegoPathEdgeContainer::GetBit1 ( )
inline

[AI] Query if the c_bit1 flag is set.

Returns zero if not set. [AI]

Returns
[AI] Non-zero if flag is set, zero if not. [AI]

Definition at line 135 of file legopathedgecontainer.h.

◆ SetBit1()

void LegoPathEdgeContainer::SetBit1 ( MxU32  p_set)
inline

[AI] Set or clear the c_bit1 flag in m_flags.

Parameters
p_set[AI] Non-zero to set the flag, zero to clear it. [AI]

Definition at line 123 of file legopathedgecontainer.h.

Member Data Documentation

◆ m_boundary

LegoPathBoundary* LegoPathEdgeContainer::m_boundary

[AI] Associated boundary for all contained edges; may be null if container is generic. [AI]

Definition at line 139 of file legopathedgecontainer.h.

◆ m_direction

Mx3DPointFloat LegoPathEdgeContainer::m_direction

[AI] 3D direction vector reference, e.g., average or intended facing. [AI]

Definition at line 138 of file legopathedgecontainer.h.

◆ m_flags

MxU8 LegoPathEdgeContainer::m_flags

[AI] Flag bits for special edge container properties (e.g. active, reachable, etc.). [AI]

Definition at line 140 of file legopathedgecontainer.h.

◆ m_position

Mx3DPointFloat LegoPathEdgeContainer::m_position

[AI] 3D position reference for the edge group, e.g., start or mean location. [AI]

Definition at line 137 of file legopathedgecontainer.h.


The documentation for this struct was generated from the following file: