CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdGiDeviation Class Referenceabstract

#include <GiDeviation.h>

Inheritance diagram for OdGiDeviation:
OdGiBaseVectorizer OdGiBaseVectorizerImpl OdGiExtCalc OdGsBaseVectorizer OdGsBaseVectorizeViewJoin< OdGsBaseVectorizer > OdGsBaseMaterialVectorizer OdGsBaseVectorizeViewJoinMT< OdGsBaseVectorizer > OdGsBaseVectorizeViewDef OdGsBaseMaterialViewPC OdGsBaseVectorizeViewMT OdGsBaseVectorizeViewJoin< OdGsBaseMaterialViewPC > OdGsBaseVectorizeViewJoinMT< OdGsBaseMaterialViewPC > OdGsBaseMaterialView OdGsBaseMaterialViewMT

Public Member Functions

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

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.

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.
Remarks
deviationType must be one of the following:

Value kOdGiMaxDevForCircle 0
kOdGiMaxDevForCurve 1
kOdGiMaxDevForBoundary 2
kOdGiMaxDevForIsoline 3 kOdGiMaxDevForFacet 4

Implemented in OdGiBaseVectorizerImpl, and OdGiBaseVectorizer.


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