Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030365Open CASCADE[OCCT] OCCT:Modeling Algorithmspublic2018-11-12 16:482018-12-04 10:08
Assigned Tomsv 
PrioritynormalSeverityintegration request 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0030365: Create tool to compute deviation between any 2D-curve and some its segment
DescriptionSee the message 0029203:0071647.


<< 3. Improve the algorithm of computation of deflection between discrete polygon and source curve (see method BRepTopAdaptor_FClass2d::Init()). Currently, the computed deflection is equal to the length of projection of middle-point of arc to the chord. New algorithm can be based on GCPnts_DistFunction2d class or can use simple iteration formula (obtained if we apply Newton-algorithm to GCPnts_DistFunction2d function):


where C' and C'' are 1st and 2nd derivative of the curve, obtained in the point U(n), D - direction of the segment of the polygon.

Please note that this formula is satisfied for 2D-space only. For 3D-algorithm it will look more complexly.
Steps To ReproduceAll necessary test cases have already been created and pushed to the branch.
TagsNo tags attached.
Test case number
Attached Files

- Relationships
related to 0029203feedbacknbv Ambiguous behavior of Point-Face-classification algorithms: shall it return ON-status? 
related to 0029421feedbackmsv Make face classifier algorithm stable and robust 

-  Notes
git (administrator)
2018-11-12 17:02

Branch CR30365 has been created by nbv.

SHA-1: ee7f6f2b73926ff91d2f109f8c8ad78503365f22

Detailed log of new commits:

Author: nbv
Date: Mon Nov 12 17:00:06 2018 +0300

    0030365: Create tool to compute deviation between any 2D-curve and some its segment
    The tool, DRAW-command for its check and corresponding test cases have been created.
    See documentation about new tool in GeomLib_Tool.hxx file.
nbv (developer)
2018-11-13 09:28

Dear Mikhail,

Please review CR30365 branch.

Test results: [^]
git (administrator)
2018-11-19 10:04

Branch CR30365 has been updated forcibly by nbv.

SHA-1: 426649480dc1abc50e5ec1f1ea1e2b1c43b9f83c
nbv (developer)
2018-11-19 10:43

Branch has been rebased on current MASTER.
msv (developer)
2018-12-03 16:27

- 560: incorrect usage string, does not correspond to help.
git (administrator)
2018-12-04 10:07

Branch CR30365 has been updated forcibly by nbv.

SHA-1: 2a5e819d71838ad1b3869e48400cfcd7cc6ee587
nbv (developer)
2018-12-04 10:07
edited on: 2018-12-04 10:08


The branch CR30365 has been rebased on current MASTER.

- Issue History
Date Modified Username Field Change
2018-11-12 16:48 nbv New Issue
2018-11-12 16:48 nbv Assigned To => msv
2018-11-12 16:48 nbv Assigned To msv => nbv
2018-11-12 16:48 nbv Status new => assigned
2018-11-12 16:51 nbv Severity minor => integration request
2018-11-12 16:52 nbv Relationship added related to 0029203
2018-11-12 17:02 git Note Added: 0081063
2018-11-13 09:28 nbv Note Added: 0081065
2018-11-13 09:28 nbv Assigned To nbv => msv
2018-11-13 09:28 nbv Status assigned => resolved
2018-11-13 09:28 nbv Steps to Reproduce Updated View Revisions
2018-11-19 10:04 git Note Added: 0081162
2018-11-19 10:43 nbv Note Added: 0081163
2018-11-23 12:57 nbv Relationship added related to 0029421
2018-12-03 16:27 msv Note Added: 0081366
2018-12-04 10:07 git Note Added: 0081378
2018-12-04 10:07 nbv Note Added: 0081379
2018-12-04 10:08 nbv Note Edited: 0081379 View Revisions

Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker