#include <FMMdlSurface.h>
Represents facet body conical objects.
Definition at line 485 of file FMMdlSurface.h.
◆ Cone()
Constructor. Creates a cone with the specified axis, start direction of rotation, radius of the bottom circle, radius of the top circle and approximation.
- Parameters
-
| axis | [in] Axis of the cone. |
| startDir | [in] Start direction of rotation. |
| bottomRadius | [in] Radius of the bottom circle. |
| topRadius | [in] Radius of the top circle. |
| approx | [in] Approximation. |
◆ approximation()
| OdUInt32 FacetModeler::Cone::approximation |
( |
| ) |
const |
Gets the approximation.
- Returns
- Approximation as OdUInt32.
◆ compare()
| int FacetModeler::Cone::compare |
( |
const Surface * | pOther, |
|
|
double | e ) const |
|
virtual |
Compares surfaces with the specified tolerance.
- Parameters
-
| pOther | [in] Other surface to compare with. |
| eps | [in] Comparison tolerance. |
- Returns
- 0 - if the surfaces are equal, 1 - if a parameter of this surface is greater than the corresponding parameter of another surface, -1 - otherwise.
Reimplemented from FacetModeler::Surface.
◆ copy()
Creates a copy of the surface to the specified body.
- Parameters
-
- Returns
- Pointer to the newly created surface.
Reimplemented from FacetModeler::Surface.
◆ normal()
Gets the normal at the specified vertex on the specified face.
- Parameters
-
| atV | [in] The vertex at which the normal is computed. |
| atF | [in] The face for which the normal is computed. |
- Returns
- Normal at the specified vertex on the specified face.
Reimplemented from FacetModeler::Surface.
◆ radius()
| double FacetModeler::Cone::radius |
( |
| ) |
const |
Gets the radius value.
- Returns
- Value of the radius.
◆ tanAngle()
| double FacetModeler::Cone::tanAngle |
( |
| ) |
const |
Gets the tangent angle value.
- Returns
- Value of the tangent angle.
◆ topRadius()
| double FacetModeler::Cone::topRadius |
( |
| ) |
const |
Calculates the radius value on the cone top.
- Returns
- Value of the radius.
◆ transform()
Transforms the surface with the given transformation matrix.
- Parameters
-
| x | [in] Given transformation matrix. |
Reimplemented from FacetModeler::Surface.
◆ type()
| Type FacetModeler::Cone::type |
( |
| ) |
const |
|
virtual |
◆ m_approximation
| OdUInt32 FacetModeler::Cone::m_approximation |
|
protected |
◆ m_radius
| double FacetModeler::Cone::m_radius |
|
protected |
◆ m_tanAngle
| double FacetModeler::Cone::m_tanAngle |
|
protected |
The documentation for this class was generated from the following file: