Description | Hierarchy | Fields | Methods | Properties |
type TCellElementSegment = class(TObject)
TCellElementSegment
represents the 2D intersection of one segment of a TScreenObject with a cell or element in the grid.
FSegment: TSegment2D; |
|
FCol: integer; |
|
FEndPosition: TEdgePosition; |
|
FLayer: integer; |
|
FVertexIndex: integer; |
|
FRow: integer; |
|
FStartPosition: TEdgePosition; |
|
FSectionIndex: integer; |
|
FSubSegments: TSegment2DArray; |
|
FLgrEdge: boolean; |
|
FScreenObject: TScreenObject; |
procedure Store(Stream: TStream); |
|
procedure Restore(Stream: TDecompressionStream); |
|
function SegmentLength: double; |
|
function FirstPointRealCoord(ViewDirection: TViewDirection): TPoint2D; |
|
function SecondPointRealCoord(ViewDirection: TViewDirection): TPoint2D; |
|
constructor Create(ScreenObject: TScreenObject); |
property Col: integer read FCol write FCol; |
|
property EndPosition: TEdgePosition read FEndPosition write FEndPosition; |
|
property Layer: integer read FLayer write FLayer; |
|
property VertexIndex: integer read FVertexIndex write FVertexIndex; |
|
property Row: integer read FRow write FRow; |
|
property StartPosition: TEdgePosition read FStartPosition
write FStartPosition; |
|
property X1: double read FSegment[1].x write FSegment[1].x; |
|
property X2: double read FSegment[2].x write FSegment[2].x; |
|
property Y1: double read FSegment[1].y write FSegment[1].y; |
|
property Y2: double read FSegment[2].y write FSegment[2].y; |
|
property StartPoint: TPoint2D read FSegment[1]; |
|
property EndPoint: TPoint2D read FSegment[2]; |
|
property SectionIndex: integer read FSectionIndex write FSectionIndex; |
|
property LgrEdge: boolean read FLgrEdge write FLgrEdge; |
FSegment: TSegment2D; |
|
FCol: integer; |
|
See Col. |
FEndPosition: TEdgePosition; |
|
See EndPosition. |
FLayer: integer; |
|
See Layer. |
FVertexIndex: integer; |
|
See VertexIndex. |
FRow: integer; |
|
See Row. |
FStartPosition: TEdgePosition; |
|
See StartPosition. |
FSectionIndex: integer; |
|
FSubSegments: TSegment2DArray; |
|
FLgrEdge: boolean; |
|
FScreenObject: TScreenObject; |
|
procedure Store(Stream: TStream); |
|
procedure Restore(Stream: TDecompressionStream); |
|
function SegmentLength: double; |
|
|
function FirstPointRealCoord(ViewDirection: TViewDirection): TPoint2D; |
|
function SecondPointRealCoord(ViewDirection: TViewDirection): TPoint2D; |
|
constructor Create(ScreenObject: TScreenObject); |
|
property Col: integer read FCol write FCol; |
|
|
property EndPosition: TEdgePosition read FEndPosition write FEndPosition; |
|
If the end of this |
property Layer: integer read FLayer write FLayer; |
|
|
property VertexIndex: integer read FVertexIndex write FVertexIndex; |
|
|
property Row: integer read FRow write FRow; |
|
|
property StartPosition: TEdgePosition read FStartPosition
write FStartPosition; |
|
If the start of this |
property X1: double read FSegment[1].x write FSegment[1].x; |
|
|
property X2: double read FSegment[2].x write FSegment[2].x; |
|
|
property Y1: double read FSegment[1].y write FSegment[1].y; |
|
|
property Y2: double read FSegment[2].y write FSegment[2].y; |
|
|
property StartPoint: TPoint2D read FSegment[1]; |
|
property EndPoint: TPoint2D read FSegment[2]; |
|
property SectionIndex: integer read FSectionIndex write FSectionIndex; |
|
property LgrEdge: boolean read FLgrEdge write FLgrEdge; |
|