Example #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="posIndex"></param>
        /// <returns></returns>
        public Location Get(Geometries.Position posIndex)
        {
            int index = (int)posIndex;

            if (index < _location.Length)
            {
                return(_location[index]);
            }
            return(Location.Null);
        }
Example #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="geomIndex"></param>
 /// <param name="posIndex"></param>
 /// <param name="_location"></param>
 public void SetLocation(int geomIndex, Geometries.Position posIndex, Location _location)
 {
     elt[geomIndex].SetLocation(posIndex, _location);
 }
Example #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="geomIndex"></param>
 /// <param name="posIndex"></param>
 /// <param name="depthValue"></param>
 public void SetDepth(int geomIndex, Geometries.Position posIndex, int depthValue)
 {
     depth[geomIndex, (int)posIndex] = depthValue;
 }
Example #4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="geomIndex"></param>
 /// <param name="posIndex"></param>
 /// <returns></returns>
 public Location GetLocation(int geomIndex, Geometries.Position posIndex)
 {
     return(elt[geomIndex].Get(posIndex));
 }
Example #5
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="geomIndex"></param>
 /// <param name="posIndex"></param>
 /// <returns></returns>
 public int GetDepth(int geomIndex, Geometries.Position posIndex)
 {
     return(depth[geomIndex, (int)posIndex]);
 }