Table of Contents

Method DistanceTo

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

DistanceTo(double, double)

Gets the distance from a point to the picture: infinite for an IMAGE, which is picked by its frame, never by a point on it; for an OLE frame, nought on the picture and infinite off it.

public override double DistanceTo(double x, double y)

Parameters

x double

The X of the point.

y double

The Y of the point.

Returns

double

Nought or infinity.