Class TNurbsCurveNode
Unit
Declaration
type TNurbsCurveNode = class(TAbstractParametricGeometryNode)
Description
Visible NURBS curve in 3D.
Hierarchy
- TObject
- TPersistent
- TX3DFileItem
- TX3DNode
- TAbstractNode
- TAbstractGeometryNode
- TAbstractParametricGeometryNode
- TNurbsCurveNode
Overview
Methods
function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override; |
|
class function ForVRMLVersion(const Version: TX3DVersion): boolean; override; |
|
function Proxy(var State: TX3DGraphTraverseState): TAbstractGeometryNode; override; |
|
function LocalBoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override; |
|
function BoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override; |
|
function TrianglesCount(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override; |
|
function InternalCoord(State: TX3DGraphTraverseState; out ACoord: TMFVec3f): boolean; override; |
|
function CoordField: TSFNode; override; |
|
procedure PiecewiseBezier; |
|
function Point(const U: Single; const Tangent: PVector3 = nil): TVector3; |
|
procedure CreateNode; override; |
|
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; |
|
procedure SetKnot(const Value: TDoubleList); overload; |
Properties
property FdControlPoint: TSFNode read FFdControlPoint; |
|
property ControlPoint: TAbstractCoordinateNode read GetControlPoint write SetControlPoint; |
|
property FdTessellation: TSFInt32 read FFdTessellation; |
|
property Tessellation: Integer read GetTessellation write SetTessellation; |
|
property FdWeight: TMFDouble read FFdWeight; |
|
property FdClosed: TSFBool read FFdClosed; |
|
property Closed: Boolean read GetClosed write SetClosed; |
|
property FdKnot: TMFDouble read FFdKnot; |
|
property FdOrder: TSFInt32 read FFdOrder; |
|
property Order: Integer read GetOrder write SetOrder; |
Description
Methods
function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override; |
|
class function ForVRMLVersion(const Version: TX3DVersion): boolean; override; |
|
function Proxy(var State: TX3DGraphTraverseState): TAbstractGeometryNode; override; |
|
function LocalBoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override; |
|
function BoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override; |
|
function TrianglesCount(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override; |
|
function InternalCoord(State: TX3DGraphTraverseState; out ACoord: TMFVec3f): 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
|
procedure CreateNode; override; |
|
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; |
|
procedure SetKnot(const Value: TDoubleList); overload; |
|
Properties
property FdControlPoint: TSFNode read FFdControlPoint; |
|
Internal wrapper for property ControlPoint. This wrapper API may change, we advise to access simpler ControlPoint instead. |
property ControlPoint: TAbstractCoordinateNode read GetControlPoint write SetControlPoint; |
|
property FdTessellation: TSFInt32 read FFdTessellation; |
|
Internal wrapper for property Tessellation. This wrapper API may change, we advise to access simpler Tessellation instead. |
property Tessellation: Integer read GetTessellation write SetTessellation; |
|
property FdWeight: TMFDouble read FFdWeight; |
|
Internal wrapper for property |
property FdClosed: TSFBool read FFdClosed; |
|
Internal wrapper for property Closed. This wrapper API may change, we advise to access simpler Closed instead. |
property Closed: Boolean read GetClosed write SetClosed; |
|
property FdKnot: TMFDouble read FFdKnot; |
|
Internal wrapper for property |
property FdOrder: TSFInt32 read FFdOrder; |
|
Internal wrapper for property Order. This wrapper API may change, we advise to access simpler Order instead. |
property Order: Integer read GetOrder write SetOrder; |
|
Generated by PasDoc 0.16.0.