Beispiel #1
0
        public bool IsPointIn(ref VInt3 pnt)
        {
            if (this._vertecesXZ == null || !this.IsInBoundXZ(pnt))
            {
                return(false);
            }
            VInt2 xz = pnt.get_xz();

            return(IntMath.PointInPolygon(ref xz, this._vertecesXZ));
        }
Beispiel #2
0
 public bool IsPointIn(ref VInt3 pnt)
 {
     return(((this._vertecesXZ != null) && this.IsInBoundXZ(pnt)) && IntMath.PointInPolygon(ref pnt.xz, this._vertecesXZ));
 }