Logo Search packages:      
Sourcecode: opencascade version File versions  Download package

gp_Torus Class Reference

#include <gp_Torus.hxx>

List of all members.

Detailed Description

Describes a torus.
A torus is defined by its major and minor radii and
positioned in space with a coordinate system (a gp_Ax3
object) as follows:

Definition at line 96 of file gp_Torus.hxx.

Public Member Functions

Standard_Real _CSFDB_Getgp_TorusmajorRadius () const
Standard_Real _CSFDB_Getgp_TorusminorRadius () const
const gp_Ax3_CSFDB_Getgp_Toruspos () const
void _CSFDB_Setgp_TorusmajorRadius (const Standard_Real p)
void _CSFDB_Setgp_TorusminorRadius (const Standard_Real p)
Standard_Real Area () const
 Computes the area of the torus.
const gp_Ax1Axis () const
 returns the symmetry axis of the torus.

Standard_EXPORT void Coefficients (TColStd_Array1OfReal &Coef) const
Standard_Boolean Direct () const
 returns true if the Ax3, the local coordinate system of this torus, is right handed.

 gp_Torus (const gp_Ax3 &A3, const Standard_Real MajorRadius, const Standard_Real MinorRadius)
 gp_Torus ()
 creates an indefinite Torus.

const gp_PntLocation () const
 Returns the Torus's location.
Standard_Real MajorRadius () const
 returns the major radius of the torus.

Standard_Real MinorRadius () const
 returns the minor radius of the torus.

Standard_EXPORT void Mirror (const gp_Ax2 &A2)
Standard_EXPORT void Mirror (const gp_Ax1 &A1)
Standard_EXPORT void Mirror (const gp_Pnt &P)
Standard_EXPORT gp_Torus Mirrored (const gp_Ax2 &A2) const
Standard_EXPORT gp_Torus Mirrored (const gp_Ax1 &A1) const
Standard_EXPORT gp_Torus Mirrored (const gp_Pnt &P) const
void operator delete (void *anAddress)
void * operator new (size_t size)
void * operator new (size_t, void *anAddress)
const gp_Ax3Position () const
 Returns the local coordinates system of the torus.
void Rotate (const gp_Ax1 &A1, const Standard_Real Ang)
gp_Torus Rotated (const gp_Ax1 &A1, const Standard_Real Ang) const
void Scale (const gp_Pnt &P, const Standard_Real S)
gp_Torus Scaled (const gp_Pnt &P, const Standard_Real S) const
void SetAxis (const gp_Ax1 &A1)
void SetLocation (const gp_Pnt &Loc)
 Changes the location of the torus.
void SetMajorRadius (const Standard_Real MajorRadius)
void SetMinorRadius (const Standard_Real MinorRadius)
void SetPosition (const gp_Ax3 &A3)
 Changes the local coordinate system of the surface.
void Transform (const gp_Trsf &T)
gp_Torus Transformed (const gp_Trsf &T) const
 Transforms a torus with the transformation T from class Trsf.
void Translate (const gp_Pnt &P1, const gp_Pnt &P2)
void Translate (const gp_Vec &V)
gp_Torus Translated (const gp_Pnt &P1, const gp_Pnt &P2) const
 Translates a torus from the point P1 to the point P2.
gp_Torus Translated (const gp_Vec &V) const
void UReverse ()
Standard_Real Volume () const
 Computes the volume of the torus.
Standard_EXPORT void VReverse ()
gp_Ax1 XAxis () const
 returns the axis X of the torus.

gp_Ax1 YAxis () const
 returns the axis Y of the torus.

Private Attributes

Standard_Real majorRadius
Standard_Real minorRadius
gp_Ax3 pos


Standard_EXPORT friend
Handle_Standard_Type & 
gp_Torus_Type_ ()

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index