GeTorus.h
This class represents toroidal segments.
The torus is surface generated by revolving a circular arc about an axis of symmetry, where the plane of the circular arc contains the axis of symmetry
The torus is located in space by its center, which is a point on the axis of symmetry.
The center of the circular arc is at a distance of majorRadius from the center of the torus. The radius of the circular arc is the minorRadius.
Parameter U parameterizes the circular tube, which for a closed circle defaults to the range [-OdaPI, OdaPI). Applying the right hand rule along the (axisOfSymmetry X refAxis) defines the increasing direction for U.
Parameter V is the longitude (about the axis of symmetry), which for a closed torus defaults to the range [-OdaPI, OdaPI). Zero corresponds to the refAxis (which is a vector orthogonal to the axis of symmetry). Applying the right hand rule along the symmetric axis defines the increasing direction for V. However, if isReverseV() is true, the increasing direction for V is defined by the left hand rule.
The torus is periodic in U, V with a period of Oda2PI. [umin, umax] x [vmin, vmax] defines a four sided toroidal patch bounded by four circular arcs. Following constraints apply to the definition of a toroidal patch.
Corresponding C++ library: TD_Ge
|
Name |
Description |
|
This is the overview for the OdGeTorus constructor overload. |
|
Name |
Description |
|
Returns the axis of symmetry (rotation) of this torus. | |
|
Returns the center of this torus. | |
|
Retrieves the start and end angles about the axis of symmetry. | |
|
Retrieves the start and end angles about the tube. | |
|
Checks if the torus intersects with the specified line entity, and returns the number of intersections and the points of intersection. | |
|
Checks if (0 < majorRadius < |minorRadius| - OdGeContext::gTol.equalVector()), creating a solid with dimples at the axis of symmetry. | |
|
Checks if torus is not Doughnut. | |
|
Checks if (majorRadius >= |minorRadius| - OdGeContext::gTol.equalVector()), creating a solid with a hole in the middle. | |
|
Checks if the minor radius of the torus is less than zero. | |
|
Checks if (majorRadius <= 0), producing a solid with points along the axis of symmetry. | |
|
Checks if the normal to this surface is pointing outward. | |
|
Checks whether V parameter increases in clockwise direction around axisOfSymmetry. | |
|
Checks if (|majorRadius - |minorRadius|| < OdGeContext::gTol.equalVector()), producing a doughnut. with a zero-radius hole. | |
|
Returns the major radius of this torus. | |
|
Returns the minor radius of this torus. | |
|
Returns the reference axis of this torus. | |
|
This is the overview for the set method overload. | |
|
Sets the start and end angles about about the axis of symmetry. | |
|
Sets the start and end angles about about the tube. | |
|
Sets the major radius of this torus. | |
|
Sets the minor radius of this torus. | |
|
Specifies whether the V parameter should be measured clockwise around axisOfSymmetry, rather than counterclockwise. |
|
Name |
Description |
|
Assignment operator for the OdGeTorus object. |
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|