Library | File

Class pfcTorusDescriptor

# include <pfcGeometry.h>

class pfcTorusDescriptor
 : public virtual pfcTransformedSurfaceDescriptor
{
    xdeclare(pfcTorusDescriptor)
    ...
};
This is a COMPACT class.



Description

A data object representing the geometry of a surface with a toroidal shape.
Manual References:
Overview of Creo Object TOOLKIT C++: Casting of Creo Object TOOLKIT C++ pfc Classes to wfc Classes
Direct Known Subclasses:
wfcWTorusDescriptor



Method Summary

static pfcTorusDescriptor_ptrCreate (pfcSurfaceExtents_ptr Extents, pfcSurfaceOrientation Orientation, pfcTransform3D_ptr Origin, xreal Radius1, xreal Radius2)
This method creates a new TorusDescriptor object.
xrealGetRadius1 ()
voidSetRadius1 (xreal value)
The distance from the center of the generating arc to the axis of revolution
xrealGetRadius2 ()
voidSetRadius2 (xreal value)
The radius of the generating arc


Methods Inherited from Class pfcSurfaceDescriptor:

GetSurfaceType, GetExtents, SetExtents, GetOrientation, SetOrientation


Methods Inherited from Class pfcTransformedSurfaceDescriptor:

GetCoordSys, SetCoordSys



Method Detail

xrealGetRadius1 ()
voidSetRadius1 (xreal value)

The distance from the center of the generating arc to the axis of revolution




xrealGetRadius2 ()
voidSetRadius2 (xreal value)

The radius of the generating arc




static pfcTorusDescriptor_ptrCreate (pfcSurfaceExtents_ptr Extents, pfcSurfaceOrientation Orientation, pfcTransform3D_ptr Origin, xreal Radius1, xreal Radius2)

This method creates a new TorusDescriptor object.
Parameters:
Extents
The surface extents
Orientation
The surface orientation
Origin
The coordinate system of the surface
Radius1
The distance from the center of the generating arc to the axis of revolution
Radius2
The radius of the generating arc
Returns:
The new TorusDescriptor object