View Issue Details

IDProjectCategoryView StatusLast Update
0022560CommunityOCCT:Modeling Algorithmspublic2021-11-15 15:17
Reporterszy Assigned Tobugmaster  
PrioritynormalSeverityfeature 
Status closedResolutionwon't fix 
OSAll 
Target VersionUnscheduled 
Summary0022560: Extrema redesign
DescriptionRLN_contribution.
Detailed description of fix 210:
    - Temporary modification: GeometryTest
fix210.0:
    - IntTools_BeanBeanIntersector:
        ComputeUsingExtrema() - take one of two GeomAdaptors out of cycle as it does
not change
    - Extrema
        - SquareDistance. Check TrimmedSqDistances !! Search Distance(), Magnitude()
inside Extrema
        - Point return const& and update callers (may add private copy constructor and
operator= to ensure update of all callers)
        - Loading and deferred perform
        - caching point calculation
        - Raise_if instead of ::Raise()
    - Updated callers: gce_MakeCirc, GC_MakeArcOfCircle, etc
fix210.1:
    - Extrema:
        - Replacement of all internal calculations with SquareDistance
fix210.2:
    - IntTools:
        - create adaptor only when needed but still once per UsingExtrema() call
fix210.3:
    - Extrema:
        - ExtCC, _GenExtCC, _GExtCC:
            - deferred perform, independent loading of curve, caching of points, etc
            - simplified code of GExtCC::Perform()
fix210.4:
    - Extrema:
        - _CurveCache and switching _GExtCC and _GenExtCC to its using for maximum
reuse of calculations
fix210.5:
    - Extrema:
        - cache of myDu and myDv in FuncExtCC

    - TODO (if needed):
        rename into SquareDistance() and LowerSquareDistance(), this may require
further updates downstream and update of documentation
        Geom2dAPI_*,
        GeomAPI_*,
        GeomFill_SectionPlacement
        BRepExtrema_DistShapeShape

=========================================
szy:
1. Extrema_FuncExtCC.cdl: added new fields - myDu, myDv
2. Extrema_FuncExtCC.gxx: replaced old fields by new fields of the class

Branch ==> OCC22560_ExtremaOptimizations
TagsNo tags attached.
Test case number

Relationships

related to 0026269 closedbugmaster Open CASCADE Modeling Data - Analytical extrema does not take into account trimmed input data 

Activities

ifv

2021-07-06 12:31

developer   ~0102300

Branch:
Branch ==> OCC22560_ExtremaOptimizations
seems to be absent?

szy

2021-11-15 15:17

manager   ~0105197

The mentioned branch OCC22560_ExtremaOptimizations seems lost.
Not feasible to analyze.

Issue History

Date Modified Username Field Change
2011-08-02 11:31 bugmaster Category OCCT:MOA => OCCT:Modeling Algorithms
2011-10-31 16:25 szy Resolution suspended => reopened
2011-10-31 16:25 szy Fixed in Version EMPTY =>
2011-10-31 16:25 szy Description Updated
2011-10-31 16:26 szy Assigned To bugmaster => jgv
2011-10-31 16:26 szy Status acknowledged => assigned
2011-11-25 14:36 szy Description Updated
2016-07-07 07:04 aml Relationship added related to 0026269
2021-07-06 10:42 ifv Assigned To jgv => ifv
2021-07-06 12:31 ifv Note Added: 0102300
2021-07-06 12:31 ifv Assigned To ifv => szy
2021-07-06 12:31 ifv Status assigned => feedback
2021-10-27 12:21 szy Target Version => Unscheduled
2021-11-15 15:17 szy Note Added: 0105197
2021-11-15 15:17 szy Status feedback => closed
2021-11-15 15:17 szy Resolution reopened => won't fix
2021-11-15 15:17 szy Assigned To szy => bugmaster