Synopsis

PDX_MSGT imth_GetViewDrawClip(long option, double view_offset[2], MDA_PTR view_de, double draw_space_clip[6])

Purpose

Return the clipping bounds of a 410:0 view entity

Description

Given a 410:0, this routine will find the X and Y minimum and maximum draw space clipping bounds as well as the Z minimum and maximum model space clipping bounds. If a NULL pointer is found for one of the clipping DE pointers, the value DBL_MAX will be inserted into draw_space_clip.

Input

option

(not used)

view_offset

Offset in drawing where the view origin is located

view_de

DE number of the view

Output

draw_space_clip

Clipping bounds of the 410:0 view entity (X Min, Y Max, X Max, Y Min, Z Min Z Max) If no clipping pointer exists, the value DBL_MAX will be inserted in draw_space_clip.

Return

      IMTH_INVALID_VIEW_PTR
      IMTH_NOERR
      Low level error return
      .fi