CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
FacetModeler::FMGeGbl Struct Reference

#include <FMGeometry.h>

Static Public Member Functions

static FMGEOMETRY_API_STATIC OdUInt16 GetSegmentCount (double dAngle, double dRadius, const DeviationParams &devDeviation)
 
static FaceOrientation PlaneOrientation (const OdGeVector3d &normal)
 
static FMGEOMETRY_API_STATIC FaceOrientation GetReversedOrientation (FaceOrientation eOri)
 

Static Public Attributes

static FMGEOMETRY_API_STATIC DeviationParams gDefDev
 
static FMGEOMETRY_API_STATIC OdGeTol gTol
 

Detailed Description

Represents the Facet Modeler global object and methods.

Definition at line 151 of file FMGeometry.h.

Member Function Documentation

◆ GetReversedOrientation()

static FMGEOMETRY_API_STATIC FaceOrientation FacetModeler::FMGeGbl::GetReversedOrientation ( FaceOrientation  eOri)
static

Inverts the specified orientation.

Parameters
eOri[in] Orientation to invert.
Returns
Inverted orientation as FaceOrientation.

◆ GetSegmentCount()

static FMGEOMETRY_API_STATIC OdUInt16 FacetModeler::FMGeGbl::GetSegmentCount ( double  dAngle,
double  dRadius,
const DeviationParams devDeviation 
)
static

Returns the number of linear segments for an exploded arc, specified by a sweep angle and radius.

Parameters
dAngle[in] Sweep angle.
dRadius[in] Circle radius.
devDeviation[in] Deviation parameters.
Returns
The number of linear segments as OdUInt16.

◆ PlaneOrientation()

FaceOrientation FacetModeler::FMGeGbl::PlaneOrientation ( const OdGeVector3d normal)
inlinestatic

Returns a plane orientation by the specified plane normal.

Parameters
normal[in] Plane normal.
Returns
Plane orientation as FaceOrientation.

Definition at line 202 of file FMGeometry.h.

Member Data Documentation

◆ gDefDev

FMGEOMETRY_API_STATIC DeviationParams FacetModeler::FMGeGbl::gDefDev
static

Default deviation parameters.

Remarks
By default the deviation is 0.5, maximum facets per full circle is 128, and minimum facets per full circle is 8.

Definition at line 161 of file FMGeometry.h.

◆ gTol

FMGEOMETRY_API_STATIC OdGeTol FacetModeler::FMGeGbl::gTol
static

Tolerance used in mesh operations.

Remarks
The default value for the tolerance is 1E-6.

Definition at line 169 of file FMGeometry.h.


The documentation for this struct was generated from the following file: