Isle
Loading...
Searching...
No Matches
LegoPathCtrlEdge Class Reference

[AI] Controller-specific edge used in path navigation. More...

#include <legopathcontroller.h>

Inheritance diagram for LegoPathCtrlEdge:
Collaboration diagram for LegoPathCtrlEdge:

Additional Inherited Members

- Public Types inherited from LegoUnknown100db7f4
enum  { c_bit1 = 0x01 , c_bit2 = 0x02 , c_bit3 = 0x04 , c_bit4 = 0x08 }
 [AI] Flag values for edge-face properties. More...
 
- Public Member Functions inherited from LegoUnknown100db7f4
 LegoUnknown100db7f4 ()
 [AI] Constructs a new edge object with zero-initialized per-face flags and direction/normal vector. More...
 
LegoResult FUN_1002ddc0 (LegoWEEdge &p_f, Vector3 &p_point) const
 [AI] Calculates the edge normal for use from the given face, negating it if called from faceA. More...
 
LegoU32 BETA_1004a830 (LegoWEGEdge &p_face, LegoU8 p_mask)
 [AI] Tests whether a WEG-edge meets complex mask and flag criteria for this edge, depending on mask and which face is referenced. More...
 
LegoU32 BETA_100b53b0 (LegoWEGEdge &p_face)
 [AI] Checks if a WEG-edge is connected to this edge with proper flagging for its side. More...
 
LegoWEEdgeOtherFace (LegoWEEdge *p_other)
 [AI] Returns the opposite face pointer to the one passed in. More...
 
LegoFloat DistanceToMidpoint (const Vector3 &p_vec)
 [AI] Calculates linear distance from a vector position to the 3D midpoint of the edge. More...
 
LegoFloat DistanceBetweenMidpoints (const LegoUnknown100db7f4 &p_other)
 [AI] Returns the Euclidean distance between the midpoints of this edge and another edge. More...
 
LegoU32 GetMask0x03 ()
 [AI] Returns a mask of flags relevant to the two faces (bits 0 and 1: c_bit1, c_bit2). More...
 
void SetFlags (LegoU16 p_flags)
 [AI] Directly sets the internal flags value. More...
 
LegoU32 FUN_10048c40 (const Vector3 &p_position)
 [AI] Tests if a position is on this edge based on its direction and points, within a precision threshold. More...
 
- Public Member Functions inherited from LegoEdge
 LegoEdge ()
 [AI] Constructs a LegoEdge with all members initialized to nullptr. More...
 
virtual ~LegoEdge ()
 [AI] Destructor. More...
 
LegoEdgeGetClockwiseEdge (LegoWEEdge &p_face)
 [AI] Returns the clockwise adjacent edge relative to the given face. More...
 
LegoEdgeGetCounterclockwiseEdge (LegoWEEdge &p_face)
 [AI] Returns the counterclockwise adjacent edge relative to the given face. More...
 
Vector3CWVertex (LegoWEEdge &p_face)
 [AI] Returns the "clockwise" endpoint of this edge with respect to a given face. More...
 
Vector3CCWVertex (LegoWEEdge &p_face)
 [AI] Returns the "counterclockwise" endpoint of this edge with respect to a given face. More...
 
LegoResult FUN_1002ddc0 (LegoWEEdge &p_face, Vector3 &p_point)
 [AI] Performs an, as yet, unknown operation using the given face and point. More...
 
LegoWEEdgeGetFaceA ()
 [AI] Gets the first face (A) using this edge. More...
 
LegoWEEdgeGetFaceB ()
 [AI] Gets the second face (B) using this edge. More...
 
Vector3GetPointA ()
 [AI] Gets the first endpoint (A) of the edge. More...
 
Vector3GetPointB ()
 [AI] Gets the second endpoint (B) of the edge. More...
 
- Public Attributes inherited from LegoUnknown100db7f4
LegoU16 m_flags
 [AI] Internal flags controlling per-face properties and connection status. More...
 
Mx3DPointFloat m_unk0x28
 [AI] Represents the edge's direction/normal vector or outward face normal. More...
 
float m_unk0x3c
 [AI] Unknown float; likely represents additional metric (possibly precomputed distance/weight). More...
 
- Public Attributes inherited from LegoEdge
LegoWEEdgem_faceA
 [AI] Pointer to the first face sharing this edge. More...
 
LegoWEEdgem_faceB
 [AI] Pointer to the second face sharing this edge. More...
 
LegoEdgem_ccwA
 [AI] Next edge (counterclockwise) around face A. More...
 
LegoEdgem_cwA
 [AI] Next edge (clockwise) around face A. More...
 
LegoEdgem_ccwB
 [AI] Next edge (counterclockwise) around face B. More...
 
LegoEdgem_cwB
 [AI] Next edge (clockwise) around face B. More...
 
Vector3m_pointA
 [AI] The first endpoint of the edge. More...
 
Vector3m_pointB
 [AI] The second endpoint of the edge. More...
 

Detailed Description

[AI] Controller-specific edge used in path navigation.

Inherits geometry and connectivity from LegoUnknown100db7f4, representing a directed edge with additional controller metadata. [AI]

Definition at line 15 of file legopathcontroller.h.


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