Class TAbstractNurbsSurfaceGeometryNode

Unit

Declaration

type TAbstractNurbsSurfaceGeometryNode = class(TAbstractParametricGeometryNode)

Description

Abstract geometry type for all types of NURBS surfaces.

Hierarchy

Overview

Methods

Protected function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override;
Public function Proxy(var State: TX3DGraphTraverseState): TAbstractGeometryNode; override;
Public function LocalBoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
Public function BoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
Public function TrianglesCount(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;
Public function InternalCoord(State: TX3DGraphTraverseState; out ACoord: TMFVec3f): boolean; override;
Public function CoordField: TSFNode; override;
Public function SolidField: TSFBool; override;
Public function Point(const U, V: Single; const OutputNormal: PVector3 = nil): TVector3;
Public procedure CreateNode; override;
Public class function ClassX3DType: string; override;
Public procedure SetWeight(const Value: array of Double); overload;
Public procedure SetWeight(const Value: TDoubleList); overload;
Public procedure SetUKnot(const Value: array of Double); overload;
Public procedure SetUKnot(const Value: TDoubleList); overload;
Public procedure SetVKnot(const Value: array of Double); overload;
Public procedure SetVKnot(const Value: TDoubleList); overload;

Properties

Public property FdControlPoint: TSFNode read FFdControlPoint;
Public property ControlPoint: TAbstractCoordinateNode read GetControlPoint write SetControlPoint;
Public property FdTexCoord: TSFNode read FFdTexCoord;
Public property FdUTessellation: TSFInt32 read FFdUTessellation;
Public property UTessellation: Integer read GetUTessellation write SetUTessellation;
Public property FdVTessellation: TSFInt32 read FFdVTessellation;
Public property VTessellation: Integer read GetVTessellation write SetVTessellation;
Public property FdWeight: TMFDouble read FFdWeight;
Public property FdSolid: TSFBool read FFdSolid;
Public property FdUClosed: TSFBool read FFdUClosed;
Public property UClosed: Boolean read GetUClosed write SetUClosed;
Public property FdUDimension: TSFInt32 read FFdUDimension;
Public property UDimension: Integer read GetUDimension write SetUDimension;
Public property FdUKnot: TMFDouble read FFdUKnot;
Public property FdUOrder: TSFInt32 read FFdUOrder;
Public property UOrder: Integer read GetUOrder write SetUOrder;
Public property FdVClosed: TSFBool read FFdVClosed;
Public property VClosed: Boolean read GetVClosed write SetVClosed;
Public property FdVDimension: TSFInt32 read FFdVDimension;
Public property VDimension: Integer read GetVDimension write SetVDimension;
Public property FdVKnot: TMFDouble read FFdVKnot;
Public property FdVOrder: TSFInt32 read FFdVOrder;
Public property VOrder: Integer read GetVOrder write SetVOrder;

Description

Methods

Protected function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override;
 
Public function Proxy(var State: TX3DGraphTraverseState): TAbstractGeometryNode; override;
 
Public function LocalBoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
 
Public function BoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
 
Public function TrianglesCount(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;
 
Public function InternalCoord(State: TX3DGraphTraverseState; out ACoord: TMFVec3f): boolean; override;
 
Public function CoordField: TSFNode; override;
 
Public function SolidField: TSFBool; override;
 
Public function Point(const U, V: Single; const OutputNormal: PVector3 = nil): TVector3;

Get the position of a point on the surface.

The returned position is in the local transformation space of this shape. This method is guaranteed to work the same, regardless if this node is part of any TX3DRootNode and TCastleSceneCore or not.

Parameters
U
First parameter of the parametric surface, in [0..1] range.
V
Second parameter of the parametric surface, in [0..1] range.
OutputNormal
Optional. If non-nil, will be set to the normal, that is, normalized direction in 3D that is orthogonal to the surface at this point.
Public procedure CreateNode; override;
 
Public class function ClassX3DType: string; override;
 
Public procedure SetWeight(const Value: array of Double); overload;
 
Public procedure SetWeight(const Value: TDoubleList); overload;
 
Public procedure SetUKnot(const Value: array of Double); overload;
 
Public procedure SetUKnot(const Value: TDoubleList); overload;
 
Public procedure SetVKnot(const Value: array of Double); overload;
 
Public procedure SetVKnot(const Value: TDoubleList); overload;
 

Properties

Public property FdControlPoint: TSFNode read FFdControlPoint;

Internal wrapper for property ControlPoint. This wrapper API may change, we advise to access simpler ControlPoint instead.

Public property ControlPoint: TAbstractCoordinateNode read GetControlPoint write SetControlPoint;
 
Public property FdTexCoord: TSFNode read FFdTexCoord;

Internal wrapper for property TexCoord. This wrapper API may change, we advise to access simpler TexCoord instead.

Public property FdUTessellation: TSFInt32 read FFdUTessellation;

Internal wrapper for property UTessellation. This wrapper API may change, we advise to access simpler UTessellation instead.

Public property UTessellation: Integer read GetUTessellation write SetUTessellation;
 
Public property FdVTessellation: TSFInt32 read FFdVTessellation;

Internal wrapper for property VTessellation. This wrapper API may change, we advise to access simpler VTessellation instead.

Public property VTessellation: Integer read GetVTessellation write SetVTessellation;
 
Public property FdWeight: TMFDouble read FFdWeight;

Internal wrapper for property Weight. This wrapper API may change, we advise to access simpler Weight instead.

Public property FdSolid: TSFBool read FFdSolid;

Internal wrapper for property Solid. This wrapper API may change, we advise to access simpler Solid instead.

Public property FdUClosed: TSFBool read FFdUClosed;

Internal wrapper for property UClosed. This wrapper API may change, we advise to access simpler UClosed instead.

Public property UClosed: Boolean read GetUClosed write SetUClosed;
 
Public property FdUDimension: TSFInt32 read FFdUDimension;

Internal wrapper for property UDimension. This wrapper API may change, we advise to access simpler UDimension instead.

Public property UDimension: Integer read GetUDimension write SetUDimension;
 
Public property FdUKnot: TMFDouble read FFdUKnot;

Internal wrapper for property UKnot. This wrapper API may change, we advise to access simpler UKnot instead.

Public property FdUOrder: TSFInt32 read FFdUOrder;

Internal wrapper for property UOrder. This wrapper API may change, we advise to access simpler UOrder instead.

Public property UOrder: Integer read GetUOrder write SetUOrder;
 
Public property FdVClosed: TSFBool read FFdVClosed;

Internal wrapper for property VClosed. This wrapper API may change, we advise to access simpler VClosed instead.

Public property VClosed: Boolean read GetVClosed write SetVClosed;
 
Public property FdVDimension: TSFInt32 read FFdVDimension;

Internal wrapper for property VDimension. This wrapper API may change, we advise to access simpler VDimension instead.

Public property VDimension: Integer read GetVDimension write SetVDimension;
 
Public property FdVKnot: TMFDouble read FFdVKnot;

Internal wrapper for property VKnot. This wrapper API may change, we advise to access simpler VKnot instead.

Public property FdVOrder: TSFInt32 read FFdVOrder;

Internal wrapper for property VOrder. This wrapper API may change, we advise to access simpler VOrder instead.

Public property VOrder: Integer read GetVOrder write SetVOrder;
 

Generated by PasDoc 0.16.0.