Class TNurbsCurveNode
Unit
X3DNodes
Declaration
type TNurbsCurveNode = class(TAbstractParametricGeometryNode)
Description
Visible NURBS curve in 3D.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
class function ForVRMLVersion(const Version: TX3DVersion): boolean; override; |
|
 |
function CoordField: TSFNode; override; |
|
 |
procedure PiecewiseBezier; |
Make this NURBS curve equal to a piecewise Bezier curve by setting appropriate "knot". This looks at ControlPoint count and Order (set Order = 4 for a typical cubic Bezier curve).
|
 |
function Point(const U: Single; const Tangent: PVector3 = nil): TVector3; |
Get the position of a point on the curve.
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
- The place on a curve, in [0..1] range.
- Tangent
- Optional. If non-nil, will be set to the tangent, that is, direction in 3D in which the curve is going.
|
 |
procedure CreateNode; override; |
Create node fields and events.
|
 |
class function ClassX3DType: String; override; |
|
 |
procedure SetWeight(const Value: array of Double); overload; |
|
 |
procedure SetWeight(const Value: TDoubleList); overload; |
|
 |
procedure SetKnot(const Value: array of Double); overload; |
|
Properties
 |
property FdControlPoint: TSFNode read FFdControlPoint; |
Internal wrapper for property ControlPoint . This wrapper API may change, we advise to access simpler ControlPoint instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
 |
property FdTessellation: TSFInt32 read FFdTessellation; |
Internal wrapper for property Tessellation . This wrapper API may change, we advise to access simpler Tessellation instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
 |
property Tessellation: Integer read GetTessellation write SetTessellation; |
|
 |
property FdWeight: TMFDouble read FFdWeight; |
Internal wrapper for property Weight . This wrapper API may change, we advise to access simpler Weight instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
 |
property FdClosed: TSFBool read FFdClosed; |
Internal wrapper for property Closed . This wrapper API may change, we advise to access simpler Closed instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
 |
property Closed: Boolean read GetClosed write SetClosed; |
|
 |
property FdKnot: TMFDouble read FFdKnot; |
Internal wrapper for property Knot . This wrapper API may change, we advise to access simpler Knot instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
 |
property FdOrder: TSFInt32 read FFdOrder; |
Internal wrapper for property Order . This wrapper API may change, we advise to access simpler Order instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).
|
 |
property Order: Integer read GetOrder write SetOrder; |
|
Generated by PasDoc 0.16.0.