The center point of the viewport entity in WCS coordinates (within Paper Space).
The id of the group which this viewport belongs to.
The height of the viewport entity's window in drawing units.
The id of the viewport.
The viewport ID number. If the viewport is inactive, -1 is returned.
The bounding box of the Model Space view shown through this viewport, expressed in WCS coordinates.
viewCenter is stored in DCS; AutoCAD maps it to WCS by rotating by
viewTwistAngle and translating by viewTarget (same rule as
AcDbViewportTableRecord.modelViewBox for the *ACTIVE VPORT).
The view center (in display coordinate system coordinates) of the view in the viewport.
The height (in display coordinate system coordinates) of the Model Space view within the viewport. Zooming the view out within the viewport increases this value and zooming in decreases this value.
The view target in WCS coordinates (DXF group 17).
Paper-space viewports store the model view center in DCS (viewCenter);
the WCS center is viewTarget + rotate(viewCenter, viewTwistAngle).
The view twist angle in radians (DXF group 51).
The width (in display coordinate system coordinates) of the Model Space view within the viewport. This is one computed property based on 'viewHeight' and viewport ratio of width and height.
The width of the viewport entity's window in drawing units. This is the width in Paper Space of the viewport itself, not the width of the Model Space view within the viewport.
Clone this viewport
Return the cloned instance of this viewport
Copy the property values of the passed viewport to this viewport.
Input one viewport instance
Return this viewport
StaticdcsMaps a DCS view center to WCS using the viewport target and twist.
This class ised used to pass back information to the user about the viewing characteristics of the current viewport.