/// <summary> /// Densifies a geometry using a given distance tolerance, and respecting the input geometry's <see cref="IPrecisionModel"/>. /// </summary> /// <param name="geom">The geometry densify</param> /// <param name="distanceTolerance">The distance tolerance (<see cref="DistanceTolerance"/>)</param> /// <returns>The densified geometry</returns> public static IGeometry Densify(IGeometry geom, double distanceTolerance) { var densifier = new Densifier(geom) {DistanceTolerance = distanceTolerance}; return densifier.GetResultGeometry(); }