/// <summary> /// Computes a copy of the input Geometry with the calculated common bits /// removed from each coordinate. /// </summary> /// <param name="geom0">the Geometry to remove common bits from /// </param> /// <returns> a copy of the input Geometry with common bits removed /// </returns> private Geometry RemoveCommonBits(Geometry geom0) { m_objBitsRemover = new CommonBitsRemover(); m_objBitsRemover.Add(geom0); Geometry geom = m_objBitsRemover.RemoveCommonBits((Geometry)geom0.Clone()); return(geom); }
/// <summary> /// Computes a copy of the input <c>Geometry</c> with the calculated common bits /// removed from each coordinate. /// </summary> /// <param name="geom0">The Geometry to remove common bits from.</param> /// <returns>A copy of the input Geometry with common bits removed.</returns> private IGeometry RemoveCommonBits(IGeometry geom0) { _cbr = new CommonBitsRemover(); _cbr.Add(geom0); IGeometry geom = _cbr.RemoveCommonBits((Geometry)geom0.Clone()); return(geom); }
/// <summary> /// /// </summary> /// <param name="geom"></param> /// <returns></returns> private IGeometry[] RemoveCommonBits(IGeometry[] geom) { cbr = new CommonBitsRemover(); cbr.Add(geom[0]); cbr.Add(geom[1]); IGeometry[] remGeom = new IGeometry[2]; remGeom[0] = cbr.RemoveCommonBits((IGeometry)geom[0].Clone()); remGeom[1] = cbr.RemoveCommonBits((IGeometry)geom[1].Clone()); return(remGeom); }
/// <summary> /// Computes a copy of each input <c>Geometry</c>s with the calculated common bits /// removed from each coordinate. /// </summary> /// <param name="geom0">An IGeometry to remove common bits from.</param> /// <param name="geom1">An second IGeometry to remove common bits from.</param> /// <returns> /// An array containing copies /// of the input Geometry's with common bits removed. /// </returns> private IGeometry[] RemoveCommonBits(IGeometry geom0, IGeometry geom1) { _cbr = new CommonBitsRemover(); _cbr.Add(geom0); _cbr.Add(geom1); IGeometry[] geom = new Geometry[2]; geom[0] = _cbr.RemoveCommonBits((Geometry)geom0.Clone()); geom[1] = _cbr.RemoveCommonBits((Geometry)geom1.Clone()); return(geom); }
/// <summary> /// /// </summary> /// <param name="geom"></param> /// <returns></returns> private Geometry[] RemoveCommonBits(Geometry[] geom) { cbr = new CommonBitsRemover(); cbr.Add(geom[0]); cbr.Add(geom[1]); var remGeom = new Geometry[2]; remGeom[0] = cbr.RemoveCommonBits((Geometry)geom[0].Copy()); remGeom[1] = cbr.RemoveCommonBits((Geometry)geom[1].Copy()); return(remGeom); }
/// <summary> /// Computes a copy of each input <see cref="Geometry"/> instances with the /// calculated common bits removed from each coordinate. /// </summary> /// <param name="geom0">a Geometry to remove common bits from /// </param> /// <param name="geom1">a Geometry to remove common bits from /// </param> /// <returns> an array containing copies /// of the input Geometry's with common bits removed /// </returns> private Geometry[] RemoveCommonBits(Geometry geom0, Geometry geom1) { m_objBitsRemover = new CommonBitsRemover(); m_objBitsRemover.Add(geom0); m_objBitsRemover.Add(geom1); Geometry[] geom = new Geometry[2]; geom[0] = m_objBitsRemover.RemoveCommonBits((Geometry)geom0.Clone()); geom[1] = m_objBitsRemover.RemoveCommonBits((Geometry)geom1.Clone()); return(geom); }
/// <summary> /// Computes a copy of each input <c>Geometry</c>s with the calculated common bits /// removed from each coordinate. /// </summary> /// <param name="geom0">An IGeometry to remove common bits from.</param> /// <param name="geom1">An second IGeometry to remove common bits from.</param> /// <returns> /// An array containing copies /// of the input Geometry's with common bits removed. /// </returns> private IGeometry[] RemoveCommonBits(IGeometry geom0, IGeometry geom1) { _cbr = new CommonBitsRemover(); _cbr.Add(geom0); _cbr.Add(geom1); IGeometry[] geom = new Geometry[2]; geom[0] = _cbr.RemoveCommonBits((Geometry)geom0.Clone()); geom[1] = _cbr.RemoveCommonBits((Geometry)geom1.Clone()); return geom; }
/// <summary> /// Computes a copy of the input <c>Geometry</c> with the calculated common bits /// removed from each coordinate. /// </summary> /// <param name="geom0">The Geometry to remove common bits from.</param> /// <returns>A copy of the input Geometry with common bits removed.</returns> private IGeometry RemoveCommonBits(IGeometry geom0) { _cbr = new CommonBitsRemover(); _cbr.Add(geom0); IGeometry geom = _cbr.RemoveCommonBits((Geometry)geom0.Clone()); return geom; }