Represents a view on a drawing sheet. More...
Public Member Functions | |
| View (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| View () | |
| Constructor. | |
| View (cadex.Geom.Axis2d thePosition) | |
| Constructor. Places the view at thePosition in the owning sheet. | |
| void | SetUuid (System.Guid theUuid) |
| System.Guid | Uuid () |
| cadex.Geom.Axis2d | Position () |
| Returns the position of the view in the owning sheet. | |
| void | SetPosition (cadex.Geom.Axis2d thePosition) |
| Sets the position of the view in the owning sheet. | |
| cadex.Drawing.Ratio | Scale () |
| Returns the scale of the view. | |
| void | SetScale (cadex.Drawing.Ratio theScale) |
| Sets the scale of the view. | |
| uint | NumberOfElements () |
| Returns the number of elements in the view. | |
| void | Add (cadex.Drawing.Element theElement) |
| Adds an element to the view. | |
| void | Accept (cadex.Drawing.ElementVisitor theVisitor) |
Public Member Functions inherited from cadex.BaseObject | |
| BaseObject (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| void | Dispose () |
| bool | IsNull () |
| ulong | Id () |
| Return unique identifier of public object. | |
| bool | IsEqual (cadex.BaseObject theObj) |
| override int | GetHashCode () |
| override bool | Equals (System.Object o) |
Static Public Member Functions | |
| static bool | CompareType (cadex.BaseObject theObject) |
| static cadex.Drawing.View | Cast (cadex.BaseObject theBase) |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
Represents a view on a drawing sheet.
Usually a view is a logical portion of the sheet, containing one of the literal views of the model (e.g. top view, isometric view, cutaway view). Following this idea, the view is defined by a position in the sheet and a scale (real-world model dimensions vs on-paper dimensions).
Generally an object of this class can contain any collection of drawing elements (i.e. 2D geometry), but it's expected that these elements together form a logically self-contained group.
|
inlineprotectedvirtual |
Reimplemented from cadex.BaseObject.