Table of Contents

Method DistanceTo

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

DistanceTo(double, double)

Gets the distance from a point to the item, the shortest to any part that is drawn; the distance to the nearest edge for a fill, nought inside it.

public abstract double DistanceTo(double x, double y)

Parameters

x double

The X of the point.

y double

The Y of the point.

Returns

double

The distance.