CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdGiDeviation Class Referenceabstract

#include <GiDeviation.h>

Inheritance diagram for OdGiDeviation:
OdGiBaseVectorizer AECGe::Harvester OdGiBaseVectorizerImpl OdGiExtCalc AECGe::HarvesterOverall OdGsBaseVectorizer OdGsBaseVectorizeViewJoin< OdGsBaseVectorizer > OdGsBaseMaterialVectorizer OdGsBaseVectorizeViewDef OdGsBaseMaterialViewPC OdGsBaseVectorizeViewJoin< OdGsBaseMaterialViewPC > OdGsBaseMaterialView

Public Member Functions

virtual double deviation (const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const =0
 
virtual ~OdGiDeviation ()
 

Detailed Description

This class implements an interface that returns the deviation values used for anisotropic space (perspective view).

Corresponding C++ library: TD_Gi

<group OdGi_Classes>

Definition at line 43 of file GiDeviation.h.

Constructor & Destructor Documentation

◆ ~OdGiDeviation()

virtual OdGiDeviation::~OdGiDeviation ( )
inlinevirtual

Definition at line 71 of file GiDeviation.h.

Member Function Documentation

◆ deviation()

virtual double OdGiDeviation::deviation ( const OdGiDeviationType  deviationType,
const OdGePoint3d pointOnCurve 
) const
pure virtual

Returns the recommended maximum deviation of the current vectorization, for the specified point on the curve or surface being tesselated.

See also
OdGiGeometrySimplifier::setDeviation
Parameters
deviationType[in] Deviation type.
pointOnCurve[in] Point on the curve.
Returns
recommended maximum deviation of the current vectorization as double value.
Remarks
deviationType must be one of the following:

Value kOdGiMaxDevForCircle 0
kOdGiMaxDevForCurve 1
kOdGiMaxDevForBoundary 2
kOdGiMaxDevForIsoline 3 kOdGiMaxDevForFacet 4

Implemented in OdGiBaseVectorizer, OdGiBaseVectorizerImpl, and OdGsBaseVectorizer.


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