Table of Contents

Method HasPlanView

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

HasPlanView(DxfViewport)

Gets whether a viewport looks straight down on model space, its view direction (group 16) the world's Z: the only view the canvas can work through, and the one the display draws as a plan, without a projection. A viewport set up in AutoCAD with a south-east isometric view, direction (1, -1, 1), has none; nor has one that looks from below.

public static bool HasPlanView(DxfViewport viewport)

Parameters

viewport DxfViewport

The viewport.

Returns

bool

Whether its view is a plan seen from above.

Exceptions

ArgumentNullException

Thrown when the viewport is null.