DiscussionsIssue archiveOCCT:Modeling Data

Archived issue #0027373

GeomConvert_ApproxSurface missing documentation for argument PrecisCode.

CommunityOCCT:Modeling Dataassigned2 public notes

Search issues

Description

GeomConvert_ApproxSurface(const Handle(Geom_Surface)& Surf, const Standard_Real Tol3d, const GeomAbs_Shape UContinuity, const GeomAbs_Shape VContinuity, const Standard_Integer MaxDegU, const Standard_Integer MaxDegV, const Standard_Integer MaxSegments, const Standard_Integer PrecisCode);

Last argument PrecisCode missing detail comment, for a user, it should not know how to make it work.

I suggest to make it as an enum values.

Public activity

2 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Do you have an idea and would you like to implement it by your own? Then welcome to produce a branch with the fix.
02Author
Dear msv,

I find the comment from the internal implementation as below:

        //! PrecisCode : Precision on approximation's error measurement
        //! 1 : Fast computation and average precision
        //! 2 : Average computation and good precision
        //! 3 : Slow computation and very good precision

It should be better to update it by OCCT team.