| 
| bool  | IsNearRoadSplineXZ (vector point) | 
|   | Non-expensive approximation check if the position is near a road-like spline and its clearance.  
  | 
|   | 
| void  | SCR_ObstacleDetectorSplineInfo (notnull IEntitySource shapeEntitySource, notnull ShapeEntity shapeEntity, notnull IEntitySource generatorSource) | 
|   | 
 | 
| static int  | GetPoints2D3D (notnull ShapeEntity shapeEntity, out array< float > pos2D, out array< vector > pos3D) | 
|   | Get shape's 2D and/or 3D points in relative coordinates.  
  | 
|   | 
◆ SCR_ObstacleDetectorSplineInfo()
      
        
          | void SCR_ObstacleDetectorSplineInfo.SCR_ObstacleDetectorSplineInfo  | 
          ( | 
          notnull IEntitySource |           shapeEntitySource,  | 
        
        
           | 
           | 
          notnull ShapeEntity |           shapeEntity,  | 
        
        
           | 
           | 
          notnull IEntitySource |           generatorSource ) | 
        
      
 
- Parameters
 - 
  
    | [in] | shapeEntitySource |  | 
    | [in] | shapeEntity |  | 
    | [in] | generatorSource |  | 
  
   
 
 
◆ GetAndSetMinMaxWithClearance()
  
  
      
        
          | void SCR_ObstacleDetectorSplineInfo.GetAndSetMinMaxWithClearance  | 
          ( | 
          inout notnull array< vector > |           mins,  | 
         
        
           | 
           | 
          inout notnull array< vector > |           maxs,  | 
         
        
           | 
           | 
          out vector |           min,  | 
         
        
           | 
           | 
          out vector |           max ) | 
         
       
   | 
  
protected   | 
  
 
- Parameters
 - 
  
    | [in,out] | mins | needed to obtain min, -clearance is also added to all the mins  | 
    | [in,out] | maxs | needed to obtain max, +clearance is also added to all the maxs  | 
    | [out] | min | the bottom-left corner - clearance  | 
    | [out] | max | the top-right corner + clearance  | 
  
   
 
 
◆ GetPoints2D3D()
  
  
      
        
          | static int SCR_ObstacleDetectorSplineInfo.GetPoints2D3D  | 
          ( | 
          notnull ShapeEntity |           shapeEntity,  | 
         
        
           | 
           | 
          out array< float > |           pos2D,  | 
         
        
           | 
           | 
          out array< vector > |           pos3D ) | 
         
       
   | 
  
staticprotected   | 
  
 
Get shape's 2D and/or 3D points in relative coordinates. 
- Parameters
 - 
  
    | [in] | shapeEntity |  | 
    | [out] | pos2D | can be null and won't be filled  | 
    | [out] | pos3D | can be null and won't be filled  | 
  
   
- Returns
 - number of points, or -1 in case of no array to fill 
 
 
 
◆ GetTesselatedWorldPoints()
  
  
      
        
          | array< vector > SCR_ObstacleDetectorSplineInfo.GetTesselatedWorldPoints  | 
          ( | 
          notnull ShapeEntity |           shapeEntity | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ IsNearRoadSplineXZ()
      
        
          | bool SCR_ObstacleDetectorSplineInfo.IsNearRoadSplineXZ  | 
          ( | 
          vector |           point | ) | 
           | 
        
      
 
Non-expensive approximation check if the position is near a road-like spline and its clearance. 
- Returns
 - true if close, false if not 
 
 
 
◆ m_a2DPoints
      
        
          | ref array<float> SCR_ObstacleDetectorSplineInfo.m_a2DPoints | 
        
      
 
World coordinates. 
Lakes only 
 
 
◆ m_aMaxsWithClearance
      
        
          | ref array<vector> SCR_ObstacleDetectorSplineInfo.m_aMaxsWithClearance | 
        
      
 
 
◆ m_aMinsWithClearance
      
        
          | ref array<vector> SCR_ObstacleDetectorSplineInfo.m_aMinsWithClearance | 
        
      
 
 
◆ m_aTesselatedPoints
      
        
          | ref array<vector> SCR_ObstacleDetectorSplineInfo.m_aTesselatedPoints | 
        
      
 
World coordinates. 
Roads/Rivers/Powerlines/Tracks 
 
 
◆ m_fClearance
      
        
          | float SCR_ObstacleDetectorSplineInfo.m_fClearance | 
        
      
 
 
◆ m_fLakeSurfaceY
      
        
          | float SCR_ObstacleDetectorSplineInfo.m_fLakeSurfaceY | 
        
      
 
 
◆ m_vMaxWithClearance
      
        
          | vector SCR_ObstacleDetectorSplineInfo.m_vMaxWithClearance | 
        
      
 
 
◆ m_vMinWithClearance
      
        
          | vector SCR_ObstacleDetectorSplineInfo.m_vMinWithClearance | 
        
      
 
 
The documentation for this interface was generated from the following file:
- Game/Generators/Common/SCR_ObstacleDetector.c