MantisBT - Community
View Issue Details
0022560Community[OCCT] OCCT:Modeling Algorithmspublic2011-06-01 13:542021-07-06 12:31
szy 
szy 
normalfeature 
feedbackreopened 
All
 
 
0022560: Extrema redesign
RLN_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
No tags attached.
related to 0026269verified bugmaster Open CASCADE Modeling Data - Analytical extrema does not take into account trimmed input data 
Issue History
2011-08-02 11:31bugmasterCategoryOCCT:MOA => OCCT:Modeling Algorithms
2011-10-31 16:25szyResolutionsuspended => reopened
2011-10-31 16:25szyFixed in VersionEMPTY =>
2011-10-31 16:25szyDescription Updatedbug_revision_view_page.php?rev_id=729#r729
2011-10-31 16:26szyAssigned Tobugmaster => jgv
2011-10-31 16:26szyStatusacknowledged => assigned
2011-11-25 14:36szyDescription Updatedbug_revision_view_page.php?rev_id=1095#r1095
2016-07-07 07:04amlRelationship addedrelated to 0026269
2021-07-06 10:42ifvAssigned Tojgv => ifv
2021-07-06 12:31ifvNote Added: 0102300
2021-07-06 12:31ifvAssigned Toifv => szy
2021-07-06 12:31ifvStatusassigned => feedback

Notes
(0102300)
ifv   
2021-07-06 12:31   
Branch:
Branch ==> OCC22560_ExtremaOptimizations
seems to be absent?