CFx SDK Documentation  2020SP3
Public Member Functions | List of all members
OdGiDeviation Class Referenceabstract

#include <GiDeviation.h>

Inheritance diagram for OdGiDeviation:
OdGiBaseVectorizer OdGiBaseVectorizerImpl OdGiExtCalc OdGsBaseVectorizer OdGsBaseMaterialVectorizer OdGsBaseVectorizeViewJoin< OdGsBaseVectorizer > OdGsBaseMaterialViewPC OdGsBaseVectorizeViewDef OdGsBaseVectorizeViewJoinMT< OdGsBaseVectorizer > OdGsBaseVectorizeViewJoin< OdGsBaseMaterialViewPC > OdGsBaseVectorizeViewMT OdGsBaseMaterialView OdGsBaseVectorizeViewJoinMT< OdGsBaseMaterialViewPC > 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: