/// <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); }
/// <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); }
/// <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; }
/// <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)); }
/// <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]); }