API Reference > FacetModeler Namespace > Classes > Torus Class
Torus Class
FacetModeler__TorusFacetModeler__TorusFacetModeler__TorusFacetModeler__Torus
Syntax
C++
class Torus : public Revolution;

FMMdlSurface.h

Represents facet body toroidal objects.

 
Name 
Description 
 
Destructor. 
 
This is the overview for the Entity constructor overload. 
Surface Class
 
Name 
Description 
 
Destructor. 
 
Default constructor. 
Revolution Class
 
Name 
Description 
 
Constructor. Creates a revolution surface with the specified axis of rotation and the start direction vector.
 
Torus Class
 
Name 
Description 
 
Constructor. Creates a torus with the specified axis line, start direction, major and minor radii, and major and minor approximations.
 
Surface Class
 
Name 
Description 
 
Type 
Defines surface object types. 
 
Name 
Description 
 
Gets all flags.
 
 
Checks whether the specified flag is on.
 
 
Sets all flags.
 
 
Sets the specified flag to the specified state.
 
 
Sets the tag to the specified one.
 
 
tag 
Gets an entity tag.
 
Surface Class
 
Name 
Description 
 
Compares surfaces with the specified tolerance.
 
 
copy 
Creates a copy of the surface to the specified body.
 
 
next 
Gets the next surface in the body.
 
 
Gets the normal at the specified vertex on the specified face.
 
 
Sets the pointer to the next item in the list of surfaces.
 
 
Transforms the surface with the given transformation matrix.
 
 
type 
Gets the surface type.
 
Revolution Class
 
Name 
Description 
 
axis 
Gets the axis of the revolution surface.
 
 
Compares surfaces with the specified tolerance.
 
 
Gets the start direction of the revolution surface.
 
 
Transforms the surface with the given transformation matrix.
 
Torus Class
 
Name 
Description 
 
Compares surfaces with the specified tolerance.
 
 
copy 
Creates a copy of the surface to the specified body.
 
 
Gets the major approximation.
 
 
Gets the major radius value.
 
 
Gets the minor approximation.
 
 
Gets the minor radius value.
 
 
Gets the normal at the specified vertex on the specified face.
 
 
Transforms the surface with the given transformation matrix.
 
 
type 
Gets the surface type.
 
 
Name 
Description 
 
= 
Assignment operator.
 
Copyright © 2002-2020. Open Design Alliance. All rights reserved.