X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FAIS%2FAIS_Circle.cdl;h=dbb3e7eab891338633895971a69713458e130b5c;hp=2d5798d6877af00f323d26dac4d51c8bdb3ca508;hb=9e8804b6db64644de55f29ea3209be28abe3cafe;hpb=b311480ed597aed47b7bfbf01ddcebb41202bd53;ds=sidebyside diff --git a/src/AIS/AIS_Circle.cdl b/src/AIS/AIS_Circle.cdl index 2d5798d687..dbb3e7eab8 100755 --- a/src/AIS/AIS_Circle.cdl +++ b/src/AIS/AIS_Circle.cdl @@ -36,8 +36,6 @@ uses Selection from SelectMgr, Projector from Prs3d, Transformation from Geom, - PresentationManager2d from PrsMgr, - GraphicObject from Graphic2d, Line from AIS, KindOfInteractive from AIS @@ -47,15 +45,15 @@ is returns mutable Circle from AIS; ---Purpose: Initializes this algorithm for constructing AIS circle -- datums initializes the circle aCircle - Create(aCircle : Circle from Geom; - aUStart : Real from Standard; - aUEnd : Real from Standard; - aSens : Boolean from Standard = Standard_True) + Create(theCircle : Circle from Geom; + theUStart : Real from Standard; + theUEnd : Real from Standard; + theIsFilledCircleSens : Boolean from Standard = Standard_False) returns mutable Circle from AIS; - ---Purpose: Initializes this algorithm for constructing AIS circle datums. - -- Initializes the circle aCircle, the arc - -- starting point UStart, the arc ending point UEnd, - -- and the direction aSens. + ---Purpose: Initializes this algorithm for constructing AIS circle datums. + -- Initializes the circle theCircle, the arc + -- starting point theUStart, the arc ending point theUEnd, + -- and the type of sensitivity theIsFilledCircleSens. Compute(me : mutable; aPresentationManager: PresentationManager3d from PrsMgr; @@ -68,12 +66,6 @@ is aPresentation: mutable Presentation from Prs3d) is redefined static private; - Compute(me:mutable; - aPresentationManager: PresentationManager2d from PrsMgr; - aPresentation: mutable GraphicObject from Graphic2d; - aMode: Integer from Standard = 0) - is redefined static private; - Compute(me : mutable; aProjector : Projector from Prs3d; aTrsf : Transformation from Geom; @@ -144,6 +136,15 @@ is is redefined static; ---Purpose: Removes width settings from the solid line boundary of the circle datum. + IsFilledCircleSens (me) returns Boolean from Standard; + ---C++: inline + ---Purpose: Returns the type of sensitivity for the circle; + + SetFilledCircleSens (me: mutable; + theIsFilledCircleSens : Boolean from Standard); + ---C++: inline + ---Purpose: Sets the type of sensitivity for the circle. If theIsFilledCircleSens set to Standard_True + -- then the whole circle will be detectable, otherwise only the boundary of the circle. ComputeCircle(me: mutable; aPresentation : mutable Presentation from Prs3d) @@ -167,6 +168,6 @@ fields myUStart : Real from Standard; myUEnd : Real from Standard; myCircleIsArc : Boolean from Standard; - mySens : Boolean from Standard; + myIsFilledCircleSens : Boolean from Standard; end Circle ;