Description | Hierarchy | Fields | Methods | Properties |
type TScreenObject = class(TObserver)
TScreenObject
is the internal representation of an object on the screen.
It has a series of 0 or more points that defines its location in two dimensions. It may also have zero, one, or two associated elevation formulas that define its position in the third dimension. It can be used to set the values of zero or more data sets. For each such data set, it has a formula that describes how it sets the formula for them. The ViewDirection of the TScreenObject determine whether the 2D location of the object is with respect to the top, front, or side view of the model.
![]() |
procedure AddPointFromColumn(const ColIndex: integer; const Grid: TPhastGrid; const PreviousPoint, APoint: TEdgePoint; var TempPoints1: TEdgePointArray; var Count: integer; const Position: TEdgePosition); |
![]() |
procedure AddPointFromLayer(const LayerIndex: integer; const Grid: TPhastGrid; const PreviousPoint, APoint: TEdgePoint; var TempPoints1: TEdgePointArray; var Count: integer; const Position: TEdgePosition); |
![]() |
procedure AddPointFromRow(const RowIndex: integer; const Grid: TPhastGrid; const PreviousPoint, APoint: TEdgePoint; var TempPoints1: TEdgePointArray; var Count: integer; const Position: TEdgePosition); |
![]() |
procedure AssignElevations(Formula: string; const SparseArray: T2DSparseRealArray); |
![]() |
procedure AssignElevationsFromFront(const Compiler: TRbwParser; const SparseArray: T2DSparseRealArray); |
![]() |
procedure AssignElevationsFromSide(const Compiler: TRbwParser; const SparseArray: T2DSparseRealArray); |
![]() |
procedure AssignElevationsFromTop(const Compiler: TRbwParser; const SparseArray: T2DSparseRealArray); |
![]() |
procedure AssignHigherElevations; |
![]() |
procedure AssignLowerElevations; |
![]() |
procedure CalculateCanvasCoordinates; |
![]() |
procedure CreateSubPolygons; |
![]() |
procedure DestroySubPolygons; |
![]() |
procedure Draw0Elev(const Canvas: TCanvas; const Direction: TViewDirection; const DrawAsSelected: Boolean = False); |
![]() |
procedure Draw1Elev(const Canvas: TCanvas; const Direction: TViewDirection; const DrawAsSelected: Boolean = False); |
![]() |
procedure Draw2Elev(const Canvas: TCanvas; const Direction: TViewDirection; const DrawAsSelected: Boolean = False); |
![]() |
procedure Draw3D_OneElevation; |
![]() |
procedure Draw3D_TwoElevations; |
![]() |
procedure EvaluateSubPolygon(const ASubPolygon: TSubPolygon; const X, Y: real; var IsInside: boolean); |
![]() |
function GetACol(const Grid: TPhastGrid; const X: double): integer; |
![]() |
function GetALayer(const Grid: TPhastGrid; const Z: double): integer; |
![]() |
function GetARow(const Grid: TPhastGrid; const Y: double): integer; |
![]() |
function GetBoundaryDataSetFormulas(const Index: integer): string; |
![]() |
function GetBoundaryDataSets(const Index: integer): TDataArray; |
![]() |
function GetCanvasCoordinates: TPointArray; |
![]() |
function GetColumn(const Grid: TPhastGrid; const X: real): integer; |
![]() |
procedure GetColumns(const Grid: TPhastGrid; TempMinX, TempMaxX: real; out FirstCol, LastCol: integer); |
![]() |
procedure GetCoordinates(const Direction: TViewDirection; var Points: T2DRealPointArray; const WhichElevation: TWhichElevation); |
![]() |
function GetCount: integer; |
![]() |
function GetDataSetCapacity: integer; |
![]() |
function GetDataSetCount: integer; |
![]() |
function GetDataSetFormulas(const Index: integer): string; |
![]() |
function GetDataSets(const Index: integer): TDataArray; |
![]() |
function GetEdgePoints(const Index: integer): TEdgePoint; |
![]() |
function GetFillColor: TColor; |
![]() |
procedure GetGridCellOrElementLimits(const Col, Row, Layer: integer; out XMin, XMax, YMin, YMax: double); |
![]() |
function GetHigherElevations: T2DSparseRealArray; |
![]() |
function GetLayer(const Grid: TPhastGrid; const Z: real): integer; |
![]() |
procedure GetLayers(const Grid: TPhastGrid; TempMinZ, TempMaxZ: real; out FirstLayer, LastLayer: integer); |
![]() |
procedure GetLimits(out Limit1, Limit2: integer); |
![]() |
function GetLineColor: TColor; |
![]() |
function GetLowerElevations: T2DSparseRealArray; |
![]() |
function GetMaxX: real; |
![]() |
function GetMaxY: real; |
![]() |
function GetMinX: real; |
![]() |
function GetMinY: real; |
![]() |
function GetPoints(const Index: integer): T2DRealPoint; |
![]() |
function GetRow(const Grid: TPhastGrid; const Y: real): integer; |
![]() |
procedure GetRows(const Grid: TPhastGrid; TempMinY, TempMaxY: real; out FirstRow, LastRow: integer); |
![]() |
function GetSelectedVertexCount: integer; |
![]() |
function GetSelectedVertices(const index: integer): boolean; |
![]() |
function GetSelectLine: TLine; |
![]() |
function GLPoint(const Index1, Index2: integer; const SparseArray: T2DSparseRealArray): T3DRealPoint; |
![]() |
procedure Grow; |
![]() |
procedure GrowBy(Amount: integer); |
![]() |
function InsideBox(const X, Y: real): boolean; |
![]() |
function MinDistPointLine(P, A, B: T2DRealPoint; out Closest: T2DRealPoint; const Anisotropy: real): real; |
![]() |
procedure OtherIndexOneElev(const LayerOrRow, RowOrColumn: integer; out First, Last: integer); |
![]() |
procedure OtherIndexTwoElev(const LayerOrRow, RowOrColumn: integer; out First, Last: integer); |
![]() |
function PointToPointDist(const A, B: T2DRealPoint; const Anisotropy: real): real; |
![]() |
procedure ResetBottomElevationFormula(const Compiler: TRbwParser; const ErrorMessage: string); |
![]() |
procedure ResetElevationFormula(const Compiler: TRbwParser; const ErrorMessage: string); |
![]() |
procedure ResetSelectedVertexCount; |
![]() |
procedure ResetTopElevationFormula(const Compiler: TRbwParser; const ErrorMessage: string); |
![]() |
procedure SetBoundaryDataSetFormulas(const Index: integer; const Value: string); |
![]() |
procedure SetBoundaryDataSets(const Index: integer; const DataSet: TDataArray); |
![]() |
procedure SetCapacity(Value: integer); |
![]() |
procedure SetCellSize(const Value: real); |
![]() |
procedure SetCellSizeUsed(const Value: boolean); |
![]() |
procedure SetColorLine(const Value: boolean); |
![]() |
procedure SetCount(const Value: integer); |
![]() |
procedure SetDataSetCapacity(const Value: integer); |
![]() |
procedure SetDataSetFormulas(const Index: integer; const Value: string); |
![]() |
procedure SetDataSets(const Index: integer; const DataSet: TDataArray); |
![]() |
procedure SetDeleted(const Value: boolean); |
![]() |
procedure SetEdgePoints(const Index: integer; const Value: TEdgePoint); |
![]() |
procedure SetElevationCount(const Value: TElevationCount); |
![]() |
procedure SetEvaluatedAt(const Value: TEvaluatedAt); |
![]() |
procedure SetFillColor(const Value: TColor); |
![]() |
procedure SetFillScreenObject(const Value: boolean); |
![]() |
procedure SetLineColor(const Value: TColor); |
![]() |
procedure SetPoints(const Index: integer; const Value: T2DRealPoint); |
![]() |
procedure SetSelected(const Value: boolean); |
![]() |
procedure SetSelectedVertices(const index: integer; const Value: boolean); |
![]() |
procedure SetSetPropertiesByInterpolation(const Value: boolean); |
![]() |
procedure SetSetPropertiesOfEnclosedCells(const Value: boolean); |
![]() |
procedure SetSetPropertiesOfIntersectedCells(const Value: boolean); |
![]() |
procedure SetVisible(const Value: boolean); |
![]() |
procedure SortPoints(const Input: TEdgePointArray; out SortedPoints: TEdgePointArray; const APoint, PreviousPoint: TEdgePoint; const MaxLength: integer); |
![]() |
procedure UpdateBox; |
![]() |
procedure UpdateFrontSegments(const Grid: TPhastGrid; const EvaluatedAt: TEvaluatedAt); |
![]() |
procedure UpdateSideSegments(const Grid: TPhastGrid; const EvaluatedAt: TEvaluatedAt); |
![]() |
procedure UpdateTopSegments(const Grid: TPhastGrid; const EvaluatedAt: TEvaluatedAt; const PointsRotated: boolean; var RotatedPoints: TEdgePointArray); |
![]() |
procedure ValidateIndex(const Index: integer); |
![]() |
function ValidCell(const Col, Row, Layer: integer): boolean; |
![]() |
function GetSetPropertiesOfEnclosedCells: boolean; |
![]() |
procedure AssignCellValue(const UsedVariables: TStringList; const DataSet: TDataArray; const LayerIndex, RowIndex, ColIndex: integer; const Compiler: TRbwParser; const Annotation: string; const Expression: TExpression; const OtherData: TObject); virtual; |
![]() |
procedure AssignValuesToFrontDataSet(const Grid: TPhastGrid; const DataSet: TDataArray; OtherData: TObject); virtual; |
![]() |
procedure AssignValuesToSideDataSet(const Grid: TPhastGrid; const DataSet: TDataArray; OtherData: TObject); virtual; |
![]() |
procedure AssignValuesToTopDataSet(const Grid: TPhastGrid; const DataSet: TDataArray; OtherData: TObject); virtual; |
![]() |
function BoundaryType: integer; virtual; |
![]() |
function CanAddDataSet(const DataSet: TDataArray): boolean; |
![]() |
function DataSetUsed(const DataSet: TDataArray; var OtherData: TObject): boolean; virtual; |
![]() |
function EncloseAnnotation(const DataSetFormula: string; const OtherData: TObject): string; virtual; |
![]() |
function GetCompiler(const Orientation: TDataSetOrientation): TRbwParser; |
![]() |
procedure GetRotatedPoints(out RotatedPoints: TRealPointArray); |
![]() |
procedure InitializeExpression(out Compiler: TRbwParser; out DataSetFunction: string; out Expression: TExpression; const DataSet: TDataArray; const OtherData: TObject); virtual; |
![]() |
procedure InitializeVariables(const UsedVariables: TStringList; const DataSet: TDataArray; const Expression: TExpression; const Compiler: TRbwParser); virtual; |
![]() |
function IntersectAnnotation(const DataSetFormula: string; const OtherData: TObject): string; virtual; |
![]() |
function Intersection(const Point1, Point2: T2DRealPoint; out IntersectPoint: T2DRealPoint): TIntersectResult; |
![]() |
function IsBoundaryTimeDataSetUsed(const DataSet: TDataArray; out OtherData: TObject): boolean; virtual; |
![]() |
procedure OtherIndex(const LayerOrRow, RowOrColumn: integer; out First, Last: integer; const DataSet: TDataArray); virtual; |
![]() |
procedure RotatePoints(const Grid: TPhastGrid; out RotatedPoints: TEdgePointArray; out TempMinX, TempMinY, TempMaxX, TempMaxY: double); |
![]() |
procedure SetElevationFunction(const Value: string); virtual; |
![]() |
procedure SetGeometryUpToDate; virtual; |
![]() |
procedure SetHigherElevationFunction(const Value: string); virtual; |
![]() |
procedure SetLowerElevationFunction(const Value: string); virtual; |
![]() |
procedure SetName(const Value: TComponentName); override; |
![]() |
procedure SetUpToDate(const Value: boolean); override; |
![]() |
procedure SetViewDirection(const Value: TViewDirection); virtual; |
![]() |
procedure UpdateVariables(const UsedVariables: TStringList; const DataSet: TDataArray; Layer, Row, Column: integer; const Compiler: TRbwParser); |
![]() |
function AddBoundaryDataSet(const DataSet: TDataArray): integer; |
![]() |
function AddDataSet(const DataSet: TDataArray): Integer; virtual; |
![]() |
procedure AddPoint(const APoint: T2DRealPoint); |
![]() |
procedure Assign(Source: TPersistent); override; |
![]() |
procedure AssignValuesToDataSet(const Grid: TPhastGrid; const DataSet: TDataArray); virtual; |
![]() |
function BoundaryDataSetCount: integer; |
![]() |
procedure Changed(Sender: TObject); |
![]() |
procedure ClearBoundaryDataSets; virtual; |
![]() |
procedure ClearDataSets; virtual; |
![]() |
procedure ClearPoints; |
![]() |
procedure ClearSelectedVertices; |
![]() |
function Closed: boolean; |
![]() |
procedure CopyPoints(var Destination: TRealPointArray; const Position, Start: integer; var Count: integer); |
![]() |
constructor Create(AnOwner: TComponent); override; |
![]() |
constructor CreateWithViewDirection(const AViewDirection: TViewDirection; out UndoCreateScreenObject: TCustomUndo; const UndoAble: boolean = True); virtual; |
![]() |
procedure DeleteBoundaryDataSet(const Index: Integer); |
![]() |
procedure DeleteDataSet(const Index: Integer); virtual; |
![]() |
procedure DeletePoint(const Index: Integer); |
![]() |
destructor Destroy; override; |
![]() |
function DistanceToScreenObject(const Location: T2DRealPoint; out ClosestLocation: T2DRealPoint; const Anisotropy: real): real; |
![]() |
procedure Draw(const Canvas: TCanvas; const Direction: TViewDirection; const DrawAsSelected: Boolean = False); virtual; |
![]() |
procedure Draw3D; |
![]() |
procedure DrawSelected(const Canvas: TCanvas; const Direction: TViewDirection); |
![]() |
function IndexOfBoundaryDataSet(const DataSet: TDataArray): integer; |
![]() |
function IndexOfDataSet(const DataSet: TDataArray): integer; |
![]() |
function IndexOfPoint(const APoint: T2DRealPoint): integer; |
![]() |
procedure InsertBoundaryDataSet(const Index: Integer; const DataSet: TDataArray); virtual; |
![]() |
procedure InsertDataSet(const Index: Integer; const DataSet: TDataArray); virtual; |
![]() |
procedure InsertPoint(const Index: Integer; const APoint: T2DRealPoint); |
![]() |
procedure Invalidate; virtual; |
![]() |
procedure InvalidateCoordinates; |
![]() |
procedure InvalidateFront3DCoordinates; |
![]() |
procedure InvalidateSide3DCoordinates; |
![]() |
procedure InvalidateTop3DCoordinates; |
![]() |
function IsPointInside(const X, Y: real): boolean; overload; |
![]() |
function IsPointInside(const APoint: T2DRealPoint): boolean; overload; |
![]() |
function ObjectIntersectArea(const Col, Row, Layer: integer): real; |
![]() |
function ObjectIntersectLength(const Col, Row, Layer: integer): real; |
![]() |
function RemoveDataSet(const DataSet: TDataArray): Integer; virtual; |
![]() |
procedure ResetBoundaryDataSetSubscriptions; |
![]() |
procedure ResetDataSetSubscriptions; |
![]() |
procedure ResetSubscriptions; virtual; |
![]() |
function ScreenObjectArea: real; |
![]() |
function ScreenObjectLength: real; |
![]() |
function Select(const X, Y: integer): boolean; |
![]() |
function SelectEdge(const X, Y: integer): integer; |
![]() |
procedure UpdateScreenObjectWithName(const AName: string; const AViewDirection: TViewDirection; out UndoCreateScreenObject: TCustomUndo; const UndoAble: boolean = True); reintroduce; virtual; |
![]() |
class function ValidName(const OriginalName: string): string; |
![]() |
FBottomElevSubscription: TObserver; |
|
![]() |
FBoundaryDataSetFormulas: TStringList; |
|
![]() |
FBoundaryDataSets: TList; |
|
![]() |
FBoundaryDataSetSubscriptions: TObjectList; |
|
![]() |
FCanvasCoordinates: TPointArray; |
|
![]() |
FCapacity: integer; |
|
![]() |
FCellSize: real; |
|
![]() |
FCellSizeUsed: boolean; |
|
![]() |
FColorLine: boolean; |
|
![]() |
FCount: integer; |
|
![]() |
FDataSetFunctions: TStringList; |
|
![]() |
FDataSets: TList; |
|
![]() |
FDataSetSubscriptions: TObjectList; |
|
![]() |
FDeleted: boolean; |
|
![]() |
FElevationCount: TElevationCount; |
|
![]() |
FElevationFunction: string; |
|
![]() |
FElevSubscription: TObserver; |
|
![]() |
FEvaluatedAt: TEvaluatedAt; |
|
![]() |
FFillColor: TColor; |
|
![]() |
FFillScreenObject: boolean; |
|
![]() |
FFrontHighPoints: T2DRealPointArray; |
|
![]() |
FFrontLowPoints: T2DRealPointArray; |
|
![]() |
FFrontPointsUpToDate: boolean; |
|
![]() |
FHigherElevationFunction: string; |
|
![]() |
FHigherElevations: T2DSparseRealArray; |
|
![]() |
FHigherElevationsNeedsUpdating: boolean; |
|
![]() |
FLineColor: TColor; |
|
![]() |
FLowerElevationFunction: string; |
|
![]() |
FLowerElevations: T2DSparseRealArray; |
|
![]() |
FLowerElevationsNeedsUpdating: boolean; |
|
![]() |
FMaxX: real; |
|
![]() |
FMaxY: real; |
|
![]() |
FMinX: real; |
|
![]() |
FMinY: real; |
|
![]() |
FNeedToResetSelectedVertexCount: boolean; |
|
![]() |
FNeedToUpdateLine: boolean; |
|
![]() |
FPoints: TRealPointArray; |
|
![]() |
FRecalculateArea: boolean; |
|
![]() |
FRecalculateBox: boolean; |
|
![]() |
FRecalculateCoordinates: boolean; |
|
![]() |
FRecalculateLength: boolean; |
|
![]() |
FScreenObjectArea: real; |
|
![]() |
FScreenObjectLength: real; |
|
![]() |
FSegments: TCellElementSegmentList; |
|
![]() |
FSelected: boolean; |
|
![]() |
FSelectedVertexCount: integer; |
|
![]() |
FSelectedVertices: array of boolean; |
|
![]() |
FSelectLine: TLine; |
|
![]() |
FSetPropertiesByInterpolation: boolean; |
|
![]() |
FSetPropertiesOfEnclosedCells: boolean; |
|
![]() |
FSetPropertiesOfIntersectedCells: boolean; |
|
![]() |
FSideHighPoints: T2DRealPointArray; |
|
![]() |
FSideLowPoints: T2DRealPointArray; |
|
![]() |
FSidePointsUpToDate: boolean; |
|
![]() |
FSubPolygon1: TSubPolygon; |
|
![]() |
FSubPolygon2: TSubPolygon; |
|
![]() |
FTopElevSubscription: TObserver; |
|
![]() |
FTopHighPoints: T2DRealPointArray; |
|
![]() |
FTopLowPoints: T2DRealPointArray; |
|
![]() |
FTopPointsUpToDate: boolean; |
|
![]() |
FViewDirection: TViewDirection; |
|
![]() |
FVisible: boolean; |
|
![]() |
FIsUpdating: boolean; |
|
![]() |
procedure AddPointFromColumn(const ColIndex: integer; const Grid: TPhastGrid; const PreviousPoint, APoint: TEdgePoint; var TempPoints1: TEdgePointArray; var Count: integer; const Position: TEdgePosition); |
AddPointFromColumn creates a TEdgePoint at the column boundary on Grid indicated by ColIndex on the line defined by PreviousPoint and APoint. If the new TEdgePoint is between PreviousPoint and APoint, it is added at TempPoints1[Count] and then Count is incremented. The Position of the new TEdgePoint is set to Position. AddPointFromColumn is called when updating Segments. Parameters
|
![]() |
procedure AddPointFromLayer(const LayerIndex: integer; const Grid: TPhastGrid; const PreviousPoint, APoint: TEdgePoint; var TempPoints1: TEdgePointArray; var Count: integer; const Position: TEdgePosition); |
AddPointFromLayer creates a TEdgePoint at the layer boundary on Grid indicated by LayerIndex on the line defined by PreviousPoint and APoint. If the new TEdgePoint is between PreviousPoint and APoint, it is added at TempPoints1[Count] and then Count is incremented. The Position of the new TEdgePoint is set to Position. AddPointFromLayer is called when updating Segments. Parameters
|
![]() |
procedure AddPointFromRow(const RowIndex: integer; const Grid: TPhastGrid; const PreviousPoint, APoint: TEdgePoint; var TempPoints1: TEdgePointArray; var Count: integer; const Position: TEdgePosition); |
AddPointFromRow creates a TEdgePoint at the row boundary on Grid indicated by RowIndex on the line defined by PreviousPoint and APoint. If the new TEdgePoint is between PreviousPoint and APoint, it is added at TempPoints1[Count] and then Count is incremented. The Position of the new TEdgePoint is set to Position. AddPointFromRow is called when updating Segments. Parameters
|
![]() |
procedure AssignElevations(Formula: string; const SparseArray: T2DSparseRealArray); |
Parameters
|
![]() |
procedure AssignElevationsFromFront(const Compiler: TRbwParser; const SparseArray: T2DSparseRealArray); |
Parameters
|
![]() |
procedure AssignElevationsFromSide(const Compiler: TRbwParser; const SparseArray: T2DSparseRealArray); |
Parameters
|
![]() |
procedure AssignElevationsFromTop(const Compiler: TRbwParser; const SparseArray: T2DSparseRealArray); |
Parameters
|
![]() |
procedure AssignHigherElevations; |
|
![]() |
procedure AssignLowerElevations; |
|
![]() |
procedure CalculateCanvasCoordinates; |
CalculateCanvasCoordinates takes all the T2DRealPoints in Points and calculates the corresponding TPoints. These are stored in FCanvasCoordinates. The TPoints are used when drawing the ScreenObject on the screen. |
![]() |
procedure CreateSubPolygons; |
FSubPolygon1 and FSubPolygon2 are first destroyed (if they exist) and then recreated. Each will have access to approximately half the T2DRealPoints in Points. Each TSubPolygon will divide itself into two additional subcountours until the number of points each has access to is small enough. The TSubPolygons are used in speeding up evaluation of whether a point is inside the |
![]() |
procedure DestroySubPolygons; |
|
![]() |
procedure Draw0Elev(const Canvas: TCanvas; const Direction: TViewDirection; const DrawAsSelected: Boolean = False); |
Parameters
|
![]() |
procedure Draw1Elev(const Canvas: TCanvas; const Direction: TViewDirection; const DrawAsSelected: Boolean = False); |
Parameters
|
![]() |
procedure Draw2Elev(const Canvas: TCanvas; const Direction: TViewDirection; const DrawAsSelected: Boolean = False); |
Parameters
|
![]() |
procedure Draw3D_OneElevation; |
|
![]() |
procedure Draw3D_TwoElevations; |
|
![]() |
procedure EvaluateSubPolygon(const ASubPolygon: TSubPolygon; const X, Y: real; var IsInside: boolean); |
Parameters
|
![]() |
function GetACol(const Grid: TPhastGrid; const X: double): integer; |
If EvaluatedAt = eaNodes, Parameters
|
![]() |
function GetALayer(const Grid: TPhastGrid; const Z: double): integer; |
If EvaluatedAt = eaNodes, Parameters
|
![]() |
function GetARow(const Grid: TPhastGrid; const Y: double): integer; |
If EvaluatedAt = eaNodes, Parameters
|
![]() |
function GetBoundaryDataSetFormulas(const Index: integer): string; |
|
![]() |
function GetBoundaryDataSets(const Index: integer): TDataArray; |
|
![]() |
function GetCanvasCoordinates: TPointArray; |
|
![]() |
function GetColumn(const Grid: TPhastGrid; const X: real): integer; |
Parameters
|
![]() |
procedure GetColumns(const Grid: TPhastGrid; TempMinX, TempMaxX: real; out FirstCol, LastCol: integer); |
Parameters
|
![]() |
procedure GetCoordinates(const Direction: TViewDirection; var Points: T2DRealPointArray; const WhichElevation: TWhichElevation); |
Parameters
|
![]() |
function GetCount: integer; |
See Count. |
![]() |
function GetDataSetCapacity: integer; |
See DataSetCapacity. |
![]() |
function GetDataSetCount: integer; |
See DataSetCount. |
![]() |
function GetDataSetFormulas(const Index: integer): string; |
See DataSetFormulas. |
![]() |
function GetDataSets(const Index: integer): TDataArray; |
See DataSets. |
![]() |
function GetEdgePoints(const Index: integer): TEdgePoint; |
See EdgePoints. |
![]() |
function GetFillColor: TColor; |
See FillColor. |
![]() |
procedure GetGridCellOrElementLimits(const Col, Row, Layer: integer; out XMin, XMax, YMin, YMax: double); |
|
![]() |
function GetHigherElevations: T2DSparseRealArray; |
|
![]() |
function GetLayer(const Grid: TPhastGrid; const Z: real): integer; |
Parameters
|
![]() |
procedure GetLayers(const Grid: TPhastGrid; TempMinZ, TempMaxZ: real; out FirstLayer, LastLayer: integer); |
Parameters
|
![]() |
procedure GetLimits(out Limit1, Limit2: integer); |
|
![]() |
function GetLineColor: TColor; |
See LineColor. |
![]() |
function GetLowerElevations: T2DSparseRealArray; |
|
![]() |
function GetMaxX: real; |
See MaxX. |
![]() |
function GetMaxY: real; |
See MaxY. |
![]() |
function GetMinX: real; |
See MinX. |
![]() |
function GetMinY: real; |
See MinY. |
![]() |
function GetPoints(const Index: integer): T2DRealPoint; |
See Points. |
![]() |
function GetRow(const Grid: TPhastGrid; const Y: real): integer; |
Parameters
|
![]() |
procedure GetRows(const Grid: TPhastGrid; TempMinY, TempMaxY: real; out FirstRow, LastRow: integer); |
Parameters
|
![]() |
function GetSelectedVertexCount: integer; |
See SelectedVertexCount. |
![]() |
function GetSelectedVertices(const index: integer): boolean; |
See SelectedVertices. |
![]() |
function GetSelectLine: TLine; |
See SelectLine. |
![]() |
function GLPoint(const Index1, Index2: integer; const SparseArray: T2DSparseRealArray): T3DRealPoint; |
|
![]() |
procedure Grow; |
|
![]() |
procedure GrowBy(Amount: integer); |
|
![]() |
function InsideBox(const X, Y: real): boolean; |
|
![]() |
function MinDistPointLine(P, A, B: T2DRealPoint; out Closest: T2DRealPoint; const Anisotropy: real): real; |
Parameters
|
![]() |
procedure OtherIndexOneElev(const LayerOrRow, RowOrColumn: integer; out First, Last: integer); |
When evaluating a Parameters
|
![]() |
procedure OtherIndexTwoElev(const LayerOrRow, RowOrColumn: integer; out First, Last: integer); |
When evaluating a Parameters
|
![]() |
function PointToPointDist(const A, B: T2DRealPoint; const Anisotropy: real): real; |
|
![]() |
procedure ResetBottomElevationFormula(const Compiler: TRbwParser; const ErrorMessage: string); |
|
![]() |
procedure ResetElevationFormula(const Compiler: TRbwParser; const ErrorMessage: string); |
|
![]() |
procedure ResetSelectedVertexCount; |
|
![]() |
procedure ResetTopElevationFormula(const Compiler: TRbwParser; const ErrorMessage: string); |
|
![]() |
procedure SetBoundaryDataSetFormulas(const Index: integer; const Value: string); |
![]() |
procedure SetBoundaryDataSets(const Index: integer; const DataSet: TDataArray); |
See BoundaryDataSets. |
![]() |
procedure SetCapacity(Value: integer); |
See Capacity. |
![]() |
procedure SetCellSize(const Value: real); |
See CellSize. |
![]() |
procedure SetCellSizeUsed(const Value: boolean); |
See CellSizeUsed. |
![]() |
procedure SetColorLine(const Value: boolean); |
See ColorLine. |
![]() |
procedure SetCount(const Value: integer); |
See Count. |
![]() |
procedure SetDataSetCapacity(const Value: integer); |
See DataSetCapacity. |
![]() |
procedure SetDataSetFormulas(const Index: integer; const Value: string); |
See DataSetFormulas. |
![]() |
procedure SetDataSets(const Index: integer; const DataSet: TDataArray); |
See DataSets. |
![]() |
procedure SetDeleted(const Value: boolean); |
See Deleted. |
![]() |
procedure SetEdgePoints(const Index: integer; const Value: TEdgePoint); |
See EdgePoints. |
![]() |
procedure SetElevationCount(const Value: TElevationCount); |
See ElevationCount. |
![]() |
procedure SetEvaluatedAt(const Value: TEvaluatedAt); |
See EvaluatedAt. |
![]() |
procedure SetFillColor(const Value: TColor); |
See FillColor. |
![]() |
procedure SetFillScreenObject(const Value: boolean); |
See FillScreenObject. |
![]() |
procedure SetLineColor(const Value: TColor); |
See LineColor. |
![]() |
procedure SetPoints(const Index: integer; const Value: T2DRealPoint); |
See Points. |
![]() |
procedure SetSelected(const Value: boolean); |
See Selected. |
![]() |
procedure SetSelectedVertices(const index: integer; const Value: boolean); |
See SelectedVertices. |
![]() |
procedure SetSetPropertiesByInterpolation(const Value: boolean); |
![]() |
procedure SetSetPropertiesOfEnclosedCells(const Value: boolean); |
![]() |
procedure SetSetPropertiesOfIntersectedCells(const Value: boolean); |
![]() |
procedure SetVisible(const Value: boolean); |
See Visible. |
![]() |
procedure SortPoints(const Input: TEdgePointArray; out SortedPoints: TEdgePointArray; const APoint, PreviousPoint: TEdgePoint; const MaxLength: integer); |
Parameters
|
![]() |
procedure UpdateBox; |
![]() |
procedure UpdateFrontSegments(const Grid: TPhastGrid; const EvaluatedAt: TEvaluatedAt); |
|
![]() |
procedure UpdateSideSegments(const Grid: TPhastGrid; const EvaluatedAt: TEvaluatedAt); |
|
![]() |
procedure UpdateTopSegments(const Grid: TPhastGrid; const EvaluatedAt: TEvaluatedAt; const PointsRotated: boolean; var RotatedPoints: TEdgePointArray); |
|
![]() |
procedure ValidateIndex(const Index: integer); |
|
![]() |
function ValidCell(const Col, Row, Layer: integer): boolean; |
|
![]() |
function GetSetPropertiesOfEnclosedCells: boolean; |
![]() |
procedure AssignCellValue(const UsedVariables: TStringList; const DataSet: TDataArray; const LayerIndex, RowIndex, ColIndex: integer; const Compiler: TRbwParser; const Annotation: string; const Expression: TExpression; const OtherData: TObject); virtual; |
|
![]() |
procedure AssignValuesToFrontDataSet(const Grid: TPhastGrid; const DataSet: TDataArray; OtherData: TObject); virtual; |
|
![]() |
procedure AssignValuesToSideDataSet(const Grid: TPhastGrid; const DataSet: TDataArray; OtherData: TObject); virtual; |
|
![]() |
procedure AssignValuesToTopDataSet(const Grid: TPhastGrid; const DataSet: TDataArray; OtherData: TObject); virtual; |
|
![]() |
function CanAddDataSet(const DataSet: TDataArray): boolean; |
|
![]() |
function DataSetUsed(const DataSet: TDataArray; var OtherData: TObject): boolean; virtual; |
|
![]() |
function GetCompiler(const Orientation: TDataSetOrientation): TRbwParser; |
|
![]() |
procedure GetRotatedPoints(out RotatedPoints: TRealPointArray); |
|
![]() |
procedure InitializeExpression(out Compiler: TRbwParser; out DataSetFunction: string; out Expression: TExpression; const DataSet: TDataArray; const OtherData: TObject); virtual; |
Parameters
|
![]() |
procedure InitializeVariables(const UsedVariables: TStringList; const DataSet: TDataArray; const Expression: TExpression; const Compiler: TRbwParser); virtual; |
|
![]() |
function Intersection(const Point1, Point2: T2DRealPoint; out IntersectPoint: T2DRealPoint): TIntersectResult; |
Intersection is used when determining whether adding a point to a |
![]() |
function IsBoundaryTimeDataSetUsed(const DataSet: TDataArray; out OtherData: TObject): boolean; virtual; |
|
![]() |
procedure OtherIndex(const LayerOrRow, RowOrColumn: integer; out First, Last: integer; const DataSet: TDataArray); virtual; |
When evaluating a 3D data set, |
![]() |
procedure RotatePoints(const Grid: TPhastGrid; out RotatedPoints: TEdgePointArray; out TempMinX, TempMinY, TempMaxX, TempMaxY: double); |
|
![]() |
procedure SetElevationFunction(const Value: string); virtual; |
See ElevationFunction. |
![]() |
procedure SetGeometryUpToDate; virtual; |
|
![]() |
procedure SetHigherElevationFunction(const Value: string); virtual; |
See HigherElevationFunction. |
![]() |
procedure SetLowerElevationFunction(const Value: string); virtual; |
See LowerElevationFunction. |
![]() |
procedure SetName(const Value: TComponentName); override; |
See Name. |
![]() |
procedure SetUpToDate(const Value: boolean); override; |
|
![]() |
procedure SetViewDirection(const Value: TViewDirection); virtual; |
See ViewDirection. |
![]() |
procedure UpdateVariables(const UsedVariables: TStringList; const DataSet: TDataArray; Layer, Row, Column: integer; const Compiler: TRbwParser); |
|
![]() |
function AddBoundaryDataSet(const DataSet: TDataArray): integer; |
BoundaryDataSets are data sets associated with a boundary condition whose values are set by the object. An example is the hydraulic conductivity of a leaky boundary. See also
|
![]() |
function AddDataSet(const DataSet: TDataArray): Integer; virtual; |
DataSets are data sets whose values are set by the object. An Example is Kx. See also
|
![]() |
procedure AddPoint(const APoint: T2DRealPoint); |
|
![]() |
procedure Assign(Source: TPersistent); override; |
In |
![]() |
procedure AssignValuesToDataSet(const Grid: TPhastGrid; const DataSet: TDataArray); virtual; |
|
![]() |
function BoundaryDataSetCount: integer; |
|
![]() |
procedure Changed(Sender: TObject); |
|
![]() |
procedure ClearBoundaryDataSets; virtual; |
|
![]() |
procedure ClearDataSets; virtual; |
|
![]() |
procedure ClearPoints; |
|
![]() |
procedure ClearSelectedVertices; |
If any individual vertices in an object are selected, |
![]() |
function Closed: boolean; |
|
![]() |
procedure CopyPoints(var Destination: TRealPointArray; const Position, Start: integer; var Count: integer); |
|
![]() |
constructor Create(AnOwner: TComponent); override; |
|
![]() |
constructor CreateWithViewDirection(const AViewDirection: TViewDirection; out UndoCreateScreenObject: TCustomUndo; const UndoAble: boolean = True); virtual; |
|
![]() |
procedure DeleteBoundaryDataSet(const Index: Integer); |
See also
|
![]() |
procedure DeleteDataSet(const Index: Integer); virtual; |
See also
|
![]() |
procedure DeletePoint(const Index: Integer); |
|
![]() |
destructor Destroy; override; |
|
![]() |
function DistanceToScreenObject(const Location: T2DRealPoint; out ClosestLocation: T2DRealPoint; const Anisotropy: real): real; |
|
![]() |
procedure Draw(const Canvas: TCanvas; const Direction: TViewDirection; const DrawAsSelected: Boolean = False); virtual; |
|
![]() |
procedure Draw3D; |
![]() |
procedure DrawSelected(const Canvas: TCanvas; const Direction: TViewDirection); |
If a |
![]() |
function IndexOfBoundaryDataSet(const DataSet: TDataArray): integer; |
|
![]() |
function IndexOfDataSet(const DataSet: TDataArray): integer; |
IndexOfDataSet returns the position of DataSet in DataSets. |
![]() |
function IndexOfPoint(const APoint: T2DRealPoint): integer; |
|
![]() |
procedure InsertBoundaryDataSet(const Index: Integer; const DataSet: TDataArray); virtual; |
|
![]() |
procedure InsertDataSet(const Index: Integer; const DataSet: TDataArray); virtual; |
InsertDataSet inserts DataSet in DataSets at Index if it is not already in DataSets. |
![]() |
procedure InsertPoint(const Index: Integer; const APoint: T2DRealPoint); |
|
![]() |
procedure Invalidate; virtual; |
|
![]() |
procedure InvalidateCoordinates; |
|
![]() |
procedure InvalidateFront3DCoordinates; |
|
![]() |
procedure InvalidateSide3DCoordinates; |
|
![]() |
procedure InvalidateTop3DCoordinates; |
|
![]() |
function IsPointInside(const X, Y: real): boolean; overload; |
|
![]() |
function IsPointInside(const APoint: T2DRealPoint): boolean; overload; |
|
![]() |
function ObjectIntersectArea(const Col, Row, Layer: integer): real; |
|
![]() |
function ObjectIntersectLength(const Col, Row, Layer: integer): real; |
|
![]() |
function RemoveDataSet(const DataSet: TDataArray): Integer; virtual; |
|
![]() |
procedure ResetBoundaryDataSetSubscriptions; |
|
![]() |
procedure ResetDataSetSubscriptions; |
|
![]() |
procedure ResetSubscriptions; virtual; |
|
![]() |
function ScreenObjectArea: real; |
|
![]() |
function ScreenObjectLength: real; |
|
![]() |
function Select(const X, Y: integer): boolean; |
If the mouse coordinates (X, Y) are inside the |
![]() |
procedure UpdateScreenObjectWithName(const AName: string; const AViewDirection: TViewDirection; out UndoCreateScreenObject: TCustomUndo; const UndoAble: boolean = True); reintroduce; virtual; |
|
![]() |
property EdgePoints[const Index: integer]: TEdgePoint read GetEdgePoints
write SetEdgePoints; |
|
![]() |
property HigherElevations: T2DSparseRealArray read GetHigherElevations; |
|
![]() |
property LowerElevations: T2DSparseRealArray read GetLowerElevations; |
|
![]() |
property BoundaryDataSets[const Index: integer]: TDataArray
read GetBoundaryDataSets write SetBoundaryDataSets; |
See also
|
![]() |
property BoundaryDataSetFormulas[const Index: integer]: string
read GetBoundaryDataSetFormulas write SetBoundaryDataSetFormulas; |
|
![]() |
property CanvasCoordinates: TPointArray read GetCanvasCoordinates; |
|
![]() |
property Capacity: integer read FCapacity write SetCapacity; |
|
![]() |
property Count: integer read GetCount write SetCount; |
|
![]() |
property DataSetCapacity: integer read GetDataSetCapacity
write SetDataSetCapacity; |
|
![]() |
property DataSetCount: integer read GetDataSetCount; |
|
![]() |
property DataSets[const Index: integer]: TDataArray read GetDataSets
write SetDataSets; |
See also
|
![]() |
property DataSetFormulas[const Index: integer]: string
read GetDataSetFormulas write SetDataSetFormulas; |
|
![]() |
property Deleted: boolean read FDeleted write SetDeleted; |
|
![]() |
property MaxX: real read GetMaxX; |
|
![]() |
property MaxY: real read GetMaxY; |
|
![]() |
property MinX: real read GetMinX; |
|
![]() |
property MinY: real read GetMinY; |
|
![]() |
property Points[const Index: integer]: T2DRealPoint read GetPoints
write SetPoints; |
See also
|
![]() |
property Segments: TCellElementSegmentList read FSegments; |
|
![]() |
property SelectedVertexCount: integer read GetSelectedVertexCount; |
|
![]() |
property SelectedVertices[const Index: integer]: boolean read GetSelectedVertices
write SetSelectedVertices; |
For each member of Points, |
![]() |
property SelectLine: TLine read GetSelectLine; |
|
![]() |
property CellSize: real read FCellSize write SetCellSize; |
If CellSizeUsed is true, |
![]() |
property CellSizeUsed: boolean read FCellSizeUsed write SetCellSizeUsed; |
During automatic generation of a grid, any objects for which |
![]() |
property ColorLine: boolean read FColorLine write SetColorLine; |
|
![]() |
property ElevationCount: TElevationCount read FElevationCount
write SetElevationCount; |
|
![]() |
property ElevationFunction: string read FElevationFunction write
SetElevationFunction; |
If ElevationCount = ecOne, |
![]() |
property EvaluatedAt: TEvaluatedAt read FEvaluatedAt write SetEvaluatedAt; |
|
![]() |
property FillColor: TColor read GetFillColor write SetFillColor; |
|
![]() |
property FillContour: boolean write SetFillScreenObject stored False; |
|
![]() |
property FillScreenObject: boolean read FFillScreenObject write
SetFillScreenObject; |
|
![]() |
property HigherElevationFunction: string read FHigherElevationFunction
write SetHigherElevationFunction; |
If ElevationCount = ecTwo, |
![]() |
property LineColor: TColor read GetLineColor write SetLineColor; |
|
![]() |
property LowerElevationFunction: string read FLowerElevationFunction
write SetLowerElevationFunction; |
If ElevationCount = ecTwo, |
![]() |
property Selected: boolean read FSelected write SetSelected; |
|
![]() |
property SetPropertiesByInterpolation: boolean
read FSetPropertiesByInterpolation write SetSetPropertiesByInterpolation; |
If |
![]() |
property SetPropertiesOfEnclosedCells: boolean
read GetSetPropertiesOfEnclosedCells
write SetSetPropertiesOfEnclosedCells; |
If |
![]() |
property SetPropertiesOfIntersectedCells: boolean
read FSetPropertiesOfIntersectedCells
write SetSetPropertiesOfIntersectedCells; |
If |
![]() |
property ViewDirection: TViewDirection read FViewDirection write
SetViewDirection; |
|
![]() |
property Visible: boolean read FVisible write SetVisible default True; |
|