Table of Contents

Method Passes

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Passes(DxfEntity)

Gets whether an entity passes the lines of the list: every one outside a group, and each group as it says.

public bool Passes(DxfEntity entity)

Parameters

entity DxfEntity

The entity.

Returns

bool

Whether it passes; an empty list passes all.

Exceptions

ArgumentNullException

Thrown when the entity is null.

InvalidOperationException

Thrown when the groups of the lines are not well formed (Validate()).