/// <summary>
        /// Check whether this area contains a given point.
        /// </summary>
        public static bool AreaContains(this Area a, XYZ p1)
        {
            bool        ret = false;
            var         p   = MaakPuntArray(a);
            PointInPoly pp  = new PointInPoly();

            ret = pp.PolyGonContains(p, p1);
            return(ret);
        }
        /// <summary>
        /// Check whether this room contains a given point.
        /// </summary>
        public static bool RoomContains(this Room r, XYZ p1)
        {
            bool        ret = false;
            var         p   = MaakPuntArray(r);
            PointInPoly pp  = new PointInPoly();

            ret = pp.PolyGonContains(p, p1);
            return(ret);
        }