Standard_Boolean& enlargeVfirst,
Standard_Boolean& enlargeVlast);
+ //! Returns True if The Surface of <NF> has changed.
//! if <ChangeGeom> is TRUE , the surface can be
//! changed .
//! if <UpdatePCurve> is TRUE, update the pcurves of the
- //! edges of <F> on the new surface.if the surface has been changed,
- //! Returns True if The Surface of <NF> has changed.
- //! <ExtensionMode> is a mode of extension of the surface of the face:
- //! if <ExtensionMode> equals 1, potentially infinite surfaces are extended by maximum value,
+ //! edges of <F> on the new surface if the surface has been changed.
+ //! <enlargeU>, <enlargeVfirst>, <enlargeVlast> allow or forbid
+ //! enlargement in U and V directions correspondingly.
+ //! <theExtensionMode> is a mode of extension of the surface of the face:
+ //! if <theExtensionMode> equals 1, potentially infinite surfaces are extended by maximum value,
//! and limited surfaces are extended by 25%.
- //! if <ExtensionMode> equals 2, potentially infinite surfaces are extended by
+ //! if <theExtensionMode> equals 2, potentially infinite surfaces are extended by
//! 10*(correspondent size of face),
//! and limited surfaces are extended by 100%.
+ //! <theLenBeforeUfirst>, <theLenAfterUlast>, <theLenBeforeVfirst>, <theLenAfterVlast>
+ //! set the values of enlargement on correspondent directions.
+ //! If some of them equals -1, the default value of enlargement is used.
Standard_EXPORT static Standard_Boolean EnLargeFace (const TopoDS_Face& F,
TopoDS_Face& NF,
const Standard_Boolean ChangeGeom,
const Standard_Boolean enlargeU = Standard_True,
const Standard_Boolean enlargeVfirst = Standard_True,
const Standard_Boolean enlargeVlast = Standard_True,
- const Standard_Integer ExtensionMode = 1);
+ const Standard_Integer theExtensionMode = 1,
+ const Standard_Real theLenBeforeUfirst = -1.,
+ const Standard_Real theLenAfterUlast = -1.,
+ const Standard_Real theLenBeforeVfirst = -1.,
+ const Standard_Real theLenAfterVlast = -1.);
Standard_EXPORT static void ExtentFace (const TopoDS_Face& F,
TopTools_DataMapOfShapeShape& ConstShapes,