Class TSFDouble

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TSFDouble = class(TX3DSingleField)

Description

VRML/X3D field holding a double-precision floating point value.

Hierarchy

Overview

Fields

Public DefaultValue: Double;
Public DefaultValueExists: boolean;

Methods

Protected procedure SaveToStreamValue(Writer: TX3DWriter); override;
Public constructor Create(AParentNode: TX3DFileItem; const AName: string; const AValue: Double);
Public procedure ParseValue(Lexer: TX3DLexer; Reader: TX3DReader); override;
Public function EqualsDefaultValue: boolean; override;
Public function Equals(SecondValue: TX3DField; const EqualityEpsilon: Double): boolean; override;
Public function FastEqualsValue(SecondValue: TX3DField): boolean; override;
Public procedure AssignLerp(const A: Double; Value1, Value2: TX3DField); override;
Public function CanAssignLerp: boolean; override;
Public procedure Assign(Source: TPersistent); override;
Public procedure AssignValue(Source: TX3DField); override;
Public procedure AssignDefaultValueFromValue; override;
Public class function TypeName: string; override;
Public class function CreateEvent(const AParentNode: TX3DFileItem; const AName: string; const AInEvent: boolean): TX3DEvent; override;
Public procedure Send(const AValue: Double); overload;

Properties

Public property Value: Double read FValue write SetValue;
Public property Angle: boolean read FAngle write FAngle default false;

Description

Fields

Public DefaultValue: Double;
 
Public DefaultValueExists: boolean;
 

Methods

Protected procedure SaveToStreamValue(Writer: TX3DWriter); override;
 
Public constructor Create(AParentNode: TX3DFileItem; const AName: string; const AValue: Double);
 
Public procedure ParseValue(Lexer: TX3DLexer; Reader: TX3DReader); override;
 
Public function EqualsDefaultValue: boolean; override;
 
Public function Equals(SecondValue: TX3DField; const EqualityEpsilon: Double): boolean; override;
 
Public function FastEqualsValue(SecondValue: TX3DField): boolean; override;
 
Public procedure AssignLerp(const A: Double; Value1, Value2: TX3DField); override;
 
Public function CanAssignLerp: boolean; override;
 
Public procedure Assign(Source: TPersistent); override;
 
Public procedure AssignValue(Source: TX3DField); override;
 
Public procedure AssignDefaultValueFromValue; override;
 
Public class function TypeName: string; override;
 
Public class function CreateEvent(const AParentNode: TX3DFileItem; const AName: string; const AInEvent: boolean): TX3DEvent; override;
 
Public procedure Send(const AValue: Double); overload;
 

Properties

Public property Value: Double read FValue write SetValue;
 
Public property Angle: boolean read FAngle write FAngle default false;

Value represents an angle. When reading from X3D 3.3 file, we will make sure it's expressed in radians, honoring optional "UNIT angle ..." declaration in X3D file.


Generated by PasDoc 0.13.0 on 2014-08-30 12:10:45