/// <summary> /// Validate the position using the origin and the maximum extent. /// </summary> /// <param name="maxExtent"></param> public void Validate(RasterPos maxExtent) { Validate(maxExtent.Column, maxExtent.Row); }
/// <summary> /// Examine wether the position is within the extent specified by the origin and the given buttom right corner. /// </summary> /// <param name="maxIndex"></param> /// <returns></returns> public bool Within(RasterPos maxIndex) { return Within(maxIndex.Column, maxIndex.Row); }
/// <summary> /// Examine wether the position is within the extent specified by the origin and the given buttom right corner. /// </summary> /// <param name="maxIndex"></param> /// <returns></returns> public bool Within(RasterPos maxIndex) { return(Within(maxIndex.Column, maxIndex.Row)); }