public void ParamlessConstruct()
 {
     this.m_bounds = default(FowLos.FBoxSphereBounds);
     this.m_areaId = -1;
     this.m_blockerGridIndexList = new List <int>();
     this.m_polylineSegList      = new List <FowLos.SPolylineSegment>();
     this.m_polylineVertices     = new List <FowLos.SPolylineVertex>();
 }
 public SBlockContext(FowLos.SBlockContext rhs)
 {
     this.m_bounds = rhs.m_bounds;
     this.m_xMin   = rhs.m_xMin;
     this.m_xMax   = rhs.m_xMax;
     this.m_yMin   = rhs.m_yMin;
     this.m_yMax   = rhs.m_yMax;
     this.m_areaId = rhs.m_areaId;
     this.m_blockerGridIndexList = new List <int>(rhs.m_blockerGridIndexList);
     this.m_polylineSegList      = new List <FowLos.SPolylineSegment>(rhs.m_polylineSegList);
     this.m_polylineVertices     = new List <FowLos.SPolylineVertex>(rhs.m_polylineVertices);
 }
    private bool ValidateViewBlock(FowLos.FBoxSphereBounds inBounds, VInt2 segStart, int inViewSight)
    {
        bool result = true;
        int  num    = inBounds.Origin.x - inBounds.BoxExtent.x;
        int  num2   = inBounds.Origin.x + inBounds.BoxExtent.x;
        int  num3   = inBounds.Origin.y - inBounds.BoxExtent.y;
        int  num4   = inBounds.Origin.y + inBounds.BoxExtent.y;

        if (num > segStart.x + inViewSight || num2 < segStart.x - inViewSight || num3 > segStart.y + inViewSight || num4 < segStart.y - inViewSight)
        {
            result = false;
        }
        return(result);
    }