DG Kernel Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > API Reference > Model > Entities > Geometry > BSpline BRep Geometry > Advanced Algorithms > IBRepFillet_DG Search Documentation


IBRepFillet_DG Interface

BuildAll
Init
SetParams
SetContinuity
Add
Add1
Add2
Add3
Build

Modifies a shape by adding fillets for the specified edges. IBRepFillet_DG can be obtained using IObjectGenerator_DG:

IModel_DG > IObjectGenerator_DG > Create("IBRepFillet_DG") > IUnknown > IBRepFillet_DG

iBrepFillet.BuildAll(iBRepSolid, 20.0, 0);

Or:

iBrepFillet.Init(iBRepSolid, 0);
iBrepFillet.Add(20.0, iBRepEdge0);
iBrepFillet.Add(10.0, iBRepEdge1);
iBrepFillet.Build();


IBRepShape_DG BuildAll(IBRepShape_DG shape, double radius, int Rational0_Angular1_Polinomial2)

Builds fillets for all edges in the shape. No need to call any other methods.


void Init(IBRepShape_DG shape, int Rational0_Angular1_Polinomial2)

Initialised the algorithm by attaching the shape on which operation to be performed and defining the algorithm to be used.
Options for the algorithm type: 0-Rational, 1 - Angular, 2 - Polinomial.

After this call, use either BuildAll() or Add*() and Build(), with possibly setting other parameters in between.


void SetParams(double tolerAngular, double toler3D, double toler2D, double tolerApproximation3D, double tolerApproximation2D, double fleche)


void SetContinuity(Continuity_DG internalContinuity, double toleranceAngular)


void Add(IBRepEdge_DG edge)


void Add1(double radius, IBRepEdge_DG edge)


void Add2(double radius0, double radius1, IBRepEdge_DG edge)


void Add3(I2DPointArray_DG UandR, IBRepEdge_DG edge)

UandR specifies a tabulated variable profile of radius along the edge. It is expected to contain pairs (t, R), where t is a ratio along the edge in range [0,1] and R is the radius at the point.


IBRepShape_DG Build()