View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008169 | Open CASCADE | OCCT:Modeling Algorithms | public | 2005-02-11 14:44 | 2012-01-16 16:15 |
Reporter | Assigned To | ||||
Priority | normal | Severity | trivial | ||
Status | closed | Resolution | fixed | ||
OS | Windows NT | ||||
Fixed in Version | 5.2.3 | ||||
Summary | 0008169: Wrong Geom2dAPI_InterCurveCurve segment | ||||
Description | Intersection between the two attached edges' curves ("1.brep" and "2.brep") gives a segment with first and last points. In these points distance between two curves is much more than the given tolerance. Example of the code: Standard_Real aP1first, aP1last; Handle(Geom_Curve) aCurve1 = BRep_Tool::Curve(theEdge1, aP1first, aP1last); Handle(Geom_Curve) aCurve2 = BRep_Tool::Curve(theEdge2, aP2first, aP2last); Handle(Geom2d_Curve) aCurve2d1 = GeomProjLib::Curve2d(aCurve1, aP1first, aP1last, thePlane); Handle(Geom2d_Curve) aCurve2d2 = GeomProjLib::Curve2d(aCurve2, aP2first, aP2last, thePlane); Geom2dAPI_InterCurveCurve anInter(aCurve2d1, aCurve2d2, Precision::Confusion()); IntRes2d_IntersectionSegment aSegment = anInter.Intersector().Segment(1); gp_Pnt2d aP1 = aCurve2d1->Value(aSegment.FirstPoint().ParamOnFirst()); gp_Pnt2d aP2 = aCurve2d2->Value(aSegment.FirstPoint().ParamOnSecond()); Standard_Real aDist = aP1.Distance(aP2); Where theEdge1 and theEdge2 are stored in the "1.brep" and "2.brep" files, thePlane has next parameters: axis loc(0; 0; 500) vdir(0; 0; 1) vydir(0; 1; 0) vxdir(1; 0; 0) Result distance: aDist = 0.0031472179553542 > Precision::Confusion() ! | ||||
Additional information and documentation updates | Documentation remark, added by SKV 2005-03-22 08:00:11: New features: Not required | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2005-02-14 10:17 | bugmaster | Assigned To | bugmaster => mkk |
2005-02-14 10:17 | bugmaster | Status | new => assigned |
2005-02-16 15:35 |
|
Assigned To | mkk => skv |
2005-03-01 13:28 |
|
Status | assigned => resolved |
2005-03-02 19:21 |
|
CC | => apv, aki |
2005-03-11 17:50 |
|
Status | resolved => assigned |
2005-03-15 10:21 |
|
Status | assigned => resolved |
2005-03-16 09:13 | bugmaster | Status | resolved => tested |
2005-03-25 08:54 | bugmaster | Status | tested => verified |
2005-05-06 15:26 | bugmaster | Status | verified => closed |
2005-05-06 15:26 | bugmaster | Resolution | @0@ => fixed |
2011-08-02 11:31 | bugmaster | Category | OCCT:MOA => OCCT:Modeling Algorithms |
2012-01-16 16:15 |
|
Description Updated | |
2012-01-16 16:15 |
|
Additional Information Updated |