API Reference > Classes > PRC Surface Classes > OdPrcTorus Class
OdPrcTorus Class
OdPrcTorusOdPrcTorus
Syntax
C++
class OdPrcTorus : public OdPrcSurface;

PrcTorus.h

 

Class representing a torus centred at the origin. The major axis of this surface is placed in the XY plane.

 
Name 
Description 
 
Destroys the surface object. 
OdPrcTorus Class
 
Name 
Description 
 
Destroys the torus. 
 
Name 
Description 
 
This is the overview for the contentSurface method overload. 
 
Creates new surface data from a OdGeSurface entity.
 
 
Returns the current matrix of the 3D transformation. 
 
Returns the current surface geometry data.
 
 
read 
Reads surface data from a specified compressed filer stream, creates a surface, and returns a smart pointer to it.
 
 
Reads surface array data from a specified compressed filer stream, creates surfaces, and returns an array of smart pointers to the created surfaces.
 
 
Returns current surface data from a compressed filer stream, creates a surface, and returns a smart pointer to it.
 
 
Sets new surface data from a surface entity.
 
 
Sets a new value of the surface position in model space.
 
 
Sets a new parametrization of the surface.
 
 
Returns the current surface position in model space. 
 
Returns the current uv-parametrization of the surface. 
 
Writes an array of surfaces to a specified compressed filer stream.
 
 
Writes surface data to a specified compressed filer stream.
 
OdPrcTorus Class
 
Name 
Description 
 
Returns the current major radius value. 
 
Returns the current minor radius value. 
 
Sets a new major radius value.
 
 
Sets a new minor radius value.
 
Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.