예제 #1
0
 /// <summary>
 /// <para>Test if point is located outside of the epsilon neighborhood of the object.</para>
 /// <para>Epsilon neighborhood is defined by a GeometRi3D.Tolerance property.</para>
 /// <para>For relative tolerance tests a fraction of the typical object's dimension is used to define epsilon neighborhood.</para>
 /// </summary>
 public bool IsOutside(FiniteObject obj)
 {
     if (obj._PointLocation(this) == -1)
     {
         return(true);
     }
     return(false);
 }
예제 #2
0
 /// <summary>
 /// <para>Test if point is located in the epsilon neighborhood of the object's boundary.</para>
 /// <para>Epsilon neighborhood is defined by a GeometRi3D.Tolerance property.</para>
 /// <para>For relative tolerance tests a fraction of the typical object's dimension is used to define epsilon neighborhood.</para>
 /// </summary>
 public bool IsOnBoundary(FiniteObject obj)
 {
     if (obj._PointLocation(this) == 0)
     {
         return(true);
     }
     return(false);
 }
예제 #3
0
        // =========================================================================
        #region "Point location"

        /// <summary>
        /// <para>Test if point is located in the epsilon neighborhood of the object.</para>
        /// <para>Epsilon neighborhood is defined by a GeometRi3D.Tolerance property.</para>
        /// <para>For relative tolerance tests a fraction of the typical object's dimension is used to define epsilon neighborhood.</para>
        /// </summary>
        public bool BelongsTo(FiniteObject obj)
        {
            if (obj._PointLocation(this) >= 0)
            {
                return(true);
            }
            return(false);
        }