Drawing3d documented Class Library

NurbsSurface Members

NurbsSurface overview

Public Instance Constructors

NurbsSurface Constructor Initializes a new instance of the NurbsSurface class.

Public Instance Fields

Bounds (inherited from Surface) Holds the Raster for BoundedCurves. This field will be calculated automatically by a call of new Raster(value.getxyArray(),new xy(0,0), 1 / (float)UResolution, 1 / (float)VResolution);
UPeriodicity (inherited from Surface) Some surfaces are periodically in the parameters. For example a Cone has a periode of 2*PI for the u-parameter. The UPeriodicity gets and sets this priodicity. If the value is 0 no periodicity is assumed.
VPeriodicity (inherited from Surface) Some surfaces are periodically in the parameters. For example a Cone has a periode of 2*PI for the u-parameter. The VPeriodicity gets and sets this priodicity. If the value is 0 no periodicity is assumed.

Public Instance Properties

Base (inherited from Surface) Gets and sets a base for the surface.
BoundedCurves (inherited from Surface) Defines a enclosing curve list. If this value is different from null, only the part inside the curves will be drawn by drawSurface.
ControlPoints
DisplayList (inherited from Surface) Holds a displaylist, which was generated by Compile
TextureOffset (inherited from Surface) Sets or gets an offset for a texture
UDegree (inherited from BSplineSurface) The degree related to the parameter u. The default is 2.
UFactor (inherited from Surface) The Ufactor normalizes the u parameter to [0,1]. This must be respected, when you define a Value, uDerivation or vDerivation. For example the Cone has a UFactor 2*PI. in the Value method we have
double x = System.Math.Cos(u * UFactor);
double y = System.Math.Sin(u * UFactor);
double z = v * VFactor;
UKnots (inherited from BSplineSurface) Defines the knots related to the parameter u.
UResolution (inherited from Surface) Defines a Resolution for the u parameter Default is 20;
VDegree (inherited from BSplineSurface) The degree related to the parameter v. The default is 2.
VFactor (inherited from Surface) The Vfactor normalizes the v parameter to [0,1]. This must be respected, when you define a Value, uDerivation or vDerivation. For example the Cone has a UFactor 2*PI. in the Value method we have
double x = System.Math.Cos(u * UFactor);
double y = System.Math.Sin(u * UFactor);
double z = v * VFactor;
VKnots (inherited from BSplineSurface) Defines the knots related to the parameter v.
VResolution (inherited from Surface) Defines a Resolution for the v parameter Default is 20;
Weights Determs values, which could be interpreted as magnetisms to the ControlPoints.

Public Instance Methods

CloseU Overrides CloseU, which closes the surface in the u-direction.
CloseV Overrides CloseV, which closes the surface in the v-direction.
Compile (inherited from Surface) Create a DisplayList in a MNDevice.
Copy (inherited from Surface) Makes a copy of the surface and returns it.
CreateDisplayList (inherited from Surface) Create a displayList like Compile, but it doesnt stores it to DisplayList
Equals (inherited from Object) 
getCross (inherited from Surface) This method calculates a crosspoint of a LineType with the surface, if this exists. In that case the crosspoint is given by the values u and v and can be calculated with the Value-function
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
getULength (inherited from Surface) Calculates the real length on the surface for an u, when v=const.
getVLength (inherited from Surface) Calculates the real length on the surface for an v, when u=const.
Normal (inherited from Surface) Returns the normal at point u, v, which is calculated as th crossproduct of uDerivation and vDerivation.
ProjectPoint (inherited from Surface) Gets a point in the u,v parameter room, which is near to the giving Point after transforming with Value.
SetDefaultKnots (inherited from BSplineSurface) Calls DefaultKnots for UKnots and VKnots.
To2dCurve (inherited from Surface) Erzeugt zu einer 3D-Kurve eine Kurve im Parameterraum, sodass der Abbildung mit Value wieder die 3D-Kurve ergibt.
To3dCurve (inherited from Surface) Creates a 3D-Curve which belongs to the curve which is given by the ParamCurve transformed to the surface
ToString (inherited from Object) 
uDerivation Calculates the partial uderivation of a nurbs, at the parameters u and v.
Value Calculates the values for a nurbs, at the parameters u and v.
vDerivation Calculates the partial vderivation of a nurbs, at the parameters u and v.

Protected Instance Methods

Finalize (inherited from Object) 
getUResolution (inherited from Surface) Is the virtual getfunction fo the property UResolution
getVResolution (inherited from Surface) Is the virtual getfunction fo the property VResolution
MemberwiseClone (inherited from Object) 
setUResolution (inherited from Surface) Is the virtual set-function fo the property UResolution
setVResolution (inherited from Surface) Is the virtual set-function fo the property VResolution

See Also

NurbsSurface Class | Drawing3d.Surfaces Namespace