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

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 |

InnerRadius | The inner radius of the torus. |

OuterRadius | The outer radius of the torus. |

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 havedouble 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 havedouble 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; |

Torus Class | Drawing3d.Surfaces Namespace