Class TCrossSection

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TCrossSection = class(TGoPhastPersistent)

Description

no description available, TGoPhastPersistent description follows

Hierarchy

Overview

Fields

Private FStartX: Double;
Private FStartY: double;
Private FEndX: Double;
Private FEndY: double;
Private FColor: TColor;
Private FEditing: Boolean;
Private FOnMoved: TNotifyEvent;

Methods

Private procedure Moved;
Private procedure SetEndPointValue(var AField: double; const NewValue: double);
Private procedure SetEndX(const Value: Double);
Private procedure SetEndY(const Value: double);
Private procedure SetStartX(const Value: Double);
Private procedure SetStartY(const Value: double);
Private function GetEndPoint: TPoint2D;
Private function GetStartPoint: TPoint2D;
Private procedure SetEndPoint(const Value: TPoint2D);
Private procedure SetStartPoint(const Value: TPoint2D);
Private procedure SetColor(const Value: TColor);
Private function GetSegement: TSegment2D;
Private procedure SetSegement(const Value: TSegment2D);
Public procedure Assign(Source: TPersistent); override;
Public Constructor Create(Model: TBaseModel);
Public procedure Draw(const BitMap: TBitmap32);
Public function Angle: Double;

Properties

Public property StartPoint: TPoint2D read GetStartPoint write SetStartPoint;
Public property EndPoint: TPoint2D read GetEndPoint write SetEndPoint;
Public property Segment: TSegment2D read GetSegement write SetSegement;
Public property Editing: Boolean read FEditing write FEditing;
Public property OnMoved: TNotifyEvent read FOnMoved write FOnMoved;
Published property StartX: Double read FStartX write SetStartX;
Published property EndX: Double read FEndX write SetEndX;
Published property StartY: double read FStartY write SetStartY;
Published property EndY: double read FEndY write SetEndY;
Published property Color: TColor read FColor write SetColor default clFuchsia;

Description

Fields

Private FStartX: Double;
 
Private FStartY: double;
 
Private FEndX: Double;
 
Private FEndY: double;
 
Private FColor: TColor;
 
Private FEditing: Boolean;
 
Private FOnMoved: TNotifyEvent;
 

Methods

Private procedure Moved;
 
Private procedure SetEndPointValue(var AField: double; const NewValue: double);
 
Private procedure SetEndX(const Value: Double);
 
Private procedure SetEndY(const Value: double);
 
Private procedure SetStartX(const Value: Double);
 
Private procedure SetStartY(const Value: double);
 
Private function GetEndPoint: TPoint2D;
 
Private function GetStartPoint: TPoint2D;
 
Private procedure SetEndPoint(const Value: TPoint2D);
 
Private procedure SetStartPoint(const Value: TPoint2D);
 
Private procedure SetColor(const Value: TColor);
 
Private function GetSegement: TSegment2D;
 
Private procedure SetSegement(const Value: TSegment2D);
 
Public procedure Assign(Source: TPersistent); override;
 
Public Constructor Create(Model: TBaseModel);
 
Public procedure Draw(const BitMap: TBitmap32);
 
Public function Angle: Double;

cross section angle in radians.

Properties

Public property StartPoint: TPoint2D read GetStartPoint write SetStartPoint;
 
Public property EndPoint: TPoint2D read GetEndPoint write SetEndPoint;
 
Public property Segment: TSegment2D read GetSegement write SetSegement;
 
Public property Editing: Boolean read FEditing write FEditing;
 
Public property OnMoved: TNotifyEvent read FOnMoved write FOnMoved;
 
Published property StartX: Double read FStartX write SetStartX;
 
Published property EndX: Double read FEndX write SetEndX;
 
Published property StartY: double read FStartY write SetStartY;
 
Published property EndY: double read FEndY write SetEndY;
 
Published property Color: TColor read FColor write SetColor default clFuchsia;
 

Generated by PasDoc 0.12.1 on 2013-05-13 15:42:05