This method is used to initialize an AABB object by setting its minimum and maximum vertices; the full list of vertices, the center and the half extents of the AABB are evaluated accordingly.
This method can be called multiple times to reconfigure the object.
The following graphic shows the minimum and maximum vertices for an AABB collision object:
Access: PUBLIC
Input |
Data type |
Description |
---|---|---|
i_stMinVertex |
SE_Math.ST_Vector3D |
The minimum vertex among the vertices of the AABB object. |
i_stMaxVertex |
SE_Math.ST_Vector3D |
The maximum vertex among the vertices of the AABB object. |
Output |
Data type |
Description |
---|---|---|
q_xError |
BOOL |
The output is set to TRUE if an error has been detected during the execution. |
q_etResult |
POU-specific output on the diagnostic; q_xError = FALSE -> Status message; q_xError = TRUE -> Diagnostic message. |
|
q_sResultMsg |
STRING(80) |
Event-triggered message that gives additional information on the diagnostic state. |