Table of Contents

Method Contains

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Contains(double, double)

Gets whether a point lies inside the outline, inside an odd number of its rings; a point on an edge may fall either side.

public bool Contains(double x, double y)

Parameters

x double

The x, in paper units.

y double

The y, in paper units.

Returns

bool

Whether it does.