![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| array< vector > | GetAnchorPoints () |
| array< int > | GetAnchorPointIndices () |
| array< vector > | GetTesselatedPoints () |
| vector | GetCurrentPosition () |
| vector | GetCurrentDirection () |
| float | GetShapeLength () |
| float | GetDoneShapeLength () |
| float | GetRemainingShapeLength () |
| float | CalculateCurrentSegmentIndex () |
| float | CalculateDoneLength () |
| bool | GetNextPoint (float distance, out vector result, int anchorLimit=-1, bool straightLine=true, bool doNotMove=false, bool xzMode=false) |
| float | GetShapeDistanceToNextAnchor () |
| float | GetStraightDistanceToNextAnchor () |
| bool | SetOnAnchor (int anchorIndex) |
| bool | IsValid () |
| void | Reset () |
| Reset to the beginning. | |
| void | SCR_ShapeNextPointHelper () |
| protected constructor - use CreateFrom* methods | |
Static Protected Member Functions | |
| static SCR_ShapeNextPointHelper | CreateFromPoints (notnull array< vector > anchorPoints, notnull array< vector > tesselatedPoints) |
| static SCR_ShapeNextPointHelper | CreateFromShape (notnull ShapeEntity shapeEntity, bool reverse=false) |
Protected Attributes | |
| ref array< vector > | m_aAnchorPoints |
| format [anchor0, anchor1, anchor2] | |
| ref array< vector > | m_aTesselatedPoints |
| format [anchor0, pointA0, pointB0, anchor1, pointA1, pointB1, anchor2] | |
| ref array< int > | m_aAnchorPointIndices |
| anchor indices in tesselated points | |
| ref array< ref array< vector > > | m_aSegments |
| format [[segment0startPos, segment0endPos], [segment1startPos, segment1endPos]] | |
| ref array< ref array< vector > > | m_aSections |
| format [[anchor0, tessPoint, tessPoint, anchor1], [anchor1, tessPoint, tessPoint, anchor2]] | |
| int | m_iSegmentsCount |
| count of m_aSegments | |
| int | m_iAnchorPointsCount |
| count of m_aAnchorPoints | |
| int | m_iCurrentSectionIndex |
| int | m_iCurrentSectionPointIndex |
| int | m_iCurrentSegmentIndex |
| vector | m_vCurrentPosition |
| vector | m_vCurrentDirection |
| float | m_fDoneLength |
| float | m_fTotalLength |
This helper provides the next point in shape's relative position
Definition at line 11 of file SCR_ShapeNextPointHelper.c.
|
protected |
protected constructor - use CreateFrom* methods
|
inlineprotected |
Definition at line 90 of file SCR_ShapeNextPointHelper.c.
|
inlineprotected |
Definition at line 103 of file SCR_ShapeNextPointHelper.c.
|
inlinestaticprotected |
| [in] | anchorPoints | shape's anchor points |
| [in] | tesselatedPoints | shape's tesselated points |
Definition at line 361 of file SCR_ShapeNextPointHelper.c.
|
inlinestaticprotected |
| [in] | shapeEntity | |
| [in] | reverse | invert shape direction (from end to start instead of from start to end) |
Definition at line 462 of file SCR_ShapeNextPointHelper.c.
|
inlineprotected |
Definition at line 41 of file SCR_ShapeNextPointHelper.c.
|
inlineprotected |
Definition at line 34 of file SCR_ShapeNextPointHelper.c.
|
inlineprotected |
Definition at line 62 of file SCR_ShapeNextPointHelper.c.
|
inlineprotected |
Definition at line 55 of file SCR_ShapeNextPointHelper.c.
|
inlineprotected |
Definition at line 76 of file SCR_ShapeNextPointHelper.c.
|
inlineprotected |
Get the next point from the current position, but without going over the provided anchor index
| [in] | distance | |
| [out] | result | the requested point |
| [in] | anchorLimit | 0-based anchor index before which the point must be found; -1 for no limit |
| [in] | straightLine | [NOT IMPLEMENTED, straight line only] if true, find in straight line distance; if false, finds in shape length (following the shape) |
| [in] | doNotMove | if true, get the next point without internally moving (next Get will start from the previous position) |
| [in] | xzMode | look for a 2D distance from the existing point |
Definition at line 129 of file SCR_ShapeNextPointHelper.c.
|
inlineprotected |
Definition at line 83 of file SCR_ShapeNextPointHelper.c.
|
inlineprotected |
Definition at line 251 of file SCR_ShapeNextPointHelper.c.
|
inlineprotected |
Definition at line 69 of file SCR_ShapeNextPointHelper.c.
|
inlineprotected |
Definition at line 271 of file SCR_ShapeNextPointHelper.c.
|
inlineprotected |
Definition at line 48 of file SCR_ShapeNextPointHelper.c.
|
inlineprotected |
Definition at line 341 of file SCR_ShapeNextPointHelper.c.
|
inlineprotected |
Reset to the beginning.
Definition at line 348 of file SCR_ShapeNextPointHelper.c.
Sets to the provided anchor's position
| [in] | anchorIndex | the index of the anchor - while useless, it is possible to set it to the last point |
Definition at line 283 of file SCR_ShapeNextPointHelper.c.
|
protected |
anchor indices in tesselated points
Definition at line 15 of file SCR_ShapeNextPointHelper.c.
|
protected |
format [anchor0, anchor1, anchor2]
Definition at line 13 of file SCR_ShapeNextPointHelper.c.
|
protected |
format [[anchor0, tessPoint, tessPoint, anchor1], [anchor1, tessPoint, tessPoint, anchor2]]
Definition at line 17 of file SCR_ShapeNextPointHelper.c.
|
protected |
format [[segment0startPos, segment0endPos], [segment1startPos, segment1endPos]]
Definition at line 16 of file SCR_ShapeNextPointHelper.c.
|
protected |
format [anchor0, pointA0, pointB0, anchor1, pointA1, pointB1, anchor2]
Definition at line 14 of file SCR_ShapeNextPointHelper.c.
|
protected |
Definition at line 29 of file SCR_ShapeNextPointHelper.c.
|
protected |
Definition at line 30 of file SCR_ShapeNextPointHelper.c.
|
protected |
count of m_aAnchorPoints
Definition at line 20 of file SCR_ShapeNextPointHelper.c.
|
protected |
Definition at line 23 of file SCR_ShapeNextPointHelper.c.
|
protected |
Definition at line 24 of file SCR_ShapeNextPointHelper.c.
|
protected |
Definition at line 25 of file SCR_ShapeNextPointHelper.c.
|
protected |
count of m_aSegments
Definition at line 19 of file SCR_ShapeNextPointHelper.c.
|
protected |
Definition at line 27 of file SCR_ShapeNextPointHelper.c.
|
protected |
Definition at line 26 of file SCR_ShapeNextPointHelper.c.