Description | uses | Classes, Interfaces, Objects and Records | Functions and Procedures | Types | Constants | Variables |
ScreenObjectUnit
defines class that represents the objects that the user draws on the screen (TScreenObject) and a variety of related classes.
Name | Description |
---|---|
Class EScreenObjectError |
EScreenObjectError is the class of errors related to TScreenObjects. |
record TEdgePoint |
TEdgePoint represents a point of intersection between a TScreenObject and a grid element or grid cell. |
Class TCellElementSegment |
TCellElementSegment represents the 2D intersection of one segment of a TScreenObject with a cell or element in the grid. |
Class TCellElementSegmentList |
TCellElementSegmentList is a list of the TCellElementSegments of a TScreenObject. Each segment is the 2D intersection of one segment of the TScreenObject with an individual cell or element in the grid. |
Class TSubPolygon |
TSubPolygon is used to make determining whether a point is inside a TScreenObject faster. |
Class TScreenObject |
TScreenObject is the internal representation of an object on the screen. |
Class TCustomDataListItem |
TCustomDataListItem provides functionality used in storing multiple values associated with a single screen object (a TMultiValueScreenObject); It is used as an ancestor of TRealDataListItem and TIntegerDataListItem which actually hold data. |
Class TRealDataListItem |
TRealDataListItem is a TCustomDataListItem specialized for holding real numbers. |
Class TIntegerDataListItem |
TIntegerDataListItem is a TCustomDataListItem specialized for specialized for holding integers. |
Class TDataListCollection |
TDataListCollection is a collection of TCustomDataListItem's. It is used to store data by zones in a TMultiValueScreenObject. |
Class TRealDataListCollection |
TRealDataListCollection is a descendant of TDataListCollection specialized for storing real numbers. |
Class TIntegerDataListCollection |
TIntegerDataListCollection is a descendant of TDataListCollection specialized for storing integers. |
Class TUndoSetScreenObjectProperties |
TUndoSetScreenObjectProperties is used to set or undo the setting of a TScreenObject. |
Class TUndoChangeSelection |
TUndoChangeSelection is used to change or restore which TScreenObjects or vertices in an individual TScreenObject are selected. |
Class TUndoShowHideScreenObject |
TUndoShowHideScreenObject is used to show or hide TScreenObjects. |
Class TCustomUpdateScreenObjectUndo |
TCustomUpdateScreenObjectUndo is used to update the view of a TScreenObject. |
Class TUndoDeleteSegment |
TUndoDeleteSegment is used to delete a segment of a TScreenObject. |
Class TUndoDeleteVertices |
TUndoDeleteVertices is used to delete a vertex of a TScreenObject. |
Class TSelectedVertexItem |
TSelectedVertexItem is used to store or read whether a vertex in a TScreenObject is selected or not. |
Class TSelectedVertexCollection |
TSelectedVertexCollection is used to store or read which vertices in a TScreenObject are selected. |
Class TPointItem |
TPointItem is used to store a T2DRealPoint. |
Class TPointCollection |
TPointCollection is used to store a series of T2DRealPoint's. |
Class TScreenObjectItem |
TScreenObjectItem is used to save or read a TScreenObject. |
Class TCustomScreenObjectCollection |
TCustomScreenObjectCollection is used to save or read a collection of TScreenObjects. |
procedure ResetScreenObjectFunction(const DataSetIndex: integer; const ScreenObject: TScreenObject; const Compiler: TRbwParser; const DataSetDataType: TRbwDataType; const ErrorMessage: string; const IsBoundary: boolean); |
function IsValueInside(const First, Middle, Last: real): boolean; |
function SortPointsLeftDown(Item1, Item2: Pointer): Integer; |
function SortPointsLeftUp(Item1, Item2: Pointer): Integer; |
function SortPointsRightDown(Item1, Item2: Pointer): Integer; |
function SortPointsRightUp(Item1, Item2: Pointer): Integer; |
function XIntersection(const Point1, Point2: TEdgePoint; const Y: real): real; |
function YIntersection(const Point1, Point2: TEdgePoint; const X: real): real; |
procedure ResetScreenObjectCount; |
Function ObjectsCreated: integer; |
TWhichElevation = (...); |
TEdgePosition = (...); |
PEdgePoint = ˆTEdgePoint; |
TEdgePointArray = array of TEdgePoint; |
TScreenObjectClass = class of TScreenObject; |
TSelectedNodeCollection = TSelectedVertexCollection; |
ObjectPrefix = 'Object'; |
procedure ResetScreenObjectFunction(const DataSetIndex: integer; const ScreenObject: TScreenObject; const Compiler: TRbwParser; const DataSetDataType: TRbwDataType; const ErrorMessage: string; const IsBoundary: boolean); |
If the formula for a TDataArray in a TScreenObject is incorrect, |
function SortPointsLeftDown(Item1, Item2: Pointer): Integer; |
|
function SortPointsLeftUp(Item1, Item2: Pointer): Integer; |
|
function SortPointsRightDown(Item1, Item2: Pointer): Integer; |
|
function SortPointsRightUp(Item1, Item2: Pointer): Integer; |
|
function XIntersection(const Point1, Point2: TEdgePoint; const Y: real): real; |
Point1 and Point2 define a non-horizontal line. Given Y, |
function YIntersection(const Point1, Point2: TEdgePoint; const X: real): real; |
Point1 and Point2 define a non-vertical line. Given X, |
procedure ResetScreenObjectCount; |
When a TScreenObject is first created, it is assigned a default name that is unique. Part of that default name depends on ObjectsCreated (declared in the implementation section). When reading an existing model, ObjectsCreated must be reset so that new TScreenObjects will still have unique names. |
Function ObjectsCreated: integer; |
TWhichElevation = (...); |
Values
|
TEdgePosition = (...); |
See TEdgePoint and TCellElementSegment. Values
|
PEdgePoint = ˆTEdgePoint; |
|
TEdgePointArray = array of TEdgePoint; |
|
TScreenObjectClass = class of TScreenObject; |
|
TSelectedNodeCollection = TSelectedVertexCollection; |
|
ObjectPrefix = 'Object'; |