0023881: BRepAlgoAPI_Section HasAncestorFaceOn1 returned False on the boundary(6.6.0 beta).

The methods HasAncestorFaceOn1() and HasAncestorFaceOn1() return true only in the case when their first argument is the new edge built from intersection curve and not an existing common edge.
PCurveOn1() and PCurveOn2() have been removed.
Methods PCurveOn1() and PCurveOn2() removed from BRepAlgo_Section class.
Added test case bugs/modalg_5/bug23881
This commit is contained in:
emv
2013-04-15 18:19:01 +04:00
parent 275e812f4a
commit 7a9d451a98
5 changed files with 34 additions and 174 deletions

View File

@@ -308,31 +308,6 @@ is
-- Boolean value before using the ancestor face: F is significant
-- only if the returned Boolean value equals true.
PCurveOn1(me; E : Shape from TopoDS)
returns Curve from Geom2d;
---Level: Public
---Purpose: returns the PCurve connected to section edge <E>
-- and lying on first part of Section.
-- N.B : PCurve on first part is computed only if Section is performed
-- after setting ComputePCurveOn1(Standard_True).
PCurveOn2(me; E : Shape from TopoDS)
returns Curve from Geom2d;
---Level: Public
---Purpose: returns the PCurve connected to section edge <E>
-- and lying on second part of Section.
-- N.B : PCurve on second part is computed only if Section is performed
-- after setting ComputePCurveOn2(Standard_True).
-- Warning No pcurve is attached to an elementary edge of the
-- resulting section, and the function returns a null
-- handle, unless the function ComputePCurveOn1 or
-- ComputePCurveOn2 was previously used to define
-- this sort of option of computation.
-- - A null handle is also returned if the edge E does
-- not belong to the last computed intersection, that
-- is, if it is not one of the elementary edges of the
-- compound object returned by the function Shape.
InitParameters(me: out)
---Level: Private
is private;