Table of Contents

Method Contains

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Contains(DisplayBox)

Gets whether this box holds another wholly.

public bool Contains(DisplayBox other)

Parameters

other DisplayBox

The other box.

Returns

bool

True when the other lies inside.

Contains(double, double)

Gets whether this box holds a point.

public bool Contains(double x, double y)

Parameters

x double

The X of the point.

y double

The Y of the point.

Returns

bool

True when the point is inside or on the edge.