Drawing3d documented Class Library

Sphere Properties

The properties of the Sphere class are listed below. For a complete list of Sphere class members, see the Sphere Members topic.

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.
DisplayList (inherited from Surface) Holds a displaylist, which was generated by Compile
Radius retrieves or writes the radius of the sphere
TextureOffset (inherited from Surface) Sets or gets an offset for a texture
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;
UResolution (inherited from Surface) Defines a Resolution for the u parameter Default is 20;
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;
VResolution (inherited from Surface) Defines a Resolution for the v parameter Default is 20;

See Also

Sphere Class | Drawing3d.Surfaces Namespace