Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public static bool IsNearGrid(this IElement1D element1D, Grid grid, double maxDistance) { ICurve curve = element1D.IGeometry().IProject(Plane.XY); ICurve gridCurve = grid.Curve.IProject(Plane.XY); return(curve.Distance(gridCurve) <= maxDistance); }