BiTgte
OCCT package BiTgte: BiTgte_Blend, BiTgte_ContactType, BiTgte_CurveOnEdge, BiTgte_CurveOnVertex.
BiTgte_Blend
Root class.
Constructors(2)
- constructor(S: TopoDS_Shape, Radius: number, Tol: number, NUBS: boolean): BiTgte_Blend
: Shape to be rounded <Radius>: radius of the fillet <Tol>: Tol3d used in approximations <NUBS>: if true, generate only NUBS surfaces, if false, generate analytical surfaces if possible
Parameters (4)SRadiusTolNUBS
Instance methods(26)
- Init(S: TopoDS_Shape, Radius: number, Tol: number, NUBS: boolean): voidParameters (4)
SRadiusTolNUBS
- Clear(): void
Clear all the Fields.
- SetFaces(F1: TopoDS_Face, F2: TopoDS_Face): void
Set two faces of <myShape> on which the Sphere must roll.
Parameters (2)F1F2
- SetEdge(Edge: TopoDS_Edge): void
Set an edge of <myShape> to be rounded.
Parameters (1)Edge
- SetStoppingFace(Face: TopoDS_Face): void
Set a face on which the fillet must stop.
Parameters (1)Face
- Perform(BuildShape?: boolean): void
Compute the generated surfaces. If <BuildShape> is true, compute the resulting Shape. If false, only the blending surfaces are computed.
Parameters (1)BuildShape
- IsDone(): boolean
returns the result
- NbSurfaces(): number
returns the Number of generated surfaces.
- Surface(Index: number): Geom_Surface
returns the surface of range Index
Parameters (1)Index
- Surface(CenterLine: TopoDS_Shape): Geom_Surface
returns the surface generated by the centerline. <CenterLine> may be
- an edge : generate a pipe.
- a vertex : generate a sphere. Warning: returns a Null Handle if <CenterLine> generates no surface.
Parameters (1)CenterLine
- Face(Index: number): TopoDS_Face
returns the surface of range Index
Parameters (1)Index
- Face(CenterLine: TopoDS_Shape): TopoDS_Face
returns the face generated by the centerline. <CenterLine> may be
- an edge : generate a pipe.
- a vertex : generate a sphere. Warning: returns a Null Shape if <CenterLine> generates no surface.
Parameters (1)CenterLine
- CenterLines(LC: NCollection_List_TopoDS_Shape): void
set in <LC> all the center lines
Parameters (1)LC—Mutated in place; read the updated value from this argument after the call.
- ContactType(Index: number): BiTgte_ContactType
returns the type of contact
Parameters (1)Index
- SupportShape1(Index: number): TopoDS_Shape
gives the first support shape relative to SurfaceFillet(Index);
Parameters (1)Index
- SupportShape2(Index: number): TopoDS_Shape
gives the second support shape relative to SurfaceFillet(Index);
Parameters (1)Index
- CurveOnShape1(Index: number): Geom_Curve
gives the 3d curve of SurfaceFillet(Index) on SupportShape1(Index)
Parameters (1)Index
- CurveOnShape2(Index: number): Geom_Curve
gives the 3d curve of SurfaceFillet(Index) on SupportShape2(Index)
Parameters (1)Index
- PCurveOnFace1(Index: number): Geom2d_Curve
gives the PCurve associated to CurvOnShape1(Index) on the support face Warning: returns a Null Handle if SupportShape1 is not a Face
Parameters (1)Index
- PCurve1OnFillet(Index: number): Geom2d_Curve
gives the PCurve associated to CurveOnShape1(Index) on the Fillet
Parameters (1)Index
- PCurveOnFace2(Index: number): Geom2d_Curve
gives the PCurve associated to CurveOnShape2(Index) on the support face Warning: returns a Null Handle if SupportShape2 is not a Face
Parameters (1)Index
- PCurve2OnFillet(Index: number): Geom2d_Curve
gives the PCurve associated to CurveOnShape2(Index) on the fillet
Parameters (1)Index
- NbBranches(): number
- IndicesOfBranche(Index: number, From: number, To: number): { From: number; To: number }
Set in <From>,<To> the indices of the faces of the branche <Index>.
i.e: Branche<Index> = Face(From) + Face(From+1) + ..+ Face(To)Parameters (3)IndexFromTo
ReturnsA result object with fields:
From: updated value from the call.To: updated value from the call.
- ComputeCenters(): void
Computes the center lines.
BiTgte_ContactType
Properties(6)
BiTgte_CurveOnEdge
private class used to create a filler rolling on an edge.
Constructors(2)
- constructor(EonF: TopoDS_Edge, Edge: TopoDS_Edge): BiTgte_CurveOnEdgeParameters (2)
EonFEdge
Static methods(2)
- get_type_name(): string
Instance methods(30)
Shallow copy of adaptor.
- Init(EonF: TopoDS_Edge, Edge: TopoDS_Edge): voidParameters (2)
EonFEdge
- FirstParameter(): number
- LastParameter(): number
- NbIntervals(S: GeomAbs_Shape): number
Returns the number of intervals for continuity . May be one if Continuity(me) >= .
Parameters (1)S
- Intervals(T: NCollection_Array1_double, S: GeomAbs_Shape): void
Stores in <T> the parameters bounding the intervals of continuity .
The array must provide enough room to accommodate for the parameters. i.e. T.Length() >NbIntervals()Parameters (2)T—Mutated in place; read the updated value from this argument after the call.S
- Trim(First: number, Last: number, Tol: number): Adaptor3d_Curve
Returns a curve equivalent of <me> between parameters <First> and <Last>. <Tol> is used to test for 3d points confusion. If <First> >= <Last>.
Parameters (3)FirstLastTol
- IsClosed(): boolean
- IsPeriodic(): boolean
- Period(): number
Computes the point of parameter theU on the curve.
Parameters (1)theU
- EvalD1(theU: number): Geom_Curve_ResD1
Computes the point and first derivative at parameter theU.
Parameters (1)theU
- EvalD2(theU: number): Geom_Curve_ResD2
Computes the point and first two derivatives at parameter theU.
Parameters (1)theU
- EvalD3(theU: number): Geom_Curve_ResD3
Computes the point and first three derivatives at parameter theU.
Parameters (1)theU
Returns the derivative of order theN at parameter theU.
Parameters (2)theUtheN
- Resolution(R3d: number): number
Returns the parametric resolution corresponding to the real space resolution <R3d>.
Parameters (1)R3d
Returns the type of the curve in the current interval: Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
- Degree(): number
- IsRational(): boolean
- NbPoles(): number
- NbKnots(): number
BiTgte_CurveOnVertex
private class used to create a filler rolling on an edge.
Constructors(2)
- constructor(EonF: TopoDS_Edge, V: TopoDS_Vertex): BiTgte_CurveOnVertexParameters (2)
EonFV
Static methods(2)
- get_type_name(): string
Instance methods(29)
- Init(EonF: TopoDS_Edge, V: TopoDS_Vertex): voidParameters (2)
EonFV
- FirstParameter(): number
- LastParameter(): number
- NbIntervals(S: GeomAbs_Shape): number
Returns the number of intervals for continuity . May be one if Continuity(me) >= .
Parameters (1)S
- Intervals(T: NCollection_Array1_double, S: GeomAbs_Shape): void
Stores in <T> the parameters bounding the intervals of continuity .
The array must provide enough room to accommodate for the parameters. i.e. T.Length() >NbIntervals()Parameters (2)T—Mutated in place; read the updated value from this argument after the call.S
- Trim(First: number, Last: number, Tol: number): Adaptor3d_Curve
Returns a curve equivalent of <me> between parameters <First> and <Last>. <Tol> is used to test for 3d points confusion. If <First> >= <Last>.
Parameters (3)FirstLastTol
- IsClosed(): boolean
- IsPeriodic(): boolean
- Period(): number
Computes the point of parameter theU on the curve.
Parameters (1)theU
- EvalD1(theU: number): Geom_Curve_ResD1
Computes the point and first derivative at parameter theU.
Parameters (1)theU
- EvalD2(theU: number): Geom_Curve_ResD2
Computes the point and first two derivatives at parameter theU.
Parameters (1)theU
- EvalD3(theU: number): Geom_Curve_ResD3
Computes the point and first three derivatives at parameter theU.
Parameters (1)theU
Returns the derivative of order theN at parameter theU.
Parameters (2)theUtheN
- Resolution(R3d: number): number
Returns the parametric resolution corresponding to the real space resolution <R3d>.
Parameters (1)R3d
Returns the type of the curve in the current interval: Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
- Degree(): number
- IsRational(): boolean
- NbPoles(): number
- NbKnots(): number