diff --git a/packages/replicad-opencascadejs/src/replicad_no_exception.d.ts b/packages/replicad-opencascadejs/src/replicad_no_exception.d.ts deleted file mode 100644 index 40d84e9..0000000 --- a/packages/replicad-opencascadejs/src/replicad_no_exception.d.ts +++ /dev/null @@ -1,8742 +0,0 @@ -export declare class Adaptor2d_Curve2d extends Standard_Transient { - constructor(); - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - ShallowCopy(): Handle_Adaptor2d_Curve2d; - FirstParameter(): Standard_Real; - LastParameter(): Standard_Real; - Continuity(): GeomAbs_Shape; - NbIntervals(S: GeomAbs_Shape): Graphic3d_ZLayerId; - Intervals(T: IntTools_CArray1OfReal, S: GeomAbs_Shape): void; - Trim(First: Standard_Real, Last: Standard_Real, Tol: Standard_Real): Handle_Adaptor2d_Curve2d; - IsClosed(): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - Period(): Standard_Real; - Value(U: Standard_Real): gp_Pnt2d; - D0(U: Standard_Real, P: gp_Pnt2d): void; - D1(U: Standard_Real, P: gp_Pnt2d, V: gp_Vec2d): void; - D2(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d): void; - D3(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d): void; - DN(U: Standard_Real, N: Graphic3d_ZLayerId): gp_Vec2d; - Resolution(R3d: Standard_Real): Standard_Real; - GetType(): GeomAbs_CurveType; - Line(): gp_Lin2d; - Circle(): gp_Circ2d; - Ellipse(): gp_Elips2d; - Hyperbola(): gp_Hypr2d; - Parabola(): gp_Parab2d; - Degree(): Graphic3d_ZLayerId; - IsRational(): Standard_Boolean; - NbPoles(): Graphic3d_ZLayerId; - NbKnots(): Graphic3d_ZLayerId; - NbSamples(): Graphic3d_ZLayerId; - Bezier(): Handle_Geom2d_BezierCurve; - BSpline(): Handle_Geom2d_BSplineCurve; - delete(): void; -} - -export declare class Handle_Adaptor2d_Curve2d { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: Adaptor2d_Curve2d): void; - get(): Adaptor2d_Curve2d; - delete(): void; -} - - export declare class Handle_Adaptor2d_Curve2d_1 extends Handle_Adaptor2d_Curve2d { - constructor(); - } - - export declare class Handle_Adaptor2d_Curve2d_2 extends Handle_Adaptor2d_Curve2d { - constructor(thePtr: Adaptor2d_Curve2d); - } - - export declare class Handle_Adaptor2d_Curve2d_3 extends Handle_Adaptor2d_Curve2d { - constructor(theHandle: Handle_Adaptor2d_Curve2d); - } - - export declare class Handle_Adaptor2d_Curve2d_4 extends Handle_Adaptor2d_Curve2d { - constructor(theHandle: Handle_Adaptor2d_Curve2d); - } - -export declare class Adaptor3d_Curve extends Standard_Transient { - constructor(); - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - ShallowCopy(): Handle_Adaptor3d_Curve; - FirstParameter(): Standard_Real; - LastParameter(): Standard_Real; - Continuity(): GeomAbs_Shape; - NbIntervals(S: GeomAbs_Shape): Graphic3d_ZLayerId; - Intervals(T: IntTools_CArray1OfReal, S: GeomAbs_Shape): void; - Trim(First: Standard_Real, Last: Standard_Real, Tol: Standard_Real): Handle_Adaptor3d_Curve; - IsClosed(): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - Period(): Standard_Real; - Value(U: Standard_Real): gp_Pnt; - D0(U: Standard_Real, P: gp_Pnt): void; - D1(U: Standard_Real, P: gp_Pnt, V: gp_Vec): void; - D2(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec): void; - D3(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec): void; - DN(U: Standard_Real, N: Graphic3d_ZLayerId): gp_Vec; - Resolution(R3d: Standard_Real): Standard_Real; - GetType(): GeomAbs_CurveType; - Line(): gp_Lin; - Circle(): gp_Circ; - Ellipse(): gp_Elips; - Hyperbola(): gp_Hypr; - Parabola(): gp_Parab; - Degree(): Graphic3d_ZLayerId; - IsRational(): Standard_Boolean; - NbPoles(): Graphic3d_ZLayerId; - NbKnots(): Graphic3d_ZLayerId; - Bezier(): Handle_Geom_BezierCurve; - BSpline(): Handle_Geom_BSplineCurve; - OffsetCurve(): Handle_Geom_OffsetCurve; - delete(): void; -} - -export declare class Adaptor3d_Surface extends Standard_Transient { - constructor(); - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - ShallowCopy(): Handle_Adaptor3d_Surface; - FirstUParameter(): Standard_Real; - LastUParameter(): Standard_Real; - FirstVParameter(): Standard_Real; - LastVParameter(): Standard_Real; - UContinuity(): GeomAbs_Shape; - VContinuity(): GeomAbs_Shape; - NbUIntervals(S: GeomAbs_Shape): Graphic3d_ZLayerId; - NbVIntervals(S: GeomAbs_Shape): Graphic3d_ZLayerId; - UIntervals(T: IntTools_CArray1OfReal, S: GeomAbs_Shape): void; - VIntervals(T: IntTools_CArray1OfReal, S: GeomAbs_Shape): void; - UTrim(First: Standard_Real, Last: Standard_Real, Tol: Standard_Real): Handle_Adaptor3d_Surface; - VTrim(First: Standard_Real, Last: Standard_Real, Tol: Standard_Real): Handle_Adaptor3d_Surface; - IsUClosed(): Standard_Boolean; - IsVClosed(): Standard_Boolean; - IsUPeriodic(): Standard_Boolean; - UPeriod(): Standard_Real; - IsVPeriodic(): Standard_Boolean; - VPeriod(): Standard_Real; - Value(U: Standard_Real, V: Standard_Real): gp_Pnt; - D0(U: Standard_Real, V: Standard_Real, P: gp_Pnt): void; - D1(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec): void; - D2(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec): void; - D3(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec, D3U: gp_Vec, D3V: gp_Vec, D3UUV: gp_Vec, D3UVV: gp_Vec): void; - DN(U: Standard_Real, V: Standard_Real, Nu: Graphic3d_ZLayerId, Nv: Graphic3d_ZLayerId): gp_Vec; - UResolution(R3d: Standard_Real): Standard_Real; - VResolution(R3d: Standard_Real): Standard_Real; - GetType(): GeomAbs_SurfaceType; - Plane(): gp_Pln; - Cylinder(): gp_Cylinder; - Cone(): gp_Cone; - Sphere(): gp_Sphere; - Torus(): gp_Torus; - UDegree(): Graphic3d_ZLayerId; - NbUPoles(): Graphic3d_ZLayerId; - VDegree(): Graphic3d_ZLayerId; - NbVPoles(): Graphic3d_ZLayerId; - NbUKnots(): Graphic3d_ZLayerId; - NbVKnots(): Graphic3d_ZLayerId; - IsURational(): Standard_Boolean; - IsVRational(): Standard_Boolean; - Bezier(): Handle_Geom_BezierSurface; - BSpline(): Handle_Geom_BSplineSurface; - AxeOfRevolution(): gp_Ax1; - Direction(): gp_Dir; - BasisCurve(): Handle_Adaptor3d_Curve; - BasisSurface(): Handle_Adaptor3d_Surface; - OffsetValue(): Standard_Real; - delete(): void; -} - -export declare type BOPAlgo_GlueEnum = { - BOPAlgo_GlueOff: {}; - BOPAlgo_GlueShift: {}; - BOPAlgo_GlueFull: {}; -} - -export declare class BOPAlgo_Options { - Allocator(): Handle_NCollection_BaseAllocator; - Clear(): void; - AddError(theAlert: Handle_Message_Alert): void; - AddWarning(theAlert: Handle_Message_Alert): void; - HasErrors(): Standard_Boolean; - HasError(theType: Handle_Standard_Type): Standard_Boolean; - HasWarnings(): Standard_Boolean; - HasWarning(theType: Handle_Standard_Type): Standard_Boolean; - GetReport(): Handle_Message_Report; - DumpErrors(theOS: Standard_OStream): void; - DumpWarnings(theOS: Standard_OStream): void; - ClearWarnings(): void; - static GetParallelMode(): Standard_Boolean; - static SetParallelMode(theNewMode: Standard_Boolean): void; - SetRunParallel(theFlag: Standard_Boolean): void; - RunParallel(): Standard_Boolean; - SetFuzzyValue(theFuzz: Standard_Real): void; - FuzzyValue(): Standard_Real; - SetUseOBB(theUseOBB: Standard_Boolean): void; - UseOBB(): Standard_Boolean; - delete(): void; -} - - export declare class BOPAlgo_Options_1 extends BOPAlgo_Options { - constructor(); - } - - export declare class BOPAlgo_Options_2 extends BOPAlgo_Options { - constructor(theAllocator: Handle_NCollection_BaseAllocator); - } - -export declare class BRep_Tool { - constructor(); - static IsClosed_1(S: TopoDS_Shape): Standard_Boolean; - static Surface_1(F: TopoDS_Face, L: TopLoc_Location): Handle_Geom_Surface; - static Surface_2(F: TopoDS_Face): Handle_Geom_Surface; - static Triangulation(theFace: TopoDS_Face, theLocation: TopLoc_Location, theMeshPurpose: Poly_MeshPurpose): Handle_Poly_Triangulation; - static Triangulations(theFace: TopoDS_Face, theLocation: TopLoc_Location): Poly_ListOfTriangulation; - static Tolerance_1(F: TopoDS_Face): Standard_Real; - static NaturalRestriction(F: TopoDS_Face): Standard_Boolean; - static IsGeometric_1(F: TopoDS_Face): Standard_Boolean; - static IsGeometric_2(E: TopoDS_Edge): Standard_Boolean; - static Curve_1(E: TopoDS_Edge, L: TopLoc_Location, First: Standard_Real, Last: Standard_Real): Handle_Geom_Curve; - static Curve_2(E: TopoDS_Edge, First: Standard_Real, Last: Standard_Real): Handle_Geom_Curve; - static Polygon3D(E: TopoDS_Edge, L: TopLoc_Location): Handle_Poly_Polygon3D; - static CurveOnSurface_1(E: TopoDS_Edge, F: TopoDS_Face, First: Standard_Real, Last: Standard_Real, theIsStored: Standard_Boolean): Handle_Geom2d_Curve; - static CurveOnSurface_2(E: TopoDS_Edge, S: Handle_Geom_Surface, L: TopLoc_Location, First: Standard_Real, Last: Standard_Real, theIsStored: Standard_Boolean): Handle_Geom2d_Curve; - static CurveOnPlane(E: TopoDS_Edge, S: Handle_Geom_Surface, L: TopLoc_Location, First: Standard_Real, Last: Standard_Real): Handle_Geom2d_Curve; - static CurveOnSurface_3(E: TopoDS_Edge, C: Handle_Geom2d_Curve, S: Handle_Geom_Surface, L: TopLoc_Location, First: Standard_Real, Last: Standard_Real): void; - static CurveOnSurface_4(E: TopoDS_Edge, C: Handle_Geom2d_Curve, S: Handle_Geom_Surface, L: TopLoc_Location, First: Standard_Real, Last: Standard_Real, Index: Graphic3d_ZLayerId): void; - static PolygonOnSurface_1(E: TopoDS_Edge, F: TopoDS_Face): Handle_Poly_Polygon2D; - static PolygonOnSurface_2(E: TopoDS_Edge, S: Handle_Geom_Surface, L: TopLoc_Location): Handle_Poly_Polygon2D; - static PolygonOnSurface_3(E: TopoDS_Edge, C: Handle_Poly_Polygon2D, S: Handle_Geom_Surface, L: TopLoc_Location): void; - static PolygonOnSurface_4(E: TopoDS_Edge, C: Handle_Poly_Polygon2D, S: Handle_Geom_Surface, L: TopLoc_Location, Index: Graphic3d_ZLayerId): void; - static PolygonOnTriangulation_1(E: TopoDS_Edge, T: Handle_Poly_Triangulation, L: TopLoc_Location): Handle_Poly_PolygonOnTriangulation; - static PolygonOnTriangulation_2(E: TopoDS_Edge, P: Handle_Poly_PolygonOnTriangulation, T: Handle_Poly_Triangulation, L: TopLoc_Location): void; - static PolygonOnTriangulation_3(E: TopoDS_Edge, P: Handle_Poly_PolygonOnTriangulation, T: Handle_Poly_Triangulation, L: TopLoc_Location, Index: Graphic3d_ZLayerId): void; - static IsClosed_2(E: TopoDS_Edge, F: TopoDS_Face): Standard_Boolean; - static IsClosed_3(E: TopoDS_Edge, S: Handle_Geom_Surface, L: TopLoc_Location): Standard_Boolean; - static IsClosed_4(E: TopoDS_Edge, T: Handle_Poly_Triangulation, L: TopLoc_Location): Standard_Boolean; - static Tolerance_2(E: TopoDS_Edge): Standard_Real; - static SameParameter(E: TopoDS_Edge): Standard_Boolean; - static SameRange(E: TopoDS_Edge): Standard_Boolean; - static Degenerated(E: TopoDS_Edge): Standard_Boolean; - static Range_1(E: TopoDS_Edge, First: Standard_Real, Last: Standard_Real): void; - static Range_2(E: TopoDS_Edge, S: Handle_Geom_Surface, L: TopLoc_Location, First: Standard_Real, Last: Standard_Real): void; - static Range_3(E: TopoDS_Edge, F: TopoDS_Face, First: Standard_Real, Last: Standard_Real): void; - static UVPoints_1(E: TopoDS_Edge, S: Handle_Geom_Surface, L: TopLoc_Location, PFirst: gp_Pnt2d, PLast: gp_Pnt2d): void; - static UVPoints_2(E: TopoDS_Edge, F: TopoDS_Face, PFirst: gp_Pnt2d, PLast: gp_Pnt2d): void; - static SetUVPoints_1(E: TopoDS_Edge, S: Handle_Geom_Surface, L: TopLoc_Location, PFirst: gp_Pnt2d, PLast: gp_Pnt2d): void; - static SetUVPoints_2(E: TopoDS_Edge, F: TopoDS_Face, PFirst: gp_Pnt2d, PLast: gp_Pnt2d): void; - static HasContinuity_1(E: TopoDS_Edge, F1: TopoDS_Face, F2: TopoDS_Face): Standard_Boolean; - static Continuity_1(E: TopoDS_Edge, F1: TopoDS_Face, F2: TopoDS_Face): GeomAbs_Shape; - static HasContinuity_2(E: TopoDS_Edge, S1: Handle_Geom_Surface, S2: Handle_Geom_Surface, L1: TopLoc_Location, L2: TopLoc_Location): Standard_Boolean; - static Continuity_2(E: TopoDS_Edge, S1: Handle_Geom_Surface, S2: Handle_Geom_Surface, L1: TopLoc_Location, L2: TopLoc_Location): GeomAbs_Shape; - static HasContinuity_3(E: TopoDS_Edge): Standard_Boolean; - static MaxContinuity(theEdge: TopoDS_Edge): GeomAbs_Shape; - static Pnt(V: TopoDS_Vertex): gp_Pnt; - static Tolerance_3(V: TopoDS_Vertex): Standard_Real; - static Parameter_1(theV: TopoDS_Vertex, theE: TopoDS_Edge, theParam: Standard_Real): Standard_Boolean; - static Parameter_2(V: TopoDS_Vertex, E: TopoDS_Edge): Standard_Real; - static Parameter_3(V: TopoDS_Vertex, E: TopoDS_Edge, F: TopoDS_Face): Standard_Real; - static Parameter_4(V: TopoDS_Vertex, E: TopoDS_Edge, S: Handle_Geom_Surface, L: TopLoc_Location): Standard_Real; - static Parameters(V: TopoDS_Vertex, F: TopoDS_Face): gp_Pnt2d; - static MaxTolerance(theShape: TopoDS_Shape, theSubShape: TopAbs_ShapeEnum): Standard_Real; - delete(): void; -} - -export declare class BRepAdaptor_CompCurve extends Adaptor3d_Curve { - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - ShallowCopy(): Handle_Adaptor3d_Curve; - Initialize_1(W: TopoDS_Wire, KnotByCurvilinearAbcissa: Standard_Boolean): void; - Initialize_2(W: TopoDS_Wire, KnotByCurvilinearAbcissa: Standard_Boolean, First: Standard_Real, Last: Standard_Real, Tol: Standard_Real): void; - Wire(): TopoDS_Wire; - Edge(U: Standard_Real, E: TopoDS_Edge, UonE: Standard_Real): void; - FirstParameter(): Standard_Real; - LastParameter(): Standard_Real; - Continuity(): GeomAbs_Shape; - NbIntervals(S: GeomAbs_Shape): Graphic3d_ZLayerId; - Intervals(T: IntTools_CArray1OfReal, S: GeomAbs_Shape): void; - Trim(First: Standard_Real, Last: Standard_Real, Tol: Standard_Real): Handle_Adaptor3d_Curve; - IsClosed(): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - Period(): Standard_Real; - Value(U: Standard_Real): gp_Pnt; - D0(U: Standard_Real, P: gp_Pnt): void; - D1(U: Standard_Real, P: gp_Pnt, V: gp_Vec): void; - D2(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec): void; - D3(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec): void; - DN(U: Standard_Real, N: Graphic3d_ZLayerId): gp_Vec; - Resolution(R3d: Standard_Real): Standard_Real; - GetType(): GeomAbs_CurveType; - Line(): gp_Lin; - Circle(): gp_Circ; - Ellipse(): gp_Elips; - Hyperbola(): gp_Hypr; - Parabola(): gp_Parab; - Degree(): Graphic3d_ZLayerId; - IsRational(): Standard_Boolean; - NbPoles(): Graphic3d_ZLayerId; - NbKnots(): Graphic3d_ZLayerId; - Bezier(): Handle_Geom_BezierCurve; - BSpline(): Handle_Geom_BSplineCurve; - delete(): void; -} - - export declare class BRepAdaptor_CompCurve_1 extends BRepAdaptor_CompCurve { - constructor(); - } - - export declare class BRepAdaptor_CompCurve_2 extends BRepAdaptor_CompCurve { - constructor(W: TopoDS_Wire, KnotByCurvilinearAbcissa: Standard_Boolean); - } - - export declare class BRepAdaptor_CompCurve_3 extends BRepAdaptor_CompCurve { - constructor(W: TopoDS_Wire, KnotByCurvilinearAbcissa: Standard_Boolean, First: Standard_Real, Last: Standard_Real, Tol: Standard_Real); - } - -export declare class BRepAdaptor_Curve extends Adaptor3d_Curve { - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - ShallowCopy(): Handle_Adaptor3d_Curve; - Reset(): void; - Initialize_1(E: TopoDS_Edge): void; - Initialize_2(E: TopoDS_Edge, F: TopoDS_Face): void; - Trsf(): gp_Trsf; - Is3DCurve(): Standard_Boolean; - IsCurveOnSurface(): Standard_Boolean; - Curve(): GeomAdaptor_Curve; - CurveOnSurface(): Adaptor3d_CurveOnSurface; - Edge(): TopoDS_Edge; - Tolerance(): Standard_Real; - FirstParameter(): Standard_Real; - LastParameter(): Standard_Real; - Continuity(): GeomAbs_Shape; - NbIntervals(S: GeomAbs_Shape): Graphic3d_ZLayerId; - Intervals(T: IntTools_CArray1OfReal, S: GeomAbs_Shape): void; - Trim(First: Standard_Real, Last: Standard_Real, Tol: Standard_Real): Handle_Adaptor3d_Curve; - IsClosed(): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - Period(): Standard_Real; - Value(U: Standard_Real): gp_Pnt; - D0(U: Standard_Real, P: gp_Pnt): void; - D1(U: Standard_Real, P: gp_Pnt, V: gp_Vec): void; - D2(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec): void; - D3(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec): void; - DN(U: Standard_Real, N: Graphic3d_ZLayerId): gp_Vec; - Resolution(R3d: Standard_Real): Standard_Real; - GetType(): GeomAbs_CurveType; - Line(): gp_Lin; - Circle(): gp_Circ; - Ellipse(): gp_Elips; - Hyperbola(): gp_Hypr; - Parabola(): gp_Parab; - Degree(): Graphic3d_ZLayerId; - IsRational(): Standard_Boolean; - NbPoles(): Graphic3d_ZLayerId; - NbKnots(): Graphic3d_ZLayerId; - Bezier(): Handle_Geom_BezierCurve; - BSpline(): Handle_Geom_BSplineCurve; - OffsetCurve(): Handle_Geom_OffsetCurve; - delete(): void; -} - - export declare class BRepAdaptor_Curve_1 extends BRepAdaptor_Curve { - constructor(); - } - - export declare class BRepAdaptor_Curve_2 extends BRepAdaptor_Curve { - constructor(E: TopoDS_Edge); - } - - export declare class BRepAdaptor_Curve_3 extends BRepAdaptor_Curve { - constructor(E: TopoDS_Edge, F: TopoDS_Face); - } - -export declare class BRepAdaptor_Curve2d extends Geom2dAdaptor_Curve { - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - ShallowCopy(): Handle_Adaptor2d_Curve2d; - Initialize(E: TopoDS_Edge, F: TopoDS_Face): void; - Edge(): TopoDS_Edge; - Face(): TopoDS_Face; - delete(): void; -} - - export declare class BRepAdaptor_Curve2d_1 extends BRepAdaptor_Curve2d { - constructor(); - } - - export declare class BRepAdaptor_Curve2d_2 extends BRepAdaptor_Curve2d { - constructor(E: TopoDS_Edge, F: TopoDS_Face); - } - -export declare class BRepAdaptor_Surface extends Adaptor3d_Surface { - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - ShallowCopy(): Handle_Adaptor3d_Surface; - Initialize(F: TopoDS_Face, Restriction: Standard_Boolean): void; - Surface(): GeomAdaptor_Surface; - ChangeSurface(): GeomAdaptor_Surface; - Trsf(): gp_Trsf; - Face(): TopoDS_Face; - Tolerance(): Standard_Real; - FirstUParameter(): Standard_Real; - LastUParameter(): Standard_Real; - FirstVParameter(): Standard_Real; - LastVParameter(): Standard_Real; - UContinuity(): GeomAbs_Shape; - VContinuity(): GeomAbs_Shape; - NbUIntervals(theSh: GeomAbs_Shape): Graphic3d_ZLayerId; - NbVIntervals(theSh: GeomAbs_Shape): Graphic3d_ZLayerId; - UIntervals(T: IntTools_CArray1OfReal, S: GeomAbs_Shape): void; - VIntervals(T: IntTools_CArray1OfReal, S: GeomAbs_Shape): void; - UTrim(First: Standard_Real, Last: Standard_Real, Tol: Standard_Real): Handle_Adaptor3d_Surface; - VTrim(First: Standard_Real, Last: Standard_Real, Tol: Standard_Real): Handle_Adaptor3d_Surface; - IsUClosed(): Standard_Boolean; - IsVClosed(): Standard_Boolean; - IsUPeriodic(): Standard_Boolean; - UPeriod(): Standard_Real; - IsVPeriodic(): Standard_Boolean; - VPeriod(): Standard_Real; - Value(U: Standard_Real, V: Standard_Real): gp_Pnt; - D0(U: Standard_Real, V: Standard_Real, P: gp_Pnt): void; - D1(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec): void; - D2(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec): void; - D3(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec, D3U: gp_Vec, D3V: gp_Vec, D3UUV: gp_Vec, D3UVV: gp_Vec): void; - DN(U: Standard_Real, V: Standard_Real, Nu: Graphic3d_ZLayerId, Nv: Graphic3d_ZLayerId): gp_Vec; - UResolution(theR3d: Standard_Real): Standard_Real; - VResolution(theR3d: Standard_Real): Standard_Real; - GetType(): GeomAbs_SurfaceType; - Plane(): gp_Pln; - Cylinder(): gp_Cylinder; - Cone(): gp_Cone; - Sphere(): gp_Sphere; - Torus(): gp_Torus; - UDegree(): Graphic3d_ZLayerId; - NbUPoles(): Graphic3d_ZLayerId; - VDegree(): Graphic3d_ZLayerId; - NbVPoles(): Graphic3d_ZLayerId; - NbUKnots(): Graphic3d_ZLayerId; - NbVKnots(): Graphic3d_ZLayerId; - IsURational(): Standard_Boolean; - IsVRational(): Standard_Boolean; - Bezier(): Handle_Geom_BezierSurface; - BSpline(): Handle_Geom_BSplineSurface; - AxeOfRevolution(): gp_Ax1; - Direction(): gp_Dir; - BasisCurve(): Handle_Adaptor3d_Curve; - BasisSurface(): Handle_Adaptor3d_Surface; - OffsetValue(): Standard_Real; - delete(): void; -} - - export declare class BRepAdaptor_Surface_1 extends BRepAdaptor_Surface { - constructor(); - } - - export declare class BRepAdaptor_Surface_2 extends BRepAdaptor_Surface { - constructor(F: TopoDS_Face, R: Standard_Boolean); - } - -export declare class BRepAlgoAPI_Algo extends BRepBuilderAPI_MakeShape { - Shape(): TopoDS_Shape; - Clear(): void; - SetRunParallel(theFlag: Standard_Boolean): void; - RunParallel(): Standard_Boolean; - SetFuzzyValue(theFuzz: Standard_Real): void; - FuzzyValue(): Standard_Real; - HasErrors(): Standard_Boolean; - HasWarnings(): Standard_Boolean; - HasError(theType: Handle_Standard_Type): Standard_Boolean; - HasWarning(theType: Handle_Standard_Type): Standard_Boolean; - DumpErrors(theOS: Standard_OStream): void; - DumpWarnings(theOS: Standard_OStream): void; - ClearWarnings(): void; - GetReport(): Handle_Message_Report; - SetUseOBB(theUseOBB: Standard_Boolean): void; - delete(): void; -} - -export declare class BRepAlgoAPI_BooleanOperation extends BRepAlgoAPI_BuilderAlgo { - Shape1(): TopoDS_Shape; - Shape2(): TopoDS_Shape; - SetTools(theLS: TopTools_ListOfShape): void; - Tools(): TopTools_ListOfShape; - SetOperation(theBOP: BOPAlgo_Operation): void; - Operation(): BOPAlgo_Operation; - Build(theRange: Message_ProgressRange): void; - delete(): void; -} - - export declare class BRepAlgoAPI_BooleanOperation_1 extends BRepAlgoAPI_BooleanOperation { - constructor(); - } - - export declare class BRepAlgoAPI_BooleanOperation_2 extends BRepAlgoAPI_BooleanOperation { - constructor(thePF: BOPAlgo_PaveFiller); - } - -export declare class BRepAlgoAPI_BuilderAlgo extends BRepAlgoAPI_Algo { - SetArguments(theLS: TopTools_ListOfShape): void; - Arguments(): TopTools_ListOfShape; - SetNonDestructive(theFlag: Standard_Boolean): void; - NonDestructive(): Standard_Boolean; - SetGlue(theGlue: BOPAlgo_GlueEnum): void; - Glue(): BOPAlgo_GlueEnum; - SetCheckInverted(theCheck: Standard_Boolean): void; - CheckInverted(): Standard_Boolean; - Build(theRange: Message_ProgressRange): void; - SimplifyResult(theUnifyEdges: Standard_Boolean, theUnifyFaces: Standard_Boolean, theAngularTol: Standard_Real): void; - Modified(theS: TopoDS_Shape): TopTools_ListOfShape; - Generated(theS: TopoDS_Shape): TopTools_ListOfShape; - IsDeleted(aS: TopoDS_Shape): Standard_Boolean; - HasModified(): Standard_Boolean; - HasGenerated(): Standard_Boolean; - HasDeleted(): Standard_Boolean; - SetToFillHistory(theHistFlag: Standard_Boolean): void; - HasHistory(): Standard_Boolean; - SectionEdges(): TopTools_ListOfShape; - DSFiller(): BOPAlgo_PPaveFiller; - Builder(): BOPAlgo_PBuilder; - History(): Handle_BRepTools_History; - delete(): void; -} - - export declare class BRepAlgoAPI_BuilderAlgo_1 extends BRepAlgoAPI_BuilderAlgo { - constructor(); - } - - export declare class BRepAlgoAPI_BuilderAlgo_2 extends BRepAlgoAPI_BuilderAlgo { - constructor(thePF: BOPAlgo_PaveFiller); - } - -export declare class BRepAlgoAPI_Common extends BRepAlgoAPI_BooleanOperation { - delete(): void; -} - - export declare class BRepAlgoAPI_Common_1 extends BRepAlgoAPI_Common { - constructor(); - } - - export declare class BRepAlgoAPI_Common_2 extends BRepAlgoAPI_Common { - constructor(PF: BOPAlgo_PaveFiller); - } - - export declare class BRepAlgoAPI_Common_3 extends BRepAlgoAPI_Common { - constructor(S1: TopoDS_Shape, S2: TopoDS_Shape, theRange: Message_ProgressRange); - } - - export declare class BRepAlgoAPI_Common_4 extends BRepAlgoAPI_Common { - constructor(S1: TopoDS_Shape, S2: TopoDS_Shape, PF: BOPAlgo_PaveFiller, theRange: Message_ProgressRange); - } - -export declare class BRepAlgoAPI_Cut extends BRepAlgoAPI_BooleanOperation { - delete(): void; -} - - export declare class BRepAlgoAPI_Cut_1 extends BRepAlgoAPI_Cut { - constructor(); - } - - export declare class BRepAlgoAPI_Cut_2 extends BRepAlgoAPI_Cut { - constructor(PF: BOPAlgo_PaveFiller); - } - - export declare class BRepAlgoAPI_Cut_3 extends BRepAlgoAPI_Cut { - constructor(S1: TopoDS_Shape, S2: TopoDS_Shape, theRange: Message_ProgressRange); - } - - export declare class BRepAlgoAPI_Cut_4 extends BRepAlgoAPI_Cut { - constructor(S1: TopoDS_Shape, S2: TopoDS_Shape, aDSF: BOPAlgo_PaveFiller, bFWD: Standard_Boolean, theRange: Message_ProgressRange); - } - -export declare class BRepAlgoAPI_Fuse extends BRepAlgoAPI_BooleanOperation { - delete(): void; -} - - export declare class BRepAlgoAPI_Fuse_1 extends BRepAlgoAPI_Fuse { - constructor(); - } - - export declare class BRepAlgoAPI_Fuse_2 extends BRepAlgoAPI_Fuse { - constructor(PF: BOPAlgo_PaveFiller); - } - - export declare class BRepAlgoAPI_Fuse_3 extends BRepAlgoAPI_Fuse { - constructor(S1: TopoDS_Shape, S2: TopoDS_Shape, theRange: Message_ProgressRange); - } - - export declare class BRepAlgoAPI_Fuse_4 extends BRepAlgoAPI_Fuse { - constructor(S1: TopoDS_Shape, S2: TopoDS_Shape, aDSF: BOPAlgo_PaveFiller, theRange: Message_ProgressRange); - } - -export declare class BRepAlgoAPI_Section extends BRepAlgoAPI_BooleanOperation { - Init1_1(S1: TopoDS_Shape): void; - Init1_2(Pl: gp_Pln): void; - Init1_3(Sf: Handle_Geom_Surface): void; - Init2_1(S2: TopoDS_Shape): void; - Init2_2(Pl: gp_Pln): void; - Init2_3(Sf: Handle_Geom_Surface): void; - Approximation(B: Standard_Boolean): void; - ComputePCurveOn1(B: Standard_Boolean): void; - ComputePCurveOn2(B: Standard_Boolean): void; - Build(theRange: Message_ProgressRange): void; - HasAncestorFaceOn1(E: TopoDS_Shape, F: TopoDS_Shape): Standard_Boolean; - HasAncestorFaceOn2(E: TopoDS_Shape, F: TopoDS_Shape): Standard_Boolean; - delete(): void; -} - - export declare class BRepAlgoAPI_Section_1 extends BRepAlgoAPI_Section { - constructor(); - } - - export declare class BRepAlgoAPI_Section_2 extends BRepAlgoAPI_Section { - constructor(PF: BOPAlgo_PaveFiller); - } - - export declare class BRepAlgoAPI_Section_3 extends BRepAlgoAPI_Section { - constructor(S1: TopoDS_Shape, S2: TopoDS_Shape, PerformNow: Standard_Boolean); - } - - export declare class BRepAlgoAPI_Section_4 extends BRepAlgoAPI_Section { - constructor(S1: TopoDS_Shape, S2: TopoDS_Shape, aDSF: BOPAlgo_PaveFiller, PerformNow: Standard_Boolean); - } - - export declare class BRepAlgoAPI_Section_5 extends BRepAlgoAPI_Section { - constructor(S1: TopoDS_Shape, Pl: gp_Pln, PerformNow: Standard_Boolean); - } - - export declare class BRepAlgoAPI_Section_6 extends BRepAlgoAPI_Section { - constructor(S1: TopoDS_Shape, Sf: Handle_Geom_Surface, PerformNow: Standard_Boolean); - } - - export declare class BRepAlgoAPI_Section_7 extends BRepAlgoAPI_Section { - constructor(Sf: Handle_Geom_Surface, S2: TopoDS_Shape, PerformNow: Standard_Boolean); - } - - export declare class BRepAlgoAPI_Section_8 extends BRepAlgoAPI_Section { - constructor(Sf1: Handle_Geom_Surface, Sf2: Handle_Geom_Surface, PerformNow: Standard_Boolean); - } - -export declare class BRepBndLib { - constructor(); - static Add(S: TopoDS_Shape, B: Bnd_Box, useTriangulation: Standard_Boolean): void; - static AddClose(S: TopoDS_Shape, B: Bnd_Box): void; - static AddOptimal(S: TopoDS_Shape, B: Bnd_Box, useTriangulation: Standard_Boolean, useShapeTolerance: Standard_Boolean): void; - static AddOBB(theS: TopoDS_Shape, theOBB: Bnd_OBB, theIsTriangulationUsed: Standard_Boolean, theIsOptimal: Standard_Boolean, theIsShapeToleranceUsed: Standard_Boolean): void; - delete(): void; -} - -export declare class BRepBuilderAPI_Command { - IsDone(): Standard_Boolean; - Check(): void; - delete(): void; -} - -export declare class BRepBuilderAPI_MakeEdge extends BRepBuilderAPI_MakeShape { - Init_1(C: Handle_Geom_Curve): void; - Init_2(C: Handle_Geom_Curve, p1: Standard_Real, p2: Standard_Real): void; - Init_3(C: Handle_Geom_Curve, P1: gp_Pnt, P2: gp_Pnt): void; - Init_4(C: Handle_Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex): void; - Init_5(C: Handle_Geom_Curve, P1: gp_Pnt, P2: gp_Pnt, p1: Standard_Real, p2: Standard_Real): void; - Init_6(C: Handle_Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: Standard_Real, p2: Standard_Real): void; - Init_7(C: Handle_Geom2d_Curve, S: Handle_Geom_Surface): void; - Init_8(C: Handle_Geom2d_Curve, S: Handle_Geom_Surface, p1: Standard_Real, p2: Standard_Real): void; - Init_9(C: Handle_Geom2d_Curve, S: Handle_Geom_Surface, P1: gp_Pnt, P2: gp_Pnt): void; - Init_10(C: Handle_Geom2d_Curve, S: Handle_Geom_Surface, V1: TopoDS_Vertex, V2: TopoDS_Vertex): void; - Init_11(C: Handle_Geom2d_Curve, S: Handle_Geom_Surface, P1: gp_Pnt, P2: gp_Pnt, p1: Standard_Real, p2: Standard_Real): void; - Init_12(C: Handle_Geom2d_Curve, S: Handle_Geom_Surface, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: Standard_Real, p2: Standard_Real): void; - IsDone(): Standard_Boolean; - Error(): BRepBuilderAPI_EdgeError; - Edge(): TopoDS_Edge; - Vertex1(): TopoDS_Vertex; - Vertex2(): TopoDS_Vertex; - delete(): void; -} - - export declare class BRepBuilderAPI_MakeEdge_1 extends BRepBuilderAPI_MakeEdge { - constructor(); - } - - export declare class BRepBuilderAPI_MakeEdge_2 extends BRepBuilderAPI_MakeEdge { - constructor(V1: TopoDS_Vertex, V2: TopoDS_Vertex); - } - - export declare class BRepBuilderAPI_MakeEdge_3 extends BRepBuilderAPI_MakeEdge { - constructor(P1: gp_Pnt, P2: gp_Pnt); - } - - export declare class BRepBuilderAPI_MakeEdge_4 extends BRepBuilderAPI_MakeEdge { - constructor(L: gp_Lin); - } - - export declare class BRepBuilderAPI_MakeEdge_5 extends BRepBuilderAPI_MakeEdge { - constructor(L: gp_Lin, p1: Standard_Real, p2: Standard_Real); - } - - export declare class BRepBuilderAPI_MakeEdge_6 extends BRepBuilderAPI_MakeEdge { - constructor(L: gp_Lin, P1: gp_Pnt, P2: gp_Pnt); - } - - export declare class BRepBuilderAPI_MakeEdge_7 extends BRepBuilderAPI_MakeEdge { - constructor(L: gp_Lin, V1: TopoDS_Vertex, V2: TopoDS_Vertex); - } - - export declare class BRepBuilderAPI_MakeEdge_8 extends BRepBuilderAPI_MakeEdge { - constructor(L: gp_Circ); - } - - export declare class BRepBuilderAPI_MakeEdge_9 extends BRepBuilderAPI_MakeEdge { - constructor(L: gp_Circ, p1: Standard_Real, p2: Standard_Real); - } - - export declare class BRepBuilderAPI_MakeEdge_10 extends BRepBuilderAPI_MakeEdge { - constructor(L: gp_Circ, P1: gp_Pnt, P2: gp_Pnt); - } - - export declare class BRepBuilderAPI_MakeEdge_11 extends BRepBuilderAPI_MakeEdge { - constructor(L: gp_Circ, V1: TopoDS_Vertex, V2: TopoDS_Vertex); - } - - export declare class BRepBuilderAPI_MakeEdge_12 extends BRepBuilderAPI_MakeEdge { - constructor(L: gp_Elips); - } - - export declare class BRepBuilderAPI_MakeEdge_13 extends BRepBuilderAPI_MakeEdge { - constructor(L: gp_Elips, p1: Standard_Real, p2: Standard_Real); - } - - export declare class BRepBuilderAPI_MakeEdge_14 extends BRepBuilderAPI_MakeEdge { - constructor(L: gp_Elips, P1: gp_Pnt, P2: gp_Pnt); - } - - export declare class BRepBuilderAPI_MakeEdge_15 extends BRepBuilderAPI_MakeEdge { - constructor(L: gp_Elips, V1: TopoDS_Vertex, V2: TopoDS_Vertex); - } - - export declare class BRepBuilderAPI_MakeEdge_16 extends BRepBuilderAPI_MakeEdge { - constructor(L: gp_Hypr); - } - - export declare class BRepBuilderAPI_MakeEdge_17 extends BRepBuilderAPI_MakeEdge { - constructor(L: gp_Hypr, p1: Standard_Real, p2: Standard_Real); - } - - export declare class BRepBuilderAPI_MakeEdge_18 extends BRepBuilderAPI_MakeEdge { - constructor(L: gp_Hypr, P1: gp_Pnt, P2: gp_Pnt); - } - - export declare class BRepBuilderAPI_MakeEdge_19 extends BRepBuilderAPI_MakeEdge { - constructor(L: gp_Hypr, V1: TopoDS_Vertex, V2: TopoDS_Vertex); - } - - export declare class BRepBuilderAPI_MakeEdge_20 extends BRepBuilderAPI_MakeEdge { - constructor(L: gp_Parab); - } - - export declare class BRepBuilderAPI_MakeEdge_21 extends BRepBuilderAPI_MakeEdge { - constructor(L: gp_Parab, p1: Standard_Real, p2: Standard_Real); - } - - export declare class BRepBuilderAPI_MakeEdge_22 extends BRepBuilderAPI_MakeEdge { - constructor(L: gp_Parab, P1: gp_Pnt, P2: gp_Pnt); - } - - export declare class BRepBuilderAPI_MakeEdge_23 extends BRepBuilderAPI_MakeEdge { - constructor(L: gp_Parab, V1: TopoDS_Vertex, V2: TopoDS_Vertex); - } - - export declare class BRepBuilderAPI_MakeEdge_24 extends BRepBuilderAPI_MakeEdge { - constructor(L: Handle_Geom_Curve); - } - - export declare class BRepBuilderAPI_MakeEdge_25 extends BRepBuilderAPI_MakeEdge { - constructor(L: Handle_Geom_Curve, p1: Standard_Real, p2: Standard_Real); - } - - export declare class BRepBuilderAPI_MakeEdge_26 extends BRepBuilderAPI_MakeEdge { - constructor(L: Handle_Geom_Curve, P1: gp_Pnt, P2: gp_Pnt); - } - - export declare class BRepBuilderAPI_MakeEdge_27 extends BRepBuilderAPI_MakeEdge { - constructor(L: Handle_Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex); - } - - export declare class BRepBuilderAPI_MakeEdge_28 extends BRepBuilderAPI_MakeEdge { - constructor(L: Handle_Geom_Curve, P1: gp_Pnt, P2: gp_Pnt, p1: Standard_Real, p2: Standard_Real); - } - - export declare class BRepBuilderAPI_MakeEdge_29 extends BRepBuilderAPI_MakeEdge { - constructor(L: Handle_Geom_Curve, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: Standard_Real, p2: Standard_Real); - } - - export declare class BRepBuilderAPI_MakeEdge_30 extends BRepBuilderAPI_MakeEdge { - constructor(L: Handle_Geom2d_Curve, S: Handle_Geom_Surface); - } - - export declare class BRepBuilderAPI_MakeEdge_31 extends BRepBuilderAPI_MakeEdge { - constructor(L: Handle_Geom2d_Curve, S: Handle_Geom_Surface, p1: Standard_Real, p2: Standard_Real); - } - - export declare class BRepBuilderAPI_MakeEdge_32 extends BRepBuilderAPI_MakeEdge { - constructor(L: Handle_Geom2d_Curve, S: Handle_Geom_Surface, P1: gp_Pnt, P2: gp_Pnt); - } - - export declare class BRepBuilderAPI_MakeEdge_33 extends BRepBuilderAPI_MakeEdge { - constructor(L: Handle_Geom2d_Curve, S: Handle_Geom_Surface, V1: TopoDS_Vertex, V2: TopoDS_Vertex); - } - - export declare class BRepBuilderAPI_MakeEdge_34 extends BRepBuilderAPI_MakeEdge { - constructor(L: Handle_Geom2d_Curve, S: Handle_Geom_Surface, P1: gp_Pnt, P2: gp_Pnt, p1: Standard_Real, p2: Standard_Real); - } - - export declare class BRepBuilderAPI_MakeEdge_35 extends BRepBuilderAPI_MakeEdge { - constructor(L: Handle_Geom2d_Curve, S: Handle_Geom_Surface, V1: TopoDS_Vertex, V2: TopoDS_Vertex, p1: Standard_Real, p2: Standard_Real); - } - -export declare class BRepBuilderAPI_MakeFace extends BRepBuilderAPI_MakeShape { - Init_1(F: TopoDS_Face): void; - Init_2(S: Handle_Geom_Surface, Bound: Standard_Boolean, TolDegen: Standard_Real): void; - Init_3(S: Handle_Geom_Surface, UMin: Standard_Real, UMax: Standard_Real, VMin: Standard_Real, VMax: Standard_Real, TolDegen: Standard_Real): void; - Add(W: TopoDS_Wire): void; - IsDone(): Standard_Boolean; - Error(): BRepBuilderAPI_FaceError; - Face(): TopoDS_Face; - delete(): void; -} - - export declare class BRepBuilderAPI_MakeFace_1 extends BRepBuilderAPI_MakeFace { - constructor(); - } - - export declare class BRepBuilderAPI_MakeFace_2 extends BRepBuilderAPI_MakeFace { - constructor(F: TopoDS_Face); - } - - export declare class BRepBuilderAPI_MakeFace_3 extends BRepBuilderAPI_MakeFace { - constructor(P: gp_Pln); - } - - export declare class BRepBuilderAPI_MakeFace_4 extends BRepBuilderAPI_MakeFace { - constructor(C: gp_Cylinder); - } - - export declare class BRepBuilderAPI_MakeFace_5 extends BRepBuilderAPI_MakeFace { - constructor(C: gp_Cone); - } - - export declare class BRepBuilderAPI_MakeFace_6 extends BRepBuilderAPI_MakeFace { - constructor(S: gp_Sphere); - } - - export declare class BRepBuilderAPI_MakeFace_7 extends BRepBuilderAPI_MakeFace { - constructor(C: gp_Torus); - } - - export declare class BRepBuilderAPI_MakeFace_8 extends BRepBuilderAPI_MakeFace { - constructor(S: Handle_Geom_Surface, TolDegen: Standard_Real); - } - - export declare class BRepBuilderAPI_MakeFace_9 extends BRepBuilderAPI_MakeFace { - constructor(P: gp_Pln, UMin: Standard_Real, UMax: Standard_Real, VMin: Standard_Real, VMax: Standard_Real); - } - - export declare class BRepBuilderAPI_MakeFace_10 extends BRepBuilderAPI_MakeFace { - constructor(C: gp_Cylinder, UMin: Standard_Real, UMax: Standard_Real, VMin: Standard_Real, VMax: Standard_Real); - } - - export declare class BRepBuilderAPI_MakeFace_11 extends BRepBuilderAPI_MakeFace { - constructor(C: gp_Cone, UMin: Standard_Real, UMax: Standard_Real, VMin: Standard_Real, VMax: Standard_Real); - } - - export declare class BRepBuilderAPI_MakeFace_12 extends BRepBuilderAPI_MakeFace { - constructor(S: gp_Sphere, UMin: Standard_Real, UMax: Standard_Real, VMin: Standard_Real, VMax: Standard_Real); - } - - export declare class BRepBuilderAPI_MakeFace_13 extends BRepBuilderAPI_MakeFace { - constructor(C: gp_Torus, UMin: Standard_Real, UMax: Standard_Real, VMin: Standard_Real, VMax: Standard_Real); - } - - export declare class BRepBuilderAPI_MakeFace_14 extends BRepBuilderAPI_MakeFace { - constructor(S: Handle_Geom_Surface, UMin: Standard_Real, UMax: Standard_Real, VMin: Standard_Real, VMax: Standard_Real, TolDegen: Standard_Real); - } - - export declare class BRepBuilderAPI_MakeFace_15 extends BRepBuilderAPI_MakeFace { - constructor(W: TopoDS_Wire, OnlyPlane: Standard_Boolean); - } - - export declare class BRepBuilderAPI_MakeFace_16 extends BRepBuilderAPI_MakeFace { - constructor(P: gp_Pln, W: TopoDS_Wire, Inside: Standard_Boolean); - } - - export declare class BRepBuilderAPI_MakeFace_17 extends BRepBuilderAPI_MakeFace { - constructor(C: gp_Cylinder, W: TopoDS_Wire, Inside: Standard_Boolean); - } - - export declare class BRepBuilderAPI_MakeFace_18 extends BRepBuilderAPI_MakeFace { - constructor(C: gp_Cone, W: TopoDS_Wire, Inside: Standard_Boolean); - } - - export declare class BRepBuilderAPI_MakeFace_19 extends BRepBuilderAPI_MakeFace { - constructor(S: gp_Sphere, W: TopoDS_Wire, Inside: Standard_Boolean); - } - - export declare class BRepBuilderAPI_MakeFace_20 extends BRepBuilderAPI_MakeFace { - constructor(C: gp_Torus, W: TopoDS_Wire, Inside: Standard_Boolean); - } - - export declare class BRepBuilderAPI_MakeFace_21 extends BRepBuilderAPI_MakeFace { - constructor(S: Handle_Geom_Surface, W: TopoDS_Wire, Inside: Standard_Boolean); - } - - export declare class BRepBuilderAPI_MakeFace_22 extends BRepBuilderAPI_MakeFace { - constructor(F: TopoDS_Face, W: TopoDS_Wire); - } - -export declare class BRepBuilderAPI_MakeShape extends BRepBuilderAPI_Command { - Build(theRange: Message_ProgressRange): void; - Shape(): TopoDS_Shape; - Generated(S: TopoDS_Shape): TopTools_ListOfShape; - Modified(S: TopoDS_Shape): TopTools_ListOfShape; - IsDeleted(S: TopoDS_Shape): Standard_Boolean; - delete(): void; -} - -export declare class BRepBuilderAPI_MakeSolid extends BRepBuilderAPI_MakeShape { - Add(S: TopoDS_Shell): void; - IsDone(): Standard_Boolean; - Solid(): TopoDS_Solid; - IsDeleted(S: TopoDS_Shape): Standard_Boolean; - delete(): void; -} - - export declare class BRepBuilderAPI_MakeSolid_1 extends BRepBuilderAPI_MakeSolid { - constructor(); - } - - export declare class BRepBuilderAPI_MakeSolid_2 extends BRepBuilderAPI_MakeSolid { - constructor(S: TopoDS_CompSolid); - } - - export declare class BRepBuilderAPI_MakeSolid_3 extends BRepBuilderAPI_MakeSolid { - constructor(S: TopoDS_Shell); - } - - export declare class BRepBuilderAPI_MakeSolid_4 extends BRepBuilderAPI_MakeSolid { - constructor(S1: TopoDS_Shell, S2: TopoDS_Shell); - } - - export declare class BRepBuilderAPI_MakeSolid_5 extends BRepBuilderAPI_MakeSolid { - constructor(S1: TopoDS_Shell, S2: TopoDS_Shell, S3: TopoDS_Shell); - } - - export declare class BRepBuilderAPI_MakeSolid_6 extends BRepBuilderAPI_MakeSolid { - constructor(So: TopoDS_Solid); - } - - export declare class BRepBuilderAPI_MakeSolid_7 extends BRepBuilderAPI_MakeSolid { - constructor(So: TopoDS_Solid, S: TopoDS_Shell); - } - -export declare class BRepBuilderAPI_MakeVertex extends BRepBuilderAPI_MakeShape { - constructor(P: gp_Pnt) - Vertex(): TopoDS_Vertex; - delete(): void; -} - -export declare class BRepBuilderAPI_MakeWire extends BRepBuilderAPI_MakeShape { - Add_1(E: TopoDS_Edge): void; - Add_2(W: TopoDS_Wire): void; - Add_3(L: TopTools_ListOfShape): void; - IsDone(): Standard_Boolean; - Error(): BRepBuilderAPI_WireError; - Wire(): TopoDS_Wire; - Edge(): TopoDS_Edge; - Vertex(): TopoDS_Vertex; - delete(): void; -} - - export declare class BRepBuilderAPI_MakeWire_1 extends BRepBuilderAPI_MakeWire { - constructor(); - } - - export declare class BRepBuilderAPI_MakeWire_2 extends BRepBuilderAPI_MakeWire { - constructor(E: TopoDS_Edge); - } - - export declare class BRepBuilderAPI_MakeWire_3 extends BRepBuilderAPI_MakeWire { - constructor(E1: TopoDS_Edge, E2: TopoDS_Edge); - } - - export declare class BRepBuilderAPI_MakeWire_4 extends BRepBuilderAPI_MakeWire { - constructor(E1: TopoDS_Edge, E2: TopoDS_Edge, E3: TopoDS_Edge); - } - - export declare class BRepBuilderAPI_MakeWire_5 extends BRepBuilderAPI_MakeWire { - constructor(E1: TopoDS_Edge, E2: TopoDS_Edge, E3: TopoDS_Edge, E4: TopoDS_Edge); - } - - export declare class BRepBuilderAPI_MakeWire_6 extends BRepBuilderAPI_MakeWire { - constructor(W: TopoDS_Wire); - } - - export declare class BRepBuilderAPI_MakeWire_7 extends BRepBuilderAPI_MakeWire { - constructor(W: TopoDS_Wire, E: TopoDS_Edge); - } - -export declare class BRepBuilderAPI_ModifyShape extends BRepBuilderAPI_MakeShape { - Modified(S: TopoDS_Shape): TopTools_ListOfShape; - ModifiedShape(S: TopoDS_Shape): TopoDS_Shape; - delete(): void; -} - -export declare class BRepBuilderAPI_Sewing extends Standard_Transient { - constructor(tolerance: Standard_Real, option1: Standard_Boolean, option2: Standard_Boolean, option3: Standard_Boolean, option4: Standard_Boolean) - Init(tolerance: Standard_Real, option1: Standard_Boolean, option2: Standard_Boolean, option3: Standard_Boolean, option4: Standard_Boolean): void; - Load(shape: TopoDS_Shape): void; - Add(shape: TopoDS_Shape): void; - Perform(theProgress: Message_ProgressRange): void; - SewedShape(): TopoDS_Shape; - SetContext(theContext: Handle_BRepTools_ReShape): void; - GetContext(): Handle_BRepTools_ReShape; - NbFreeEdges(): Graphic3d_ZLayerId; - FreeEdge(index: Graphic3d_ZLayerId): TopoDS_Edge; - NbMultipleEdges(): Graphic3d_ZLayerId; - MultipleEdge(index: Graphic3d_ZLayerId): TopoDS_Edge; - NbContigousEdges(): Graphic3d_ZLayerId; - ContigousEdge(index: Graphic3d_ZLayerId): TopoDS_Edge; - ContigousEdgeCouple(index: Graphic3d_ZLayerId): TopTools_ListOfShape; - IsSectionBound(section: TopoDS_Edge): Standard_Boolean; - SectionToBoundary(section: TopoDS_Edge): TopoDS_Edge; - NbDegeneratedShapes(): Graphic3d_ZLayerId; - DegeneratedShape(index: Graphic3d_ZLayerId): TopoDS_Shape; - IsDegenerated(shape: TopoDS_Shape): Standard_Boolean; - IsModified(shape: TopoDS_Shape): Standard_Boolean; - Modified(shape: TopoDS_Shape): TopoDS_Shape; - IsModifiedSubShape(shape: TopoDS_Shape): Standard_Boolean; - ModifiedSubShape(shape: TopoDS_Shape): TopoDS_Shape; - Dump(): void; - NbDeletedFaces(): Graphic3d_ZLayerId; - DeletedFace(index: Graphic3d_ZLayerId): TopoDS_Face; - WhichFace(theEdg: TopoDS_Edge, index: Graphic3d_ZLayerId): TopoDS_Face; - SameParameterMode(): Standard_Boolean; - SetSameParameterMode(SameParameterMode: Standard_Boolean): void; - Tolerance(): Standard_Real; - SetTolerance(theToler: Standard_Real): void; - MinTolerance(): Standard_Real; - SetMinTolerance(theMinToler: Standard_Real): void; - MaxTolerance(): Standard_Real; - SetMaxTolerance(theMaxToler: Standard_Real): void; - FaceMode(): Standard_Boolean; - SetFaceMode(theFaceMode: Standard_Boolean): void; - FloatingEdgesMode(): Standard_Boolean; - SetFloatingEdgesMode(theFloatingEdgesMode: Standard_Boolean): void; - LocalTolerancesMode(): Standard_Boolean; - SetLocalTolerancesMode(theLocalTolerancesMode: Standard_Boolean): void; - SetNonManifoldMode(theNonManifoldMode: Standard_Boolean): void; - NonManifoldMode(): Standard_Boolean; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class BRepBuilderAPI_Transform extends BRepBuilderAPI_ModifyShape { - Perform(S: TopoDS_Shape, Copy: Standard_Boolean): void; - ModifiedShape(S: TopoDS_Shape): TopoDS_Shape; - Modified(S: TopoDS_Shape): TopTools_ListOfShape; - delete(): void; -} - - export declare class BRepBuilderAPI_Transform_1 extends BRepBuilderAPI_Transform { - constructor(T: gp_Trsf); - } - - export declare class BRepBuilderAPI_Transform_2 extends BRepBuilderAPI_Transform { - constructor(S: TopoDS_Shape, T: gp_Trsf, Copy: Standard_Boolean); - } - -export declare type BRepBuilderAPI_TransitionMode = { - BRepBuilderAPI_Transformed: {}; - BRepBuilderAPI_RightCorner: {}; - BRepBuilderAPI_RoundCorner: {}; -} - -export declare type BRepBuilderAPI_WireError = { - BRepBuilderAPI_WireDone: {}; - BRepBuilderAPI_EmptyWire: {}; - BRepBuilderAPI_DisconnectedWire: {}; - BRepBuilderAPI_NonManifoldWire: {}; -} - -export declare class BRepCheck_Analyzer { - constructor(S: TopoDS_Shape, GeomControls: Standard_Boolean, theIsParallel: Standard_Boolean) - Init(S: TopoDS_Shape, GeomControls: Standard_Boolean, theIsParallel: Standard_Boolean): void; - IsValid_1(S: TopoDS_Shape): Standard_Boolean; - IsValid_2(): Standard_Boolean; - Result(theSubS: TopoDS_Shape): Handle_BRepCheck_Result; - delete(): void; -} - -export declare class BRepExtrema_DistShapeShape { - SetDeflection(theDeflection: Standard_Real): void; - LoadS1(Shape1: TopoDS_Shape): void; - LoadS2(Shape1: TopoDS_Shape): void; - Perform(theRange: Message_ProgressRange): Standard_Boolean; - IsDone(): Standard_Boolean; - NbSolution(): Graphic3d_ZLayerId; - Value(): Standard_Real; - InnerSolution(): Standard_Boolean; - PointOnShape1(N: Graphic3d_ZLayerId): gp_Pnt; - PointOnShape2(N: Graphic3d_ZLayerId): gp_Pnt; - SupportTypeShape1(N: Graphic3d_ZLayerId): BRepExtrema_SupportType; - SupportTypeShape2(N: Graphic3d_ZLayerId): BRepExtrema_SupportType; - SupportOnShape1(N: Graphic3d_ZLayerId): TopoDS_Shape; - SupportOnShape2(N: Graphic3d_ZLayerId): TopoDS_Shape; - ParOnEdgeS1(N: Graphic3d_ZLayerId, t: Standard_Real): void; - ParOnEdgeS2(N: Graphic3d_ZLayerId, t: Standard_Real): void; - ParOnFaceS1(N: Graphic3d_ZLayerId, u: Standard_Real, v: Standard_Real): void; - ParOnFaceS2(N: Graphic3d_ZLayerId, u: Standard_Real, v: Standard_Real): void; - Dump(o: Standard_OStream): void; - SetFlag(F: Extrema_ExtFlag): void; - SetAlgo(A: Extrema_ExtAlgo): void; - SetMultiThread(theIsMultiThread: Standard_Boolean): void; - IsMultiThread(): Standard_Boolean; - delete(): void; -} - - export declare class BRepExtrema_DistShapeShape_1 extends BRepExtrema_DistShapeShape { - constructor(); - } - - export declare class BRepExtrema_DistShapeShape_2 extends BRepExtrema_DistShapeShape { - constructor(Shape1: TopoDS_Shape, Shape2: TopoDS_Shape, F: Extrema_ExtFlag, A: Extrema_ExtAlgo, theRange: Message_ProgressRange); - } - - export declare class BRepExtrema_DistShapeShape_3 extends BRepExtrema_DistShapeShape { - constructor(Shape1: TopoDS_Shape, Shape2: TopoDS_Shape, theDeflection: Standard_Real, F: Extrema_ExtFlag, A: Extrema_ExtAlgo, theRange: Message_ProgressRange); - } - -export declare class BRepFeat_Form extends BRepBuilderAPI_MakeShape { - Modified(F: TopoDS_Shape): TopTools_ListOfShape; - Generated(S: TopoDS_Shape): TopTools_ListOfShape; - IsDeleted(S: TopoDS_Shape): Standard_Boolean; - FirstShape(): TopTools_ListOfShape; - LastShape(): TopTools_ListOfShape; - NewEdges(): TopTools_ListOfShape; - TgtEdges(): TopTools_ListOfShape; - BasisShapeValid(): void; - GeneratedShapeValid(): void; - ShapeFromValid(): void; - ShapeUntilValid(): void; - GluedFacesValid(): void; - SketchFaceValid(): void; - PerfSelectionValid(): void; - Curves(S: TColGeom_SequenceOfCurve): void; - BarycCurve(): Handle_Geom_Curve; - CurrentStatusError(): BRepFeat_StatusError; - delete(): void; -} - -export declare class BRepFeat_MakeDPrism extends BRepFeat_Form { - Init(Sbase: TopoDS_Shape, Pbase: TopoDS_Face, Skface: TopoDS_Face, Angle: Standard_Real, Fuse: Graphic3d_ZLayerId, Modify: Standard_Boolean): void; - Add(E: TopoDS_Edge, OnFace: TopoDS_Face): void; - Perform_1(Height: Standard_Real): void; - Perform_2(Until: TopoDS_Shape): void; - Perform_3(From: TopoDS_Shape, Until: TopoDS_Shape): void; - PerformUntilEnd(): void; - PerformFromEnd(FUntil: TopoDS_Shape): void; - PerformThruAll(): void; - PerformUntilHeight(Until: TopoDS_Shape, Height: Standard_Real): void; - Curves(S: TColGeom_SequenceOfCurve): void; - BarycCurve(): Handle_Geom_Curve; - BossEdges(sig: Graphic3d_ZLayerId): void; - TopEdges(): TopTools_ListOfShape; - LatEdges(): TopTools_ListOfShape; - delete(): void; -} - - export declare class BRepFeat_MakeDPrism_1 extends BRepFeat_MakeDPrism { - constructor(Sbase: TopoDS_Shape, Pbase: TopoDS_Face, Skface: TopoDS_Face, Angle: Standard_Real, Fuse: Graphic3d_ZLayerId, Modify: Standard_Boolean); - } - - export declare class BRepFeat_MakeDPrism_2 extends BRepFeat_MakeDPrism { - constructor(); - } - -export declare type BRepFill_TypeOfContact = { - BRepFill_NoContact: {}; - BRepFill_Contact: {}; - BRepFill_ContactOnBorder: {}; -} - -export declare class BRepFilletAPI_LocalOperation extends BRepBuilderAPI_MakeShape { - Add(E: TopoDS_Edge): void; - ResetContour(IC: Graphic3d_ZLayerId): void; - NbContours(): Graphic3d_ZLayerId; - Contour(E: TopoDS_Edge): Graphic3d_ZLayerId; - NbEdges(I: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - Edge(I: Graphic3d_ZLayerId, J: Graphic3d_ZLayerId): TopoDS_Edge; - Remove(E: TopoDS_Edge): void; - Length(IC: Graphic3d_ZLayerId): Standard_Real; - FirstVertex(IC: Graphic3d_ZLayerId): TopoDS_Vertex; - LastVertex(IC: Graphic3d_ZLayerId): TopoDS_Vertex; - Abscissa(IC: Graphic3d_ZLayerId, V: TopoDS_Vertex): Standard_Real; - RelativeAbscissa(IC: Graphic3d_ZLayerId, V: TopoDS_Vertex): Standard_Real; - ClosedAndTangent(IC: Graphic3d_ZLayerId): Standard_Boolean; - Closed(IC: Graphic3d_ZLayerId): Standard_Boolean; - Reset(): void; - Simulate(IC: Graphic3d_ZLayerId): void; - NbSurf(IC: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - Sect(IC: Graphic3d_ZLayerId, IS: Graphic3d_ZLayerId): Handle_ChFiDS_SecHArray1; - delete(): void; -} - -export declare class BRepFilletAPI_MakeChamfer extends BRepFilletAPI_LocalOperation { - constructor(S: TopoDS_Shape) - Add_1(E: TopoDS_Edge): void; - Add_2(Dis: Standard_Real, E: TopoDS_Edge): void; - SetDist(Dis: Standard_Real, IC: Graphic3d_ZLayerId, F: TopoDS_Face): void; - GetDist(IC: Graphic3d_ZLayerId, Dis: Standard_Real): void; - Add_3(Dis1: Standard_Real, Dis2: Standard_Real, E: TopoDS_Edge, F: TopoDS_Face): void; - SetDists(Dis1: Standard_Real, Dis2: Standard_Real, IC: Graphic3d_ZLayerId, F: TopoDS_Face): void; - Dists(IC: Graphic3d_ZLayerId, Dis1: Standard_Real, Dis2: Standard_Real): void; - AddDA(Dis: Standard_Real, Angle: Standard_Real, E: TopoDS_Edge, F: TopoDS_Face): void; - SetDistAngle(Dis: Standard_Real, Angle: Standard_Real, IC: Graphic3d_ZLayerId, F: TopoDS_Face): void; - GetDistAngle(IC: Graphic3d_ZLayerId, Dis: Standard_Real, Angle: Standard_Real): void; - SetMode(theMode: ChFiDS_ChamfMode): void; - IsSymetric(IC: Graphic3d_ZLayerId): Standard_Boolean; - IsTwoDistances(IC: Graphic3d_ZLayerId): Standard_Boolean; - IsDistanceAngle(IC: Graphic3d_ZLayerId): Standard_Boolean; - ResetContour(IC: Graphic3d_ZLayerId): void; - NbContours(): Graphic3d_ZLayerId; - Contour(E: TopoDS_Edge): Graphic3d_ZLayerId; - NbEdges(I: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - Edge(I: Graphic3d_ZLayerId, J: Graphic3d_ZLayerId): TopoDS_Edge; - Remove(E: TopoDS_Edge): void; - Length(IC: Graphic3d_ZLayerId): Standard_Real; - FirstVertex(IC: Graphic3d_ZLayerId): TopoDS_Vertex; - LastVertex(IC: Graphic3d_ZLayerId): TopoDS_Vertex; - Abscissa(IC: Graphic3d_ZLayerId, V: TopoDS_Vertex): Standard_Real; - RelativeAbscissa(IC: Graphic3d_ZLayerId, V: TopoDS_Vertex): Standard_Real; - ClosedAndTangent(IC: Graphic3d_ZLayerId): Standard_Boolean; - Closed(IC: Graphic3d_ZLayerId): Standard_Boolean; - Build(theRange: Message_ProgressRange): void; - Reset(): void; - Builder(): Handle_TopOpeBRepBuild_HBuilder; - Generated(EorV: TopoDS_Shape): TopTools_ListOfShape; - Modified(F: TopoDS_Shape): TopTools_ListOfShape; - IsDeleted(F: TopoDS_Shape): Standard_Boolean; - Simulate(IC: Graphic3d_ZLayerId): void; - NbSurf(IC: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - Sect(IC: Graphic3d_ZLayerId, IS: Graphic3d_ZLayerId): Handle_ChFiDS_SecHArray1; - delete(): void; -} - -export declare class BRepFilletAPI_MakeFillet extends BRepFilletAPI_LocalOperation { - constructor(S: TopoDS_Shape, FShape: ChFi3d_FilletShape) - SetParams(Tang: Standard_Real, Tesp: Standard_Real, T2d: Standard_Real, TApp3d: Standard_Real, TolApp2d: Standard_Real, Fleche: Standard_Real): void; - SetContinuity(InternalContinuity: GeomAbs_Shape, AngularTolerance: Standard_Real): void; - Add_1(E: TopoDS_Edge): void; - Add_2(Radius: Standard_Real, E: TopoDS_Edge): void; - Add_3(R1: Standard_Real, R2: Standard_Real, E: TopoDS_Edge): void; - Add_4(L: Handle_Law_Function, E: TopoDS_Edge): void; - Add_5(UandR: TColgp_Array1OfPnt2d, E: TopoDS_Edge): void; - SetRadius_1(Radius: Standard_Real, IC: Graphic3d_ZLayerId, IinC: Graphic3d_ZLayerId): void; - SetRadius_2(R1: Standard_Real, R2: Standard_Real, IC: Graphic3d_ZLayerId, IinC: Graphic3d_ZLayerId): void; - SetRadius_3(L: Handle_Law_Function, IC: Graphic3d_ZLayerId, IinC: Graphic3d_ZLayerId): void; - SetRadius_4(UandR: TColgp_Array1OfPnt2d, IC: Graphic3d_ZLayerId, IinC: Graphic3d_ZLayerId): void; - ResetContour(IC: Graphic3d_ZLayerId): void; - IsConstant_1(IC: Graphic3d_ZLayerId): Standard_Boolean; - Radius_1(IC: Graphic3d_ZLayerId): Standard_Real; - IsConstant_2(IC: Graphic3d_ZLayerId, E: TopoDS_Edge): Standard_Boolean; - Radius_2(IC: Graphic3d_ZLayerId, E: TopoDS_Edge): Standard_Real; - SetRadius_5(Radius: Standard_Real, IC: Graphic3d_ZLayerId, E: TopoDS_Edge): void; - SetRadius_6(Radius: Standard_Real, IC: Graphic3d_ZLayerId, V: TopoDS_Vertex): void; - GetBounds(IC: Graphic3d_ZLayerId, E: TopoDS_Edge, F: Standard_Real, L: Standard_Real): Standard_Boolean; - GetLaw(IC: Graphic3d_ZLayerId, E: TopoDS_Edge): Handle_Law_Function; - SetLaw(IC: Graphic3d_ZLayerId, E: TopoDS_Edge, L: Handle_Law_Function): void; - SetFilletShape(FShape: ChFi3d_FilletShape): void; - GetFilletShape(): ChFi3d_FilletShape; - NbContours(): Graphic3d_ZLayerId; - Contour(E: TopoDS_Edge): Graphic3d_ZLayerId; - NbEdges(I: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - Edge(I: Graphic3d_ZLayerId, J: Graphic3d_ZLayerId): TopoDS_Edge; - Remove(E: TopoDS_Edge): void; - Length(IC: Graphic3d_ZLayerId): Standard_Real; - FirstVertex(IC: Graphic3d_ZLayerId): TopoDS_Vertex; - LastVertex(IC: Graphic3d_ZLayerId): TopoDS_Vertex; - Abscissa(IC: Graphic3d_ZLayerId, V: TopoDS_Vertex): Standard_Real; - RelativeAbscissa(IC: Graphic3d_ZLayerId, V: TopoDS_Vertex): Standard_Real; - ClosedAndTangent(IC: Graphic3d_ZLayerId): Standard_Boolean; - Closed(IC: Graphic3d_ZLayerId): Standard_Boolean; - Build(theRange: Message_ProgressRange): void; - Reset(): void; - Builder(): Handle_TopOpeBRepBuild_HBuilder; - Generated(EorV: TopoDS_Shape): TopTools_ListOfShape; - Modified(F: TopoDS_Shape): TopTools_ListOfShape; - IsDeleted(F: TopoDS_Shape): Standard_Boolean; - NbSurfaces(): Graphic3d_ZLayerId; - NewFaces(I: Graphic3d_ZLayerId): TopTools_ListOfShape; - Simulate(IC: Graphic3d_ZLayerId): void; - NbSurf(IC: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - Sect(IC: Graphic3d_ZLayerId, IS: Graphic3d_ZLayerId): Handle_ChFiDS_SecHArray1; - NbFaultyContours(): Graphic3d_ZLayerId; - FaultyContour(I: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - NbComputedSurfaces(IC: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - ComputedSurface(IC: Graphic3d_ZLayerId, IS: Graphic3d_ZLayerId): Handle_Geom_Surface; - NbFaultyVertices(): Graphic3d_ZLayerId; - FaultyVertex(IV: Graphic3d_ZLayerId): TopoDS_Vertex; - HasResult(): Standard_Boolean; - BadShape(): TopoDS_Shape; - StripeStatus(IC: Graphic3d_ZLayerId): ChFiDS_ErrorStatus; - delete(): void; -} - -export declare class BRepGProp { - constructor(); - static LinearProperties(S: TopoDS_Shape, LProps: GProp_GProps, SkipShared: Standard_Boolean, UseTriangulation: Standard_Boolean): void; - static SurfaceProperties_1(S: TopoDS_Shape, SProps: GProp_GProps, SkipShared: Standard_Boolean, UseTriangulation: Standard_Boolean): void; - static SurfaceProperties_2(S: TopoDS_Shape, SProps: GProp_GProps, Eps: Standard_Real, SkipShared: Standard_Boolean): Standard_Real; - static VolumeProperties_1(S: TopoDS_Shape, VProps: GProp_GProps, OnlyClosed: Standard_Boolean, SkipShared: Standard_Boolean, UseTriangulation: Standard_Boolean): void; - static VolumeProperties_2(S: TopoDS_Shape, VProps: GProp_GProps, Eps: Standard_Real, OnlyClosed: Standard_Boolean, SkipShared: Standard_Boolean): Standard_Real; - static VolumePropertiesGK_1(S: TopoDS_Shape, VProps: GProp_GProps, Eps: Standard_Real, OnlyClosed: Standard_Boolean, IsUseSpan: Standard_Boolean, CGFlag: Standard_Boolean, IFlag: Standard_Boolean, SkipShared: Standard_Boolean): Standard_Real; - static VolumePropertiesGK_2(S: TopoDS_Shape, VProps: GProp_GProps, thePln: gp_Pln, Eps: Standard_Real, OnlyClosed: Standard_Boolean, IsUseSpan: Standard_Boolean, CGFlag: Standard_Boolean, IFlag: Standard_Boolean, SkipShared: Standard_Boolean): Standard_Real; - delete(): void; -} - -export declare class BRepGProp_Face { - Load_1(F: TopoDS_Face): void; - VIntegrationOrder(): Graphic3d_ZLayerId; - NaturalRestriction(): Standard_Boolean; - GetFace(): TopoDS_Face; - Value2d(U: Standard_Real): gp_Pnt2d; - SIntOrder(Eps: Standard_Real): Graphic3d_ZLayerId; - SVIntSubs(): Graphic3d_ZLayerId; - SUIntSubs(): Graphic3d_ZLayerId; - UKnots(Knots: IntTools_CArray1OfReal): void; - VKnots(Knots: IntTools_CArray1OfReal): void; - LIntOrder(Eps: Standard_Real): Graphic3d_ZLayerId; - LIntSubs(): Graphic3d_ZLayerId; - LKnots(Knots: IntTools_CArray1OfReal): void; - UIntegrationOrder(): Graphic3d_ZLayerId; - Bounds(U1: Standard_Real, U2: Standard_Real, V1: Standard_Real, V2: Standard_Real): void; - Normal(U: Standard_Real, V: Standard_Real, P: gp_Pnt, VNor: gp_Vec): void; - Load_2(E: TopoDS_Edge): Standard_Boolean; - FirstParameter(): Standard_Real; - LastParameter(): Standard_Real; - IntegrationOrder(): Graphic3d_ZLayerId; - D12d(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d): void; - Load_3(IsFirstParam: Standard_Boolean, theIsoType: GeomAbs_IsoType): void; - GetUKnots(theUMin: Standard_Real, theUMax: Standard_Real, theUKnots: Handle_TColStd_HArray1OfReal): void; - GetTKnots(theTMin: Standard_Real, theTMax: Standard_Real, theTKnots: Handle_TColStd_HArray1OfReal): void; - delete(): void; -} - - export declare class BRepGProp_Face_1 extends BRepGProp_Face { - constructor(IsUseSpan: Standard_Boolean); - } - - export declare class BRepGProp_Face_2 extends BRepGProp_Face { - constructor(F: TopoDS_Face, IsUseSpan: Standard_Boolean); - } - -export declare class BRepLib { - constructor(); - static Precision_1(P: Standard_Real): void; - static Precision_2(): Standard_Real; - static Plane_1(P: Handle_Geom_Plane): void; - static Plane_2(): Handle_Geom_Plane; - static CheckSameRange(E: TopoDS_Edge, Confusion: Standard_Real): Standard_Boolean; - static SameRange(E: TopoDS_Edge, Tolerance: Standard_Real): void; - static BuildCurve3d(E: TopoDS_Edge, Tolerance: Standard_Real, Continuity: GeomAbs_Shape, MaxDegree: Graphic3d_ZLayerId, MaxSegment: Graphic3d_ZLayerId): Standard_Boolean; - static BuildCurves3d_1(S: TopoDS_Shape, Tolerance: Standard_Real, Continuity: GeomAbs_Shape, MaxDegree: Graphic3d_ZLayerId, MaxSegment: Graphic3d_ZLayerId): Standard_Boolean; - static BuildCurves3d_2(S: TopoDS_Shape): Standard_Boolean; - static BuildPCurveForEdgeOnPlane_1(theE: TopoDS_Edge, theF: TopoDS_Face): void; - static BuildPCurveForEdgeOnPlane_2(theE: TopoDS_Edge, theF: TopoDS_Face, aC2D: Handle_Geom2d_Curve, bToUpdate: Standard_Boolean): void; - static UpdateEdgeTol(E: TopoDS_Edge, MinToleranceRequest: Standard_Real, MaxToleranceToCheck: Standard_Real): Standard_Boolean; - static UpdateEdgeTolerance(S: TopoDS_Shape, MinToleranceRequest: Standard_Real, MaxToleranceToCheck: Standard_Real): Standard_Boolean; - static SameParameter_1(theEdge: TopoDS_Edge, Tolerance: Standard_Real): void; - static SameParameter_2(theEdge: TopoDS_Edge, theTolerance: Standard_Real, theNewTol: Standard_Real, IsUseOldEdge: Standard_Boolean): TopoDS_Edge; - static SameParameter_3(S: TopoDS_Shape, Tolerance: Standard_Real, forced: Standard_Boolean): void; - static SameParameter_4(S: TopoDS_Shape, theReshaper: BRepTools_ReShape, Tolerance: Standard_Real, forced: Standard_Boolean): void; - static UpdateTolerances_1(S: TopoDS_Shape, verifyFaceTolerance: Standard_Boolean): void; - static UpdateTolerances_2(S: TopoDS_Shape, theReshaper: BRepTools_ReShape, verifyFaceTolerance: Standard_Boolean): void; - static UpdateInnerTolerances(S: TopoDS_Shape): void; - static OrientClosedSolid(solid: TopoDS_Solid): Standard_Boolean; - static ContinuityOfFaces(theEdge: TopoDS_Edge, theFace1: TopoDS_Face, theFace2: TopoDS_Face, theAngleTol: Standard_Real): GeomAbs_Shape; - static EncodeRegularity_1(S: TopoDS_Shape, TolAng: Standard_Real): void; - static EncodeRegularity_2(S: TopoDS_Shape, LE: TopTools_ListOfShape, TolAng: Standard_Real): void; - static EncodeRegularity_3(E: TopoDS_Edge, F1: TopoDS_Face, F2: TopoDS_Face, TolAng: Standard_Real): void; - static SortFaces(S: TopoDS_Shape, LF: TopTools_ListOfShape): void; - static ReverseSortFaces(S: TopoDS_Shape, LF: TopTools_ListOfShape): void; - static EnsureNormalConsistency(S: TopoDS_Shape, theAngTol: Standard_Real, ForceComputeNormals: Standard_Boolean): Standard_Boolean; - static UpdateDeflection(S: TopoDS_Shape): void; - static BoundingVertex(theLV: TopoDS_ListOfShape, theNewCenter: gp_Pnt, theNewTol: Standard_Real): void; - static FindValidRange_1(theCurve: Adaptor3d_Curve, theTolE: Standard_Real, theParV1: Standard_Real, thePntV1: gp_Pnt, theTolV1: Standard_Real, theParV2: Standard_Real, thePntV2: gp_Pnt, theTolV2: Standard_Real, theFirst: Standard_Real, theLast: Standard_Real): Standard_Boolean; - static FindValidRange_2(theEdge: TopoDS_Edge, theFirst: Standard_Real, theLast: Standard_Real): Standard_Boolean; - static ExtendFace(theF: TopoDS_Face, theExtVal: Standard_Real, theExtUMin: Standard_Boolean, theExtUMax: Standard_Boolean, theExtVMin: Standard_Boolean, theExtVMax: Standard_Boolean, theFExtended: TopoDS_Face): void; - delete(): void; -} - -export declare class BRepMesh_DiscretRoot extends Standard_Transient { - SetShape(theShape: TopoDS_Shape): void; - Shape(): TopoDS_Shape; - IsDone(): Standard_Boolean; - Perform(theRange: Message_ProgressRange): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class BRepMesh_IncrementalMesh extends BRepMesh_DiscretRoot { - Perform_1(theRange: Message_ProgressRange): void; - Perform_2(theContext: any, theRange: Message_ProgressRange): void; - Parameters(): IMeshTools_Parameters; - ChangeParameters(): IMeshTools_Parameters; - IsModified(): Standard_Boolean; - GetStatusFlags(): Graphic3d_ZLayerId; - static Discret(theShape: TopoDS_Shape, theLinDeflection: Standard_Real, theAngDeflection: Standard_Real, theAlgo: BRepMesh_DiscretRoot): Graphic3d_ZLayerId; - static IsParallelDefault(): Standard_Boolean; - static SetParallelDefault(isInParallel: Standard_Boolean): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class BRepMesh_IncrementalMesh_1 extends BRepMesh_IncrementalMesh { - constructor(); - } - - export declare class BRepMesh_IncrementalMesh_2 extends BRepMesh_IncrementalMesh { - constructor(theShape: TopoDS_Shape, theLinDeflection: Standard_Real, isRelative: Standard_Boolean, theAngDeflection: Standard_Real, isInParallel: Standard_Boolean); - } - - export declare class BRepMesh_IncrementalMesh_3 extends BRepMesh_IncrementalMesh { - constructor(theShape: TopoDS_Shape, theParameters: IMeshTools_Parameters, theRange: Message_ProgressRange); - } - -export declare type BRepOffset_Mode = { - BRepOffset_Skin: {}; - BRepOffset_Pipe: {}; - BRepOffset_RectoVerso: {}; -} - -export declare class BRepOffsetAPI_MakeFilling extends BRepBuilderAPI_MakeShape { - constructor(Degree: Graphic3d_ZLayerId, NbPtsOnCur: Graphic3d_ZLayerId, NbIter: Graphic3d_ZLayerId, Anisotropie: Standard_Boolean, Tol2d: Standard_Real, Tol3d: Standard_Real, TolAng: Standard_Real, TolCurv: Standard_Real, MaxDeg: Graphic3d_ZLayerId, MaxSegments: Graphic3d_ZLayerId) - SetConstrParam(Tol2d: Standard_Real, Tol3d: Standard_Real, TolAng: Standard_Real, TolCurv: Standard_Real): void; - SetResolParam(Degree: Graphic3d_ZLayerId, NbPtsOnCur: Graphic3d_ZLayerId, NbIter: Graphic3d_ZLayerId, Anisotropie: Standard_Boolean): void; - SetApproxParam(MaxDeg: Graphic3d_ZLayerId, MaxSegments: Graphic3d_ZLayerId): void; - LoadInitSurface(Surf: TopoDS_Face): void; - Add_1(Constr: TopoDS_Edge, Order: GeomAbs_Shape, IsBound: Standard_Boolean): Graphic3d_ZLayerId; - Add_2(Constr: TopoDS_Edge, Support: TopoDS_Face, Order: GeomAbs_Shape, IsBound: Standard_Boolean): Graphic3d_ZLayerId; - Add_3(Support: TopoDS_Face, Order: GeomAbs_Shape): Graphic3d_ZLayerId; - Add_4(Point: gp_Pnt): Graphic3d_ZLayerId; - Add_5(U: Standard_Real, V: Standard_Real, Support: TopoDS_Face, Order: GeomAbs_Shape): Graphic3d_ZLayerId; - Build(theRange: Message_ProgressRange): void; - IsDone(): Standard_Boolean; - Generated(S: TopoDS_Shape): TopTools_ListOfShape; - G0Error_1(): Standard_Real; - G1Error_1(): Standard_Real; - G2Error_1(): Standard_Real; - G0Error_2(Index: Graphic3d_ZLayerId): Standard_Real; - G1Error_2(Index: Graphic3d_ZLayerId): Standard_Real; - G2Error_2(Index: Graphic3d_ZLayerId): Standard_Real; - delete(): void; -} - -export declare class BRepOffsetAPI_MakeOffset extends BRepBuilderAPI_MakeShape { - Init_1(Spine: TopoDS_Face, Join: GeomAbs_JoinType, IsOpenResult: Standard_Boolean): void; - Init_2(Join: GeomAbs_JoinType, IsOpenResult: Standard_Boolean): void; - AddWire(Spine: TopoDS_Wire): void; - Perform(Offset: Standard_Real, Alt: Standard_Real): void; - Build(theRange: Message_ProgressRange): void; - Generated(S: TopoDS_Shape): TopTools_ListOfShape; - delete(): void; -} - - export declare class BRepOffsetAPI_MakeOffset_1 extends BRepOffsetAPI_MakeOffset { - constructor(); - } - - export declare class BRepOffsetAPI_MakeOffset_2 extends BRepOffsetAPI_MakeOffset { - constructor(Spine: TopoDS_Face, Join: GeomAbs_JoinType, IsOpenResult: Standard_Boolean); - } - - export declare class BRepOffsetAPI_MakeOffset_3 extends BRepOffsetAPI_MakeOffset { - constructor(Spine: TopoDS_Wire, Join: GeomAbs_JoinType, IsOpenResult: Standard_Boolean); - } - -export declare class BRepOffsetAPI_MakeOffsetShape extends BRepBuilderAPI_MakeShape { - constructor() - PerformBySimple(theS: TopoDS_Shape, theOffsetValue: Standard_Real): void; - PerformByJoin(S: TopoDS_Shape, Offset: Standard_Real, Tol: Standard_Real, Mode: BRepOffset_Mode, Intersection: Standard_Boolean, SelfInter: Standard_Boolean, Join: GeomAbs_JoinType, RemoveIntEdges: Standard_Boolean, theRange: Message_ProgressRange): void; - MakeOffset(): BRepOffset_MakeOffset; - Build(theRange: Message_ProgressRange): void; - Generated(S: TopoDS_Shape): TopTools_ListOfShape; - Modified(S: TopoDS_Shape): TopTools_ListOfShape; - IsDeleted(S: TopoDS_Shape): Standard_Boolean; - GetJoinType(): GeomAbs_JoinType; - delete(): void; -} - -export declare class BRepOffsetAPI_MakePipe extends BRepPrimAPI_MakeSweep { - Pipe(): BRepFill_Pipe; - Build(theRange: Message_ProgressRange): void; - FirstShape(): TopoDS_Shape; - LastShape(): TopoDS_Shape; - Generated_1(S: TopoDS_Shape): TopTools_ListOfShape; - Generated_2(SSpine: TopoDS_Shape, SProfile: TopoDS_Shape): TopoDS_Shape; - ErrorOnSurface(): Standard_Real; - delete(): void; -} - - export declare class BRepOffsetAPI_MakePipe_1 extends BRepOffsetAPI_MakePipe { - constructor(Spine: TopoDS_Wire, Profile: TopoDS_Shape); - } - - export declare class BRepOffsetAPI_MakePipe_2 extends BRepOffsetAPI_MakePipe { - constructor(Spine: TopoDS_Wire, Profile: TopoDS_Shape, aMode: GeomFill_Trihedron, ForceApproxC1: Standard_Boolean); - } - -export declare class BRepOffsetAPI_MakePipeShell extends BRepPrimAPI_MakeSweep { - constructor(Spine: TopoDS_Wire) - SetMode_1(IsFrenet: Standard_Boolean): void; - SetDiscreteMode(): void; - SetMode_2(Axe: gp_Ax2): void; - SetMode_3(BiNormal: gp_Dir): void; - SetMode_4(SpineSupport: TopoDS_Shape): Standard_Boolean; - SetMode_5(AuxiliarySpine: TopoDS_Wire, CurvilinearEquivalence: Standard_Boolean, KeepContact: BRepFill_TypeOfContact): void; - Add_1(Profile: TopoDS_Shape, WithContact: Standard_Boolean, WithCorrection: Standard_Boolean): void; - Add_2(Profile: TopoDS_Shape, Location: TopoDS_Vertex, WithContact: Standard_Boolean, WithCorrection: Standard_Boolean): void; - SetLaw_1(Profile: TopoDS_Shape, L: Handle_Law_Function, WithContact: Standard_Boolean, WithCorrection: Standard_Boolean): void; - SetLaw_2(Profile: TopoDS_Shape, L: Handle_Law_Function, Location: TopoDS_Vertex, WithContact: Standard_Boolean, WithCorrection: Standard_Boolean): void; - Delete(Profile: TopoDS_Shape): void; - IsReady(): Standard_Boolean; - GetStatus(): BRepBuilderAPI_PipeError; - SetTolerance(Tol3d: Standard_Real, BoundTol: Standard_Real, TolAngular: Standard_Real): void; - SetMaxDegree(NewMaxDegree: Graphic3d_ZLayerId): void; - SetMaxSegments(NewMaxSegments: Graphic3d_ZLayerId): void; - SetForceApproxC1(ForceApproxC1: Standard_Boolean): void; - SetTransitionMode(Mode: BRepBuilderAPI_TransitionMode): void; - Simulate(NumberOfSection: Graphic3d_ZLayerId, Result: TopTools_ListOfShape): void; - Build(theRange: Message_ProgressRange): void; - MakeSolid(): Standard_Boolean; - FirstShape(): TopoDS_Shape; - LastShape(): TopoDS_Shape; - Generated(S: TopoDS_Shape): TopTools_ListOfShape; - ErrorOnSurface(): Standard_Real; - Profiles(theProfiles: TopTools_ListOfShape): void; - Spine(): TopoDS_Wire; - delete(): void; -} - -export declare class BRepOffsetAPI_MakeThickSolid extends BRepOffsetAPI_MakeOffsetShape { - constructor() - MakeThickSolidBySimple(theS: TopoDS_Shape, theOffsetValue: Standard_Real): void; - MakeThickSolidByJoin(S: TopoDS_Shape, ClosingFaces: TopTools_ListOfShape, Offset: Standard_Real, Tol: Standard_Real, Mode: BRepOffset_Mode, Intersection: Standard_Boolean, SelfInter: Standard_Boolean, Join: GeomAbs_JoinType, RemoveIntEdges: Standard_Boolean, theRange: Message_ProgressRange): void; - Build(theRange: Message_ProgressRange): void; - Modified(S: TopoDS_Shape): TopTools_ListOfShape; - delete(): void; -} - -export declare class BRepOffsetAPI_ThruSections extends BRepBuilderAPI_MakeShape { - constructor(isSolid: Standard_Boolean, ruled: Standard_Boolean, pres3d: Standard_Real) - Init(isSolid: Standard_Boolean, ruled: Standard_Boolean, pres3d: Standard_Real): void; - AddWire(wire: TopoDS_Wire): void; - AddVertex(aVertex: TopoDS_Vertex): void; - CheckCompatibility(check: Standard_Boolean): void; - SetSmoothing(UseSmoothing: Standard_Boolean): void; - SetParType(ParType: Approx_ParametrizationType): void; - SetContinuity(C: GeomAbs_Shape): void; - SetCriteriumWeight(W1: Standard_Real, W2: Standard_Real, W3: Standard_Real): void; - SetMaxDegree(MaxDeg: Graphic3d_ZLayerId): void; - ParType(): Approx_ParametrizationType; - Continuity(): GeomAbs_Shape; - MaxDegree(): Graphic3d_ZLayerId; - UseSmoothing(): Standard_Boolean; - CriteriumWeight(W1: Standard_Real, W2: Standard_Real, W3: Standard_Real): void; - Build(theRange: Message_ProgressRange): void; - FirstShape(): TopoDS_Shape; - LastShape(): TopoDS_Shape; - GeneratedFace(Edge: TopoDS_Shape): TopoDS_Shape; - Generated(S: TopoDS_Shape): TopTools_ListOfShape; - Wires(): TopTools_ListOfShape; - delete(): void; -} - -export declare class BRepPrimAPI_MakeBox extends BRepBuilderAPI_MakeShape { - Init_1(theDX: Standard_Real, theDY: Standard_Real, theDZ: Standard_Real): void; - Init_2(thePnt: gp_Pnt, theDX: Standard_Real, theDY: Standard_Real, theDZ: Standard_Real): void; - Init_3(thePnt1: gp_Pnt, thePnt2: gp_Pnt): void; - Init_4(theAxes: gp_Ax2, theDX: Standard_Real, theDY: Standard_Real, theDZ: Standard_Real): void; - Wedge(): BRepPrim_Wedge; - Build(theRange: Message_ProgressRange): void; - Shell(): TopoDS_Shell; - Solid(): TopoDS_Solid; - BottomFace(): TopoDS_Face; - BackFace(): TopoDS_Face; - FrontFace(): TopoDS_Face; - LeftFace(): TopoDS_Face; - RightFace(): TopoDS_Face; - TopFace(): TopoDS_Face; - delete(): void; -} - - export declare class BRepPrimAPI_MakeBox_1 extends BRepPrimAPI_MakeBox { - constructor(); - } - - export declare class BRepPrimAPI_MakeBox_2 extends BRepPrimAPI_MakeBox { - constructor(dx: Standard_Real, dy: Standard_Real, dz: Standard_Real); - } - - export declare class BRepPrimAPI_MakeBox_3 extends BRepPrimAPI_MakeBox { - constructor(P: gp_Pnt, dx: Standard_Real, dy: Standard_Real, dz: Standard_Real); - } - - export declare class BRepPrimAPI_MakeBox_4 extends BRepPrimAPI_MakeBox { - constructor(P1: gp_Pnt, P2: gp_Pnt); - } - - export declare class BRepPrimAPI_MakeBox_5 extends BRepPrimAPI_MakeBox { - constructor(Axes: gp_Ax2, dx: Standard_Real, dy: Standard_Real, dz: Standard_Real); - } - -export declare class BRepPrimAPI_MakeCylinder extends BRepPrimAPI_MakeOneAxis { - OneAxis(): Standard_Address; - Cylinder(): BRepPrim_Cylinder; - delete(): void; -} - - export declare class BRepPrimAPI_MakeCylinder_1 extends BRepPrimAPI_MakeCylinder { - constructor(R: Standard_Real, H: Standard_Real); - } - - export declare class BRepPrimAPI_MakeCylinder_2 extends BRepPrimAPI_MakeCylinder { - constructor(R: Standard_Real, H: Standard_Real, Angle: Standard_Real); - } - - export declare class BRepPrimAPI_MakeCylinder_3 extends BRepPrimAPI_MakeCylinder { - constructor(Axes: gp_Ax2, R: Standard_Real, H: Standard_Real); - } - - export declare class BRepPrimAPI_MakeCylinder_4 extends BRepPrimAPI_MakeCylinder { - constructor(Axes: gp_Ax2, R: Standard_Real, H: Standard_Real, Angle: Standard_Real); - } - -export declare class BRepPrimAPI_MakeOneAxis extends BRepBuilderAPI_MakeShape { - OneAxis(): Standard_Address; - Build(theRange: Message_ProgressRange): void; - Face(): TopoDS_Face; - Shell(): TopoDS_Shell; - Solid(): TopoDS_Solid; - delete(): void; -} - -export declare class BRepPrimAPI_MakePrism extends BRepPrimAPI_MakeSweep { - Prism(): BRepSweep_Prism; - Build(theRange: Message_ProgressRange): void; - FirstShape_1(): TopoDS_Shape; - LastShape_1(): TopoDS_Shape; - Generated(S: TopoDS_Shape): TopTools_ListOfShape; - IsDeleted(S: TopoDS_Shape): Standard_Boolean; - FirstShape_2(theShape: TopoDS_Shape): TopoDS_Shape; - LastShape_2(theShape: TopoDS_Shape): TopoDS_Shape; - delete(): void; -} - - export declare class BRepPrimAPI_MakePrism_1 extends BRepPrimAPI_MakePrism { - constructor(S: TopoDS_Shape, V: gp_Vec, Copy: Standard_Boolean, Canonize: Standard_Boolean); - } - - export declare class BRepPrimAPI_MakePrism_2 extends BRepPrimAPI_MakePrism { - constructor(S: TopoDS_Shape, D: gp_Dir, Inf: Standard_Boolean, Copy: Standard_Boolean, Canonize: Standard_Boolean); - } - -export declare class BRepPrimAPI_MakeRevol extends BRepPrimAPI_MakeSweep { - Revol(): BRepSweep_Revol; - Build(theRange: Message_ProgressRange): void; - FirstShape_1(): TopoDS_Shape; - LastShape_1(): TopoDS_Shape; - Generated(S: TopoDS_Shape): TopTools_ListOfShape; - IsDeleted(S: TopoDS_Shape): Standard_Boolean; - FirstShape_2(theShape: TopoDS_Shape): TopoDS_Shape; - LastShape_2(theShape: TopoDS_Shape): TopoDS_Shape; - HasDegenerated(): Standard_Boolean; - Degenerated(): TopTools_ListOfShape; - delete(): void; -} - - export declare class BRepPrimAPI_MakeRevol_1 extends BRepPrimAPI_MakeRevol { - constructor(S: TopoDS_Shape, A: gp_Ax1, D: Standard_Real, Copy: Standard_Boolean); - } - - export declare class BRepPrimAPI_MakeRevol_2 extends BRepPrimAPI_MakeRevol { - constructor(S: TopoDS_Shape, A: gp_Ax1, Copy: Standard_Boolean); - } - -export declare class BRepPrimAPI_MakeRevolution extends BRepPrimAPI_MakeOneAxis { - OneAxis(): Standard_Address; - Revolution(): BRepPrim_Revolution; - delete(): void; -} - - export declare class BRepPrimAPI_MakeRevolution_1 extends BRepPrimAPI_MakeRevolution { - constructor(Meridian: Handle_Geom_Curve); - } - - export declare class BRepPrimAPI_MakeRevolution_2 extends BRepPrimAPI_MakeRevolution { - constructor(Meridian: Handle_Geom_Curve, angle: Standard_Real); - } - - export declare class BRepPrimAPI_MakeRevolution_3 extends BRepPrimAPI_MakeRevolution { - constructor(Meridian: Handle_Geom_Curve, VMin: Standard_Real, VMax: Standard_Real); - } - - export declare class BRepPrimAPI_MakeRevolution_4 extends BRepPrimAPI_MakeRevolution { - constructor(Meridian: Handle_Geom_Curve, VMin: Standard_Real, VMax: Standard_Real, angle: Standard_Real); - } - - export declare class BRepPrimAPI_MakeRevolution_5 extends BRepPrimAPI_MakeRevolution { - constructor(Axes: gp_Ax2, Meridian: Handle_Geom_Curve); - } - - export declare class BRepPrimAPI_MakeRevolution_6 extends BRepPrimAPI_MakeRevolution { - constructor(Axes: gp_Ax2, Meridian: Handle_Geom_Curve, angle: Standard_Real); - } - - export declare class BRepPrimAPI_MakeRevolution_7 extends BRepPrimAPI_MakeRevolution { - constructor(Axes: gp_Ax2, Meridian: Handle_Geom_Curve, VMin: Standard_Real, VMax: Standard_Real); - } - - export declare class BRepPrimAPI_MakeRevolution_8 extends BRepPrimAPI_MakeRevolution { - constructor(Axes: gp_Ax2, Meridian: Handle_Geom_Curve, VMin: Standard_Real, VMax: Standard_Real, angle: Standard_Real); - } - -export declare class BRepPrimAPI_MakeSphere extends BRepPrimAPI_MakeOneAxis { - OneAxis(): Standard_Address; - Sphere(): BRepPrim_Sphere; - delete(): void; -} - - export declare class BRepPrimAPI_MakeSphere_1 extends BRepPrimAPI_MakeSphere { - constructor(R: Standard_Real); - } - - export declare class BRepPrimAPI_MakeSphere_2 extends BRepPrimAPI_MakeSphere { - constructor(R: Standard_Real, angle: Standard_Real); - } - - export declare class BRepPrimAPI_MakeSphere_3 extends BRepPrimAPI_MakeSphere { - constructor(R: Standard_Real, angle1: Standard_Real, angle2: Standard_Real); - } - - export declare class BRepPrimAPI_MakeSphere_4 extends BRepPrimAPI_MakeSphere { - constructor(R: Standard_Real, angle1: Standard_Real, angle2: Standard_Real, angle3: Standard_Real); - } - - export declare class BRepPrimAPI_MakeSphere_5 extends BRepPrimAPI_MakeSphere { - constructor(Center: gp_Pnt, R: Standard_Real); - } - - export declare class BRepPrimAPI_MakeSphere_6 extends BRepPrimAPI_MakeSphere { - constructor(Center: gp_Pnt, R: Standard_Real, angle: Standard_Real); - } - - export declare class BRepPrimAPI_MakeSphere_7 extends BRepPrimAPI_MakeSphere { - constructor(Center: gp_Pnt, R: Standard_Real, angle1: Standard_Real, angle2: Standard_Real); - } - - export declare class BRepPrimAPI_MakeSphere_8 extends BRepPrimAPI_MakeSphere { - constructor(Center: gp_Pnt, R: Standard_Real, angle1: Standard_Real, angle2: Standard_Real, angle3: Standard_Real); - } - - export declare class BRepPrimAPI_MakeSphere_9 extends BRepPrimAPI_MakeSphere { - constructor(Axis: gp_Ax2, R: Standard_Real); - } - - export declare class BRepPrimAPI_MakeSphere_10 extends BRepPrimAPI_MakeSphere { - constructor(Axis: gp_Ax2, R: Standard_Real, angle: Standard_Real); - } - - export declare class BRepPrimAPI_MakeSphere_11 extends BRepPrimAPI_MakeSphere { - constructor(Axis: gp_Ax2, R: Standard_Real, angle1: Standard_Real, angle2: Standard_Real); - } - - export declare class BRepPrimAPI_MakeSphere_12 extends BRepPrimAPI_MakeSphere { - constructor(Axis: gp_Ax2, R: Standard_Real, angle1: Standard_Real, angle2: Standard_Real, angle3: Standard_Real); - } - -export declare class BRepPrimAPI_MakeSweep extends BRepBuilderAPI_MakeShape { - FirstShape(): TopoDS_Shape; - LastShape(): TopoDS_Shape; - delete(): void; -} - -export declare class BRepPrimAPI_MakeTorus extends BRepPrimAPI_MakeOneAxis { - OneAxis(): Standard_Address; - Torus(): BRepPrim_Torus; - delete(): void; -} - - export declare class BRepPrimAPI_MakeTorus_1 extends BRepPrimAPI_MakeTorus { - constructor(R1: Standard_Real, R2: Standard_Real); - } - - export declare class BRepPrimAPI_MakeTorus_2 extends BRepPrimAPI_MakeTorus { - constructor(R1: Standard_Real, R2: Standard_Real, angle: Standard_Real); - } - - export declare class BRepPrimAPI_MakeTorus_3 extends BRepPrimAPI_MakeTorus { - constructor(R1: Standard_Real, R2: Standard_Real, angle1: Standard_Real, angle2: Standard_Real); - } - - export declare class BRepPrimAPI_MakeTorus_4 extends BRepPrimAPI_MakeTorus { - constructor(R1: Standard_Real, R2: Standard_Real, angle1: Standard_Real, angle2: Standard_Real, angle: Standard_Real); - } - - export declare class BRepPrimAPI_MakeTorus_5 extends BRepPrimAPI_MakeTorus { - constructor(Axes: gp_Ax2, R1: Standard_Real, R2: Standard_Real); - } - - export declare class BRepPrimAPI_MakeTorus_6 extends BRepPrimAPI_MakeTorus { - constructor(Axes: gp_Ax2, R1: Standard_Real, R2: Standard_Real, angle: Standard_Real); - } - - export declare class BRepPrimAPI_MakeTorus_7 extends BRepPrimAPI_MakeTorus { - constructor(Axes: gp_Ax2, R1: Standard_Real, R2: Standard_Real, angle1: Standard_Real, angle2: Standard_Real); - } - - export declare class BRepPrimAPI_MakeTorus_8 extends BRepPrimAPI_MakeTorus { - constructor(Axes: gp_Ax2, R1: Standard_Real, R2: Standard_Real, angle1: Standard_Real, angle2: Standard_Real, angle: Standard_Real); - } - -export declare class BRepTools { - constructor(); - static UVBounds_1(F: TopoDS_Face, UMin: Standard_Real, UMax: Standard_Real, VMin: Standard_Real, VMax: Standard_Real): void; - static UVBounds_2(F: TopoDS_Face, W: TopoDS_Wire, UMin: Standard_Real, UMax: Standard_Real, VMin: Standard_Real, VMax: Standard_Real): void; - static UVBounds_3(F: TopoDS_Face, E: TopoDS_Edge, UMin: Standard_Real, UMax: Standard_Real, VMin: Standard_Real, VMax: Standard_Real): void; - static AddUVBounds_1(F: TopoDS_Face, B: Bnd_Box2d): void; - static AddUVBounds_2(F: TopoDS_Face, W: TopoDS_Wire, B: Bnd_Box2d): void; - static AddUVBounds_3(F: TopoDS_Face, E: TopoDS_Edge, B: Bnd_Box2d): void; - static Update_1(V: TopoDS_Vertex): void; - static Update_2(E: TopoDS_Edge): void; - static Update_3(W: TopoDS_Wire): void; - static Update_4(F: TopoDS_Face): void; - static Update_5(S: TopoDS_Shell): void; - static Update_6(S: TopoDS_Solid): void; - static Update_7(C: TopoDS_CompSolid): void; - static Update_8(C: TopoDS_Compound): void; - static Update_9(S: TopoDS_Shape): void; - static UpdateFaceUVPoints(theF: TopoDS_Face): void; - static Clean(theShape: TopoDS_Shape, theForce: Standard_Boolean): void; - static CleanGeometry(theShape: TopoDS_Shape): void; - static RemoveUnusedPCurves(S: TopoDS_Shape): void; - static Triangulation(theShape: TopoDS_Shape, theLinDefl: Standard_Real, theToCheckFreeEdges: Standard_Boolean): Standard_Boolean; - static LoadTriangulation(theShape: TopoDS_Shape, theTriangulationIdx: Graphic3d_ZLayerId, theToSetAsActive: Standard_Boolean, theFileSystem: any): Standard_Boolean; - static UnloadTriangulation(theShape: TopoDS_Shape, theTriangulationIdx: Graphic3d_ZLayerId): Standard_Boolean; - static ActivateTriangulation(theShape: TopoDS_Shape, theTriangulationIdx: Graphic3d_ZLayerId, theToActivateStrictly: Standard_Boolean): Standard_Boolean; - static LoadAllTriangulations(theShape: TopoDS_Shape, theFileSystem: any): Standard_Boolean; - static UnloadAllTriangulations(theShape: TopoDS_Shape): Standard_Boolean; - static Compare_1(V1: TopoDS_Vertex, V2: TopoDS_Vertex): Standard_Boolean; - static Compare_2(E1: TopoDS_Edge, E2: TopoDS_Edge): Standard_Boolean; - static OuterWire(F: TopoDS_Face): TopoDS_Wire; - static Map3DEdges(S: TopoDS_Shape, M: TopTools_IndexedMapOfShape): void; - static IsReallyClosed(E: TopoDS_Edge, F: TopoDS_Face): Standard_Boolean; - static DetectClosedness(theFace: TopoDS_Face, theUclosed: Standard_Boolean, theVclosed: Standard_Boolean): void; - static Dump(Sh: TopoDS_Shape, S: Standard_OStream): void; - static Write_1(theShape: TopoDS_Shape, theStream: Standard_OStream, theProgress: Message_ProgressRange): void; - static Write_2(theShape: TopoDS_Shape, theStream: Standard_OStream, theWithTriangles: Standard_Boolean, theWithNormals: Standard_Boolean, theVersion: TopTools_FormatVersion, theProgress: Message_ProgressRange): void; - static Read_1(Sh: TopoDS_Shape, S: Standard_IStream, B: BRep_Builder, theProgress: Message_ProgressRange): void; - static Write_3(theShape: TopoDS_Shape, theFile: Standard_CString, theProgress: Message_ProgressRange): Standard_Boolean; - static Write_4(theShape: TopoDS_Shape, theFile: Standard_CString, theWithTriangles: Standard_Boolean, theWithNormals: Standard_Boolean, theVersion: TopTools_FormatVersion, theProgress: Message_ProgressRange): Standard_Boolean; - static Read_2(Sh: TopoDS_Shape, File: Standard_CString, B: BRep_Builder, theProgress: Message_ProgressRange): Standard_Boolean; - static EvalAndUpdateTol(theE: TopoDS_Edge, theC3d: Handle_Geom_Curve, theC2d: Handle_Geom2d_Curve, theS: Handle_Geom_Surface, theF: Standard_Real, theL: Standard_Real): Standard_Real; - static OriEdgeInFace(theEdge: TopoDS_Edge, theFace: TopoDS_Face): TopAbs_Orientation; - static RemoveInternals(theS: TopoDS_Shape, theForce: Standard_Boolean): void; - static CheckLocations(theS: TopoDS_Shape, theProblemShapes: TopTools_ListOfShape): void; - delete(): void; -} - -export declare class Bnd_Box { - SetWhole(): void; - SetVoid(): void; - Set_1(P: gp_Pnt): void; - Set_2(P: gp_Pnt, D: gp_Dir): void; - Update_1(aXmin: Standard_Real, aYmin: Standard_Real, aZmin: Standard_Real, aXmax: Standard_Real, aYmax: Standard_Real, aZmax: Standard_Real): void; - Update_2(X: Standard_Real, Y: Standard_Real, Z: Standard_Real): void; - GetGap(): Standard_Real; - SetGap(Tol: Standard_Real): void; - Enlarge(Tol: Standard_Real): void; - Get(theXmin: Standard_Real, theYmin: Standard_Real, theZmin: Standard_Real, theXmax: Standard_Real, theYmax: Standard_Real, theZmax: Standard_Real): void; - CornerMin(): gp_Pnt; - CornerMax(): gp_Pnt; - OpenXmin(): void; - OpenXmax(): void; - OpenYmin(): void; - OpenYmax(): void; - OpenZmin(): void; - OpenZmax(): void; - IsOpen(): Standard_Boolean; - IsOpenXmin(): Standard_Boolean; - IsOpenXmax(): Standard_Boolean; - IsOpenYmin(): Standard_Boolean; - IsOpenYmax(): Standard_Boolean; - IsOpenZmin(): Standard_Boolean; - IsOpenZmax(): Standard_Boolean; - IsWhole(): Standard_Boolean; - IsVoid(): Standard_Boolean; - IsXThin(tol: Standard_Real): Standard_Boolean; - IsYThin(tol: Standard_Real): Standard_Boolean; - IsZThin(tol: Standard_Real): Standard_Boolean; - IsThin(tol: Standard_Real): Standard_Boolean; - Transformed(T: gp_Trsf): Bnd_Box; - Add_1(Other: Bnd_Box): void; - Add_2(P: gp_Pnt): void; - Add_3(P: gp_Pnt, D: gp_Dir): void; - Add_4(D: gp_Dir): void; - IsOut_1(P: gp_Pnt): Standard_Boolean; - IsOut_2(L: gp_Lin): Standard_Boolean; - IsOut_3(P: gp_Pln): Standard_Boolean; - IsOut_4(Other: Bnd_Box): Standard_Boolean; - IsOut_5(Other: Bnd_Box, T: gp_Trsf): Standard_Boolean; - IsOut_6(T1: gp_Trsf, Other: Bnd_Box, T2: gp_Trsf): Standard_Boolean; - IsOut_7(P1: gp_Pnt, P2: gp_Pnt, D: gp_Dir): Standard_Boolean; - Distance(Other: Bnd_Box): Standard_Real; - Dump(): void; - SquareExtent(): Standard_Real; - FinitePart(): Bnd_Box; - HasFinitePart(): Standard_Boolean; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - InitFromJson(theSStream: Standard_SStream, theStreamPos: Graphic3d_ZLayerId): Standard_Boolean; - delete(): void; -} - - export declare class Bnd_Box_1 extends Bnd_Box { - constructor(); - } - - export declare class Bnd_Box_2 extends Bnd_Box { - constructor(theMin: gp_Pnt, theMax: gp_Pnt); - } - -export declare class Bnd_Box2d { - constructor() - SetWhole(): void; - SetVoid(): void; - Set_1(thePnt: gp_Pnt2d): void; - Set_2(thePnt: gp_Pnt2d, theDir: gp_Dir2d): void; - Update_1(aXmin: Standard_Real, aYmin: Standard_Real, aXmax: Standard_Real, aYmax: Standard_Real): void; - Update_2(X: Standard_Real, Y: Standard_Real): void; - GetGap(): Standard_Real; - SetGap(Tol: Standard_Real): void; - Enlarge(theTol: Standard_Real): void; - Get(aXmin: Standard_Real, aYmin: Standard_Real, aXmax: Standard_Real, aYmax: Standard_Real): void; - OpenXmin(): void; - OpenXmax(): void; - OpenYmin(): void; - OpenYmax(): void; - IsOpenXmin(): Standard_Boolean; - IsOpenXmax(): Standard_Boolean; - IsOpenYmin(): Standard_Boolean; - IsOpenYmax(): Standard_Boolean; - IsWhole(): Standard_Boolean; - IsVoid(): Standard_Boolean; - Transformed(T: gp_Trsf2d): Bnd_Box2d; - Add_1(Other: Bnd_Box2d): void; - Add_2(thePnt: gp_Pnt2d): void; - Add_3(thePnt: gp_Pnt2d, theDir: gp_Dir2d): void; - Add_4(D: gp_Dir2d): void; - IsOut_1(P: gp_Pnt2d): Standard_Boolean; - IsOut_2(theL: gp_Lin2d): Standard_Boolean; - IsOut_3(theP0: gp_Pnt2d, theP1: gp_Pnt2d): Standard_Boolean; - IsOut_4(Other: Bnd_Box2d): Standard_Boolean; - IsOut_5(theOther: Bnd_Box2d, theTrsf: gp_Trsf2d): Standard_Boolean; - IsOut_6(T1: gp_Trsf2d, Other: Bnd_Box2d, T2: gp_Trsf2d): Standard_Boolean; - Dump(): void; - SquareExtent(): Standard_Real; - delete(): void; -} - -export declare class Bnd_OBB { - ReBuild(theListOfPoints: TColgp_Array1OfPnt, theListOfTolerances: IntTools_CArray1OfReal, theIsOptimal: Standard_Boolean): void; - SetCenter(theCenter: gp_Pnt): void; - SetXComponent(theXDirection: gp_Dir, theHXSize: Standard_Real): void; - SetYComponent(theYDirection: gp_Dir, theHYSize: Standard_Real): void; - SetZComponent(theZDirection: gp_Dir, theHZSize: Standard_Real): void; - Position(): gp_Ax3; - Center(): gp_XYZ; - XDirection(): gp_XYZ; - YDirection(): gp_XYZ; - ZDirection(): gp_XYZ; - XHSize(): Standard_Real; - YHSize(): Standard_Real; - ZHSize(): Standard_Real; - IsVoid(): Standard_Boolean; - SetVoid(): void; - SetAABox(theFlag: Standard_Boolean): void; - IsAABox(): Standard_Boolean; - Enlarge(theGapAdd: Standard_Real): void; - GetVertex(theP: gp_Pnt[8]): Standard_Boolean; - SquareExtent(): Standard_Real; - IsOut_1(theOther: Bnd_OBB): Standard_Boolean; - IsOut_2(theP: gp_Pnt): Standard_Boolean; - IsCompletelyInside(theOther: Bnd_OBB): Standard_Boolean; - Add_1(theOther: Bnd_OBB): void; - Add_2(theP: gp_Pnt): void; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - delete(): void; -} - - export declare class Bnd_OBB_1 extends Bnd_OBB { - constructor(); - } - - export declare class Bnd_OBB_2 extends Bnd_OBB { - constructor(theCenter: gp_Pnt, theXDirection: gp_Dir, theYDirection: gp_Dir, theZDirection: gp_Dir, theHXSize: Standard_Real, theHYSize: Standard_Real, theHZSize: Standard_Real); - } - - export declare class Bnd_OBB_3 extends Bnd_OBB { - constructor(theBox: Bnd_Box); - } - -export declare class BndLib_Add2dCurve { - constructor(); - static Add_1(C: Adaptor2d_Curve2d, Tol: Standard_Real, B: Bnd_Box2d): void; - static Add_2(C: Adaptor2d_Curve2d, U1: Standard_Real, U2: Standard_Real, Tol: Standard_Real, B: Bnd_Box2d): void; - static Add_3(C: Handle_Geom2d_Curve, Tol: Standard_Real, Box: Bnd_Box2d): void; - static Add_4(C: Handle_Geom2d_Curve, U1: Standard_Real, U2: Standard_Real, Tol: Standard_Real, B: Bnd_Box2d): void; - static AddOptimal(C: Handle_Geom2d_Curve, U1: Standard_Real, U2: Standard_Real, Tol: Standard_Real, B: Bnd_Box2d): void; - delete(): void; -} - -export declare class CDM_Document extends Standard_Transient { - Update_1(aToDocument: Handle_CDM_Document, aReferenceIdentifier: Graphic3d_ZLayerId, aModifContext: Standard_Address): void; - Update_2(ErrorString: TCollection_ExtendedString): Standard_Boolean; - StorageFormat(): TCollection_ExtendedString; - Extensions(Extensions: TColStd_SequenceOfExtendedString): void; - GetAlternativeDocument(aFormat: TCollection_ExtendedString, anAlternativeDocument: Handle_CDM_Document): Standard_Boolean; - CreateReference_1(anOtherDocument: Handle_CDM_Document): Graphic3d_ZLayerId; - RemoveReference(aReferenceIdentifier: Graphic3d_ZLayerId): void; - RemoveAllReferences(): void; - Document(aReferenceIdentifier: Graphic3d_ZLayerId): Handle_CDM_Document; - IsInSession(aReferenceIdentifier: Graphic3d_ZLayerId): Standard_Boolean; - IsStored_1(aReferenceIdentifier: Graphic3d_ZLayerId): Standard_Boolean; - Name(aReferenceIdentifier: Graphic3d_ZLayerId): TCollection_ExtendedString; - UpdateFromDocuments(aModifContext: Standard_Address): void; - ToReferencesNumber(): Graphic3d_ZLayerId; - FromReferencesNumber(): Graphic3d_ZLayerId; - ShallowReferences(aDocument: Handle_CDM_Document): Standard_Boolean; - DeepReferences(aDocument: Handle_CDM_Document): Standard_Boolean; - CopyReference(aFromDocument: Handle_CDM_Document, aReferenceIdentifier: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - IsReadOnly_1(): Standard_Boolean; - IsReadOnly_2(aReferenceIdentifier: Graphic3d_ZLayerId): Standard_Boolean; - SetIsReadOnly(): void; - UnsetIsReadOnly(): void; - Modify(): void; - Modifications(): Graphic3d_ZLayerId; - UnModify(): void; - IsUpToDate(aReferenceIdentifier: Graphic3d_ZLayerId): Standard_Boolean; - SetIsUpToDate(aReferenceIdentifier: Graphic3d_ZLayerId): void; - SetComment(aComment: TCollection_ExtendedString): void; - AddComment(aComment: TCollection_ExtendedString): void; - SetComments(aComments: TColStd_SequenceOfExtendedString): void; - Comments(aComments: TColStd_SequenceOfExtendedString): void; - Comment(): Standard_ExtString; - IsStored_2(): Standard_Boolean; - StorageVersion(): Graphic3d_ZLayerId; - SetMetaData(aMetaData: Handle_CDM_MetaData): void; - UnsetIsStored(): void; - MetaData(): Handle_CDM_MetaData; - Folder(): TCollection_ExtendedString; - SetRequestedFolder(aFolder: TCollection_ExtendedString): void; - RequestedFolder(): TCollection_ExtendedString; - HasRequestedFolder(): Standard_Boolean; - SetRequestedName(aName: TCollection_ExtendedString): void; - RequestedName(): TCollection_ExtendedString; - SetRequestedPreviousVersion(aPreviousVersion: TCollection_ExtendedString): void; - UnsetRequestedPreviousVersion(): void; - HasRequestedPreviousVersion(): Standard_Boolean; - RequestedPreviousVersion(): TCollection_ExtendedString; - SetRequestedComment(aComment: TCollection_ExtendedString): void; - RequestedComment(): TCollection_ExtendedString; - LoadResources(): void; - FindFileExtension(): Standard_Boolean; - FileExtension(): TCollection_ExtendedString; - FindDescription(): Standard_Boolean; - Description(): TCollection_ExtendedString; - IsModified(): Standard_Boolean; - IsOpened_1(): Standard_Boolean; - Open(anApplication: Handle_CDM_Application): void; - CanClose(): CDM_CanCloseStatus; - Close(): void; - Application(): Handle_CDM_Application; - CanCloseReference(aDocument: Handle_CDM_Document, aReferenceIdentifier: Graphic3d_ZLayerId): Standard_Boolean; - CloseReference(aDocument: Handle_CDM_Document, aReferenceIdentifier: Graphic3d_ZLayerId): void; - IsOpened_2(aReferenceIdentifier: Graphic3d_ZLayerId): Standard_Boolean; - CreateReference_2(aMetaData: Handle_CDM_MetaData, aReferenceIdentifier: Graphic3d_ZLayerId, anApplication: Handle_CDM_Application, aToDocumentVersion: Graphic3d_ZLayerId, UseStorageConfiguration: Standard_Boolean): void; - CreateReference_3(aMetaData: Handle_CDM_MetaData, anApplication: Handle_CDM_Application, aDocumentVersion: Graphic3d_ZLayerId, UseStorageConfiguration: Standard_Boolean): Graphic3d_ZLayerId; - ReferenceCounter(): Graphic3d_ZLayerId; - Update_3(): void; - Reference(aReferenceIdentifier: Graphic3d_ZLayerId): Handle_CDM_Reference; - SetModifications(Modifications: Graphic3d_ZLayerId): void; - SetReferenceCounter(aReferenceCounter: Graphic3d_ZLayerId): void; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare type ChFi3d_FilletShape = { - ChFi3d_Rational: {}; - ChFi3d_QuasiAngular: {}; - ChFi3d_Polynomial: {}; -} - -export declare type ChFiDS_ChamfMode = { - ChFiDS_ClassicChamfer: {}; - ChFiDS_ConstThroatChamfer: {}; - ChFiDS_ConstThroatWithPenetrationChamfer: {}; -} - -export declare type Convert_ParameterisationType = { - Convert_TgtThetaOver2: {}; - Convert_TgtThetaOver2_1: {}; - Convert_TgtThetaOver2_2: {}; - Convert_TgtThetaOver2_3: {}; - Convert_TgtThetaOver2_4: {}; - Convert_QuasiAngular: {}; - Convert_RationalC1: {}; - Convert_Polynomial: {}; -} - -export declare type Extrema_ExtAlgo = { - Extrema_ExtAlgo_Grad: {}; - Extrema_ExtAlgo_Tree: {}; -} - -export declare class GC_MakeArcOfCircle extends GC_Root { - Value(): Handle_Geom_TrimmedCurve; - delete(): void; -} - - export declare class GC_MakeArcOfCircle_1 extends GC_MakeArcOfCircle { - constructor(Circ: gp_Circ, Alpha1: Standard_Real, Alpha2: Standard_Real, Sense: Standard_Boolean); - } - - export declare class GC_MakeArcOfCircle_2 extends GC_MakeArcOfCircle { - constructor(Circ: gp_Circ, P: gp_Pnt, Alpha: Standard_Real, Sense: Standard_Boolean); - } - - export declare class GC_MakeArcOfCircle_3 extends GC_MakeArcOfCircle { - constructor(Circ: gp_Circ, P1: gp_Pnt, P2: gp_Pnt, Sense: Standard_Boolean); - } - - export declare class GC_MakeArcOfCircle_4 extends GC_MakeArcOfCircle { - constructor(P1: gp_Pnt, P2: gp_Pnt, P3: gp_Pnt); - } - - export declare class GC_MakeArcOfCircle_5 extends GC_MakeArcOfCircle { - constructor(P1: gp_Pnt, V: gp_Vec, P2: gp_Pnt); - } - -export declare class GC_MakeArcOfEllipse extends GC_Root { - Value(): Handle_Geom_TrimmedCurve; - delete(): void; -} - - export declare class GC_MakeArcOfEllipse_1 extends GC_MakeArcOfEllipse { - constructor(Elips: gp_Elips, Alpha1: Standard_Real, Alpha2: Standard_Real, Sense: Standard_Boolean); - } - - export declare class GC_MakeArcOfEllipse_2 extends GC_MakeArcOfEllipse { - constructor(Elips: gp_Elips, P: gp_Pnt, Alpha: Standard_Real, Sense: Standard_Boolean); - } - - export declare class GC_MakeArcOfEllipse_3 extends GC_MakeArcOfEllipse { - constructor(Elips: gp_Elips, P1: gp_Pnt, P2: gp_Pnt, Sense: Standard_Boolean); - } - -export declare class GC_Root { - constructor(); - IsDone(): Standard_Boolean; - Status(): gce_ErrorType; - delete(): void; -} - -export declare class GCE2d_MakeArcOfCircle extends GCE2d_Root { - Value(): Handle_Geom2d_TrimmedCurve; - delete(): void; -} - - export declare class GCE2d_MakeArcOfCircle_1 extends GCE2d_MakeArcOfCircle { - constructor(Circ: gp_Circ2d, Alpha1: Standard_Real, Alpha2: Standard_Real, Sense: Standard_Boolean); - } - - export declare class GCE2d_MakeArcOfCircle_2 extends GCE2d_MakeArcOfCircle { - constructor(Circ: gp_Circ2d, P: gp_Pnt2d, Alpha: Standard_Real, Sense: Standard_Boolean); - } - - export declare class GCE2d_MakeArcOfCircle_3 extends GCE2d_MakeArcOfCircle { - constructor(Circ: gp_Circ2d, P1: gp_Pnt2d, P2: gp_Pnt2d, Sense: Standard_Boolean); - } - - export declare class GCE2d_MakeArcOfCircle_4 extends GCE2d_MakeArcOfCircle { - constructor(P1: gp_Pnt2d, P2: gp_Pnt2d, P3: gp_Pnt2d); - } - - export declare class GCE2d_MakeArcOfCircle_5 extends GCE2d_MakeArcOfCircle { - constructor(P1: gp_Pnt2d, V: gp_Vec2d, P2: gp_Pnt2d); - } - -export declare class GCE2d_MakeArcOfEllipse extends GCE2d_Root { - Value(): Handle_Geom2d_TrimmedCurve; - delete(): void; -} - - export declare class GCE2d_MakeArcOfEllipse_1 extends GCE2d_MakeArcOfEllipse { - constructor(Elips: gp_Elips2d, Alpha1: Standard_Real, Alpha2: Standard_Real, Sense: Standard_Boolean); - } - - export declare class GCE2d_MakeArcOfEllipse_2 extends GCE2d_MakeArcOfEllipse { - constructor(Elips: gp_Elips2d, P: gp_Pnt2d, Alpha: Standard_Real, Sense: Standard_Boolean); - } - - export declare class GCE2d_MakeArcOfEllipse_3 extends GCE2d_MakeArcOfEllipse { - constructor(Elips: gp_Elips2d, P1: gp_Pnt2d, P2: gp_Pnt2d, Sense: Standard_Boolean); - } - -export declare class GCE2d_MakeCircle extends GCE2d_Root { - Value(): Handle_Geom2d_Circle; - delete(): void; -} - - export declare class GCE2d_MakeCircle_1 extends GCE2d_MakeCircle { - constructor(C: gp_Circ2d); - } - - export declare class GCE2d_MakeCircle_2 extends GCE2d_MakeCircle { - constructor(A: gp_Ax2d, Radius: Standard_Real, Sense: Standard_Boolean); - } - - export declare class GCE2d_MakeCircle_3 extends GCE2d_MakeCircle { - constructor(A: gp_Ax22d, Radius: Standard_Real); - } - - export declare class GCE2d_MakeCircle_4 extends GCE2d_MakeCircle { - constructor(Circ: gp_Circ2d, Dist: Standard_Real); - } - - export declare class GCE2d_MakeCircle_5 extends GCE2d_MakeCircle { - constructor(Circ: gp_Circ2d, Point: gp_Pnt2d); - } - - export declare class GCE2d_MakeCircle_6 extends GCE2d_MakeCircle { - constructor(P1: gp_Pnt2d, P2: gp_Pnt2d, P3: gp_Pnt2d); - } - - export declare class GCE2d_MakeCircle_7 extends GCE2d_MakeCircle { - constructor(P: gp_Pnt2d, Radius: Standard_Real, Sense: Standard_Boolean); - } - - export declare class GCE2d_MakeCircle_8 extends GCE2d_MakeCircle { - constructor(Center: gp_Pnt2d, Point: gp_Pnt2d, Sense: Standard_Boolean); - } - -export declare class GCE2d_MakeEllipse extends GCE2d_Root { - Value(): Handle_Geom2d_Ellipse; - delete(): void; -} - - export declare class GCE2d_MakeEllipse_1 extends GCE2d_MakeEllipse { - constructor(E: gp_Elips2d); - } - - export declare class GCE2d_MakeEllipse_2 extends GCE2d_MakeEllipse { - constructor(MajorAxis: gp_Ax2d, MajorRadius: Standard_Real, MinorRadius: Standard_Real, Sense: Standard_Boolean); - } - - export declare class GCE2d_MakeEllipse_3 extends GCE2d_MakeEllipse { - constructor(Axis: gp_Ax22d, MajorRadius: Standard_Real, MinorRadius: Standard_Real); - } - - export declare class GCE2d_MakeEllipse_4 extends GCE2d_MakeEllipse { - constructor(S1: gp_Pnt2d, S2: gp_Pnt2d, Center: gp_Pnt2d); - } - -export declare class GCE2d_MakeSegment extends GCE2d_Root { - Value(): Handle_Geom2d_TrimmedCurve; - delete(): void; -} - - export declare class GCE2d_MakeSegment_1 extends GCE2d_MakeSegment { - constructor(P1: gp_Pnt2d, P2: gp_Pnt2d); - } - - export declare class GCE2d_MakeSegment_2 extends GCE2d_MakeSegment { - constructor(P1: gp_Pnt2d, V: gp_Dir2d, P2: gp_Pnt2d); - } - - export declare class GCE2d_MakeSegment_3 extends GCE2d_MakeSegment { - constructor(Line: gp_Lin2d, U1: Standard_Real, U2: Standard_Real); - } - - export declare class GCE2d_MakeSegment_4 extends GCE2d_MakeSegment { - constructor(Line: gp_Lin2d, Point: gp_Pnt2d, Ulast: Standard_Real); - } - - export declare class GCE2d_MakeSegment_5 extends GCE2d_MakeSegment { - constructor(Line: gp_Lin2d, P1: gp_Pnt2d, P2: gp_Pnt2d); - } - -export declare class GCE2d_Root { - constructor(); - IsDone(): Standard_Boolean; - Status(): gce_ErrorType; - delete(): void; -} - -export declare class GCPnts_TangentialDeflection { - Initialize_1(theC: Adaptor3d_Curve, theAngularDeflection: Standard_Real, theCurvatureDeflection: Standard_Real, theMinimumOfPoints: Graphic3d_ZLayerId, theUTol: Standard_Real, theMinLen: Standard_Real): void; - Initialize_2(theC: Adaptor3d_Curve, theFirstParameter: Standard_Real, theLastParameter: Standard_Real, theAngularDeflection: Standard_Real, theCurvatureDeflection: Standard_Real, theMinimumOfPoints: Graphic3d_ZLayerId, theUTol: Standard_Real, theMinLen: Standard_Real): void; - Initialize_3(theC: Adaptor2d_Curve2d, theAngularDeflection: Standard_Real, theCurvatureDeflection: Standard_Real, theMinimumOfPoints: Graphic3d_ZLayerId, theUTol: Standard_Real, theMinLen: Standard_Real): void; - Initialize_4(theC: Adaptor2d_Curve2d, theFirstParameter: Standard_Real, theLastParameter: Standard_Real, theAngularDeflection: Standard_Real, theCurvatureDeflection: Standard_Real, theMinimumOfPoints: Graphic3d_ZLayerId, theUTol: Standard_Real, theMinLen: Standard_Real): void; - AddPoint(thePnt: gp_Pnt, theParam: Standard_Real, theIsReplace: Standard_Boolean): Graphic3d_ZLayerId; - NbPoints(): Graphic3d_ZLayerId; - Parameter(I: Graphic3d_ZLayerId): Standard_Real; - Value(I: Graphic3d_ZLayerId): gp_Pnt; - static ArcAngularStep(theRadius: Standard_Real, theLinearDeflection: Standard_Real, theAngularDeflection: Standard_Real, theMinLength: Standard_Real): Standard_Real; - delete(): void; -} - - export declare class GCPnts_TangentialDeflection_1 extends GCPnts_TangentialDeflection { - constructor(); - } - - export declare class GCPnts_TangentialDeflection_2 extends GCPnts_TangentialDeflection { - constructor(theC: Adaptor3d_Curve, theAngularDeflection: Standard_Real, theCurvatureDeflection: Standard_Real, theMinimumOfPoints: Graphic3d_ZLayerId, theUTol: Standard_Real, theMinLen: Standard_Real); - } - - export declare class GCPnts_TangentialDeflection_3 extends GCPnts_TangentialDeflection { - constructor(theC: Adaptor3d_Curve, theFirstParameter: Standard_Real, theLastParameter: Standard_Real, theAngularDeflection: Standard_Real, theCurvatureDeflection: Standard_Real, theMinimumOfPoints: Graphic3d_ZLayerId, theUTol: Standard_Real, theMinLen: Standard_Real); - } - - export declare class GCPnts_TangentialDeflection_4 extends GCPnts_TangentialDeflection { - constructor(theC: Adaptor2d_Curve2d, theAngularDeflection: Standard_Real, theCurvatureDeflection: Standard_Real, theMinimumOfPoints: Graphic3d_ZLayerId, theUTol: Standard_Real, theMinLen: Standard_Real); - } - - export declare class GCPnts_TangentialDeflection_5 extends GCPnts_TangentialDeflection { - constructor(theC: Adaptor2d_Curve2d, theFirstParameter: Standard_Real, theLastParameter: Standard_Real, theAngularDeflection: Standard_Real, theCurvatureDeflection: Standard_Real, theMinimumOfPoints: Graphic3d_ZLayerId, theUTol: Standard_Real, theMinLen: Standard_Real); - } - -export declare class GProp_GProps { - Add(Item: GProp_GProps, Density: Standard_Real): void; - Mass(): Standard_Real; - CentreOfMass(): gp_Pnt; - MatrixOfInertia(): gp_Mat; - StaticMoments(Ix: Standard_Real, Iy: Standard_Real, Iz: Standard_Real): void; - MomentOfInertia(A: gp_Ax1): Standard_Real; - PrincipalProperties(): GProp_PrincipalProps; - RadiusOfGyration(A: gp_Ax1): Standard_Real; - delete(): void; -} - - export declare class GProp_GProps_1 extends GProp_GProps { - constructor(); - } - - export declare class GProp_GProps_2 extends GProp_GProps { - constructor(SystemLocation: gp_Pnt); - } - -export declare class Geom_BSplineCurve extends Geom_BoundedCurve { - IncreaseDegree(Degree: Graphic3d_ZLayerId): void; - IncreaseMultiplicity_1(Index: Graphic3d_ZLayerId, M: Graphic3d_ZLayerId): void; - IncreaseMultiplicity_2(I1: Graphic3d_ZLayerId, I2: Graphic3d_ZLayerId, M: Graphic3d_ZLayerId): void; - IncrementMultiplicity(I1: Graphic3d_ZLayerId, I2: Graphic3d_ZLayerId, M: Graphic3d_ZLayerId): void; - InsertKnot(U: Standard_Real, M: Graphic3d_ZLayerId, ParametricTolerance: Standard_Real, Add: Standard_Boolean): void; - InsertKnots(Knots: IntTools_CArray1OfReal, Mults: TColStd_Array1OfInteger, ParametricTolerance: Standard_Real, Add: Standard_Boolean): void; - RemoveKnot(Index: Graphic3d_ZLayerId, M: Graphic3d_ZLayerId, Tolerance: Standard_Real): Standard_Boolean; - Reverse(): void; - ReversedParameter(U: Standard_Real): Standard_Real; - Segment(U1: Standard_Real, U2: Standard_Real, theTolerance: Standard_Real): void; - SetKnot_1(Index: Graphic3d_ZLayerId, K: Standard_Real): void; - SetKnots(K: IntTools_CArray1OfReal): void; - SetKnot_2(Index: Graphic3d_ZLayerId, K: Standard_Real, M: Graphic3d_ZLayerId): void; - PeriodicNormalization(U: Standard_Real): void; - SetPeriodic(): void; - SetOrigin_1(Index: Graphic3d_ZLayerId): void; - SetOrigin_2(U: Standard_Real, Tol: Standard_Real): void; - SetNotPeriodic(): void; - SetPole_1(Index: Graphic3d_ZLayerId, P: gp_Pnt): void; - SetPole_2(Index: Graphic3d_ZLayerId, P: gp_Pnt, Weight: Standard_Real): void; - SetWeight(Index: Graphic3d_ZLayerId, Weight: Standard_Real): void; - MovePoint(U: Standard_Real, P: gp_Pnt, Index1: Graphic3d_ZLayerId, Index2: Graphic3d_ZLayerId, FirstModifiedPole: Graphic3d_ZLayerId, LastModifiedPole: Graphic3d_ZLayerId): void; - MovePointAndTangent(U: Standard_Real, P: gp_Pnt, Tangent: gp_Vec, Tolerance: Standard_Real, StartingCondition: Graphic3d_ZLayerId, EndingCondition: Graphic3d_ZLayerId, ErrorStatus: Graphic3d_ZLayerId): void; - IsCN(N: Graphic3d_ZLayerId): Standard_Boolean; - IsG1(theTf: Standard_Real, theTl: Standard_Real, theAngTol: Standard_Real): Standard_Boolean; - IsClosed(): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - IsRational(): Standard_Boolean; - Continuity(): GeomAbs_Shape; - Degree(): Graphic3d_ZLayerId; - D0(U: Standard_Real, P: gp_Pnt): void; - D1(U: Standard_Real, P: gp_Pnt, V1: gp_Vec): void; - D2(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec): void; - D3(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec): void; - DN(U: Standard_Real, N: Graphic3d_ZLayerId): gp_Vec; - LocalValue(U: Standard_Real, FromK1: Graphic3d_ZLayerId, ToK2: Graphic3d_ZLayerId): gp_Pnt; - LocalD0(U: Standard_Real, FromK1: Graphic3d_ZLayerId, ToK2: Graphic3d_ZLayerId, P: gp_Pnt): void; - LocalD1(U: Standard_Real, FromK1: Graphic3d_ZLayerId, ToK2: Graphic3d_ZLayerId, P: gp_Pnt, V1: gp_Vec): void; - LocalD2(U: Standard_Real, FromK1: Graphic3d_ZLayerId, ToK2: Graphic3d_ZLayerId, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec): void; - LocalD3(U: Standard_Real, FromK1: Graphic3d_ZLayerId, ToK2: Graphic3d_ZLayerId, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec): void; - LocalDN(U: Standard_Real, FromK1: Graphic3d_ZLayerId, ToK2: Graphic3d_ZLayerId, N: Graphic3d_ZLayerId): gp_Vec; - EndPoint(): gp_Pnt; - FirstUKnotIndex(): Graphic3d_ZLayerId; - FirstParameter(): Standard_Real; - Knot(Index: Graphic3d_ZLayerId): Standard_Real; - Knots_1(K: IntTools_CArray1OfReal): void; - Knots_2(): IntTools_CArray1OfReal; - KnotSequence_1(K: IntTools_CArray1OfReal): void; - KnotSequence_2(): IntTools_CArray1OfReal; - KnotDistribution(): GeomAbs_BSplKnotDistribution; - LastUKnotIndex(): Graphic3d_ZLayerId; - LastParameter(): Standard_Real; - LocateU(U: Standard_Real, ParametricTolerance: Standard_Real, I1: Graphic3d_ZLayerId, I2: Graphic3d_ZLayerId, WithKnotRepetition: Standard_Boolean): void; - Multiplicity(Index: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - Multiplicities_1(M: TColStd_Array1OfInteger): void; - Multiplicities_2(): TColStd_Array1OfInteger; - NbKnots(): Graphic3d_ZLayerId; - NbPoles(): Graphic3d_ZLayerId; - Pole(Index: Graphic3d_ZLayerId): gp_Pnt; - Poles_1(P: TColgp_Array1OfPnt): void; - Poles_2(): TColgp_Array1OfPnt; - StartPoint(): gp_Pnt; - Weight(Index: Graphic3d_ZLayerId): Standard_Real; - Weights_1(W: IntTools_CArray1OfReal): void; - Weights_2(): IntTools_CArray1OfReal; - Transform(T: gp_Trsf): void; - static MaxDegree(): Graphic3d_ZLayerId; - Resolution(Tolerance3D: Standard_Real, UTolerance: Standard_Real): void; - Copy(): Handle_Geom_Geometry; - IsEqual(theOther: Handle_Geom_BSplineCurve, thePreci: Standard_Real): Standard_Boolean; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class Geom_BSplineCurve_1 extends Geom_BSplineCurve { - constructor(Poles: TColgp_Array1OfPnt, Knots: IntTools_CArray1OfReal, Multiplicities: TColStd_Array1OfInteger, Degree: Graphic3d_ZLayerId, Periodic: Standard_Boolean); - } - - export declare class Geom_BSplineCurve_2 extends Geom_BSplineCurve { - constructor(Poles: TColgp_Array1OfPnt, Weights: IntTools_CArray1OfReal, Knots: IntTools_CArray1OfReal, Multiplicities: TColStd_Array1OfInteger, Degree: Graphic3d_ZLayerId, Periodic: Standard_Boolean, CheckRational: Standard_Boolean); - } - -export declare class Handle_Geom_BSplineCurve { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: Geom_BSplineCurve): void; - get(): Geom_BSplineCurve; - delete(): void; -} - - export declare class Handle_Geom_BSplineCurve_1 extends Handle_Geom_BSplineCurve { - constructor(); - } - - export declare class Handle_Geom_BSplineCurve_2 extends Handle_Geom_BSplineCurve { - constructor(thePtr: Geom_BSplineCurve); - } - - export declare class Handle_Geom_BSplineCurve_3 extends Handle_Geom_BSplineCurve { - constructor(theHandle: Handle_Geom_BSplineCurve); - } - - export declare class Handle_Geom_BSplineCurve_4 extends Handle_Geom_BSplineCurve { - constructor(theHandle: Handle_Geom_BSplineCurve); - } - -export declare class Geom_BSplineSurface extends Geom_BoundedSurface { - ExchangeUV(): void; - SetUPeriodic(): void; - SetVPeriodic(): void; - PeriodicNormalization(U: Standard_Real, V: Standard_Real): void; - SetUOrigin(Index: Graphic3d_ZLayerId): void; - SetVOrigin(Index: Graphic3d_ZLayerId): void; - SetUNotPeriodic(): void; - SetVNotPeriodic(): void; - UReverse(): void; - VReverse(): void; - UReversedParameter(U: Standard_Real): Standard_Real; - VReversedParameter(V: Standard_Real): Standard_Real; - IncreaseDegree(UDegree: Graphic3d_ZLayerId, VDegree: Graphic3d_ZLayerId): void; - InsertUKnots(Knots: IntTools_CArray1OfReal, Mults: TColStd_Array1OfInteger, ParametricTolerance: Standard_Real, Add: Standard_Boolean): void; - InsertVKnots(Knots: IntTools_CArray1OfReal, Mults: TColStd_Array1OfInteger, ParametricTolerance: Standard_Real, Add: Standard_Boolean): void; - RemoveUKnot(Index: Graphic3d_ZLayerId, M: Graphic3d_ZLayerId, Tolerance: Standard_Real): Standard_Boolean; - RemoveVKnot(Index: Graphic3d_ZLayerId, M: Graphic3d_ZLayerId, Tolerance: Standard_Real): Standard_Boolean; - IncreaseUMultiplicity_1(UIndex: Graphic3d_ZLayerId, M: Graphic3d_ZLayerId): void; - IncreaseUMultiplicity_2(FromI1: Graphic3d_ZLayerId, ToI2: Graphic3d_ZLayerId, M: Graphic3d_ZLayerId): void; - IncrementUMultiplicity(FromI1: Graphic3d_ZLayerId, ToI2: Graphic3d_ZLayerId, Step: Graphic3d_ZLayerId): void; - IncreaseVMultiplicity_1(VIndex: Graphic3d_ZLayerId, M: Graphic3d_ZLayerId): void; - IncreaseVMultiplicity_2(FromI1: Graphic3d_ZLayerId, ToI2: Graphic3d_ZLayerId, M: Graphic3d_ZLayerId): void; - IncrementVMultiplicity(FromI1: Graphic3d_ZLayerId, ToI2: Graphic3d_ZLayerId, Step: Graphic3d_ZLayerId): void; - InsertUKnot(U: Standard_Real, M: Graphic3d_ZLayerId, ParametricTolerance: Standard_Real, Add: Standard_Boolean): void; - InsertVKnot(V: Standard_Real, M: Graphic3d_ZLayerId, ParametricTolerance: Standard_Real, Add: Standard_Boolean): void; - Segment(U1: Standard_Real, U2: Standard_Real, V1: Standard_Real, V2: Standard_Real, theUTolerance: Standard_Real, theVTolerance: Standard_Real): void; - CheckAndSegment(U1: Standard_Real, U2: Standard_Real, V1: Standard_Real, V2: Standard_Real, theUTolerance: Standard_Real, theVTolerance: Standard_Real): void; - SetUKnot_1(UIndex: Graphic3d_ZLayerId, K: Standard_Real): void; - SetUKnots(UK: IntTools_CArray1OfReal): void; - SetUKnot_2(UIndex: Graphic3d_ZLayerId, K: Standard_Real, M: Graphic3d_ZLayerId): void; - SetVKnot_1(VIndex: Graphic3d_ZLayerId, K: Standard_Real): void; - SetVKnots(VK: IntTools_CArray1OfReal): void; - SetVKnot_2(VIndex: Graphic3d_ZLayerId, K: Standard_Real, M: Graphic3d_ZLayerId): void; - LocateU(U: Standard_Real, ParametricTolerance: Standard_Real, I1: Graphic3d_ZLayerId, I2: Graphic3d_ZLayerId, WithKnotRepetition: Standard_Boolean): void; - LocateV(V: Standard_Real, ParametricTolerance: Standard_Real, I1: Graphic3d_ZLayerId, I2: Graphic3d_ZLayerId, WithKnotRepetition: Standard_Boolean): void; - SetPole_1(UIndex: Graphic3d_ZLayerId, VIndex: Graphic3d_ZLayerId, P: gp_Pnt): void; - SetPole_2(UIndex: Graphic3d_ZLayerId, VIndex: Graphic3d_ZLayerId, P: gp_Pnt, Weight: Standard_Real): void; - SetPoleCol_1(VIndex: Graphic3d_ZLayerId, CPoles: TColgp_Array1OfPnt): void; - SetPoleCol_2(VIndex: Graphic3d_ZLayerId, CPoles: TColgp_Array1OfPnt, CPoleWeights: IntTools_CArray1OfReal): void; - SetPoleRow_1(UIndex: Graphic3d_ZLayerId, CPoles: TColgp_Array1OfPnt, CPoleWeights: IntTools_CArray1OfReal): void; - SetPoleRow_2(UIndex: Graphic3d_ZLayerId, CPoles: TColgp_Array1OfPnt): void; - SetWeight(UIndex: Graphic3d_ZLayerId, VIndex: Graphic3d_ZLayerId, Weight: Standard_Real): void; - SetWeightCol(VIndex: Graphic3d_ZLayerId, CPoleWeights: IntTools_CArray1OfReal): void; - SetWeightRow(UIndex: Graphic3d_ZLayerId, CPoleWeights: IntTools_CArray1OfReal): void; - MovePoint(U: Standard_Real, V: Standard_Real, P: gp_Pnt, UIndex1: Graphic3d_ZLayerId, UIndex2: Graphic3d_ZLayerId, VIndex1: Graphic3d_ZLayerId, VIndex2: Graphic3d_ZLayerId, UFirstIndex: Graphic3d_ZLayerId, ULastIndex: Graphic3d_ZLayerId, VFirstIndex: Graphic3d_ZLayerId, VLastIndex: Graphic3d_ZLayerId): void; - IsUClosed(): Standard_Boolean; - IsVClosed(): Standard_Boolean; - IsCNu(N: Graphic3d_ZLayerId): Standard_Boolean; - IsCNv(N: Graphic3d_ZLayerId): Standard_Boolean; - IsUPeriodic(): Standard_Boolean; - IsURational(): Standard_Boolean; - IsVPeriodic(): Standard_Boolean; - IsVRational(): Standard_Boolean; - Bounds(U1: Standard_Real, U2: Standard_Real, V1: Standard_Real, V2: Standard_Real): void; - Continuity(): GeomAbs_Shape; - FirstUKnotIndex(): Graphic3d_ZLayerId; - FirstVKnotIndex(): Graphic3d_ZLayerId; - LastUKnotIndex(): Graphic3d_ZLayerId; - LastVKnotIndex(): Graphic3d_ZLayerId; - NbUKnots(): Graphic3d_ZLayerId; - NbUPoles(): Graphic3d_ZLayerId; - NbVKnots(): Graphic3d_ZLayerId; - NbVPoles(): Graphic3d_ZLayerId; - Pole(UIndex: Graphic3d_ZLayerId, VIndex: Graphic3d_ZLayerId): gp_Pnt; - Poles_1(P: TColgp_Array2OfPnt): void; - Poles_2(): TColgp_Array2OfPnt; - UDegree(): Graphic3d_ZLayerId; - UKnot(UIndex: Graphic3d_ZLayerId): Standard_Real; - UKnotDistribution(): GeomAbs_BSplKnotDistribution; - UKnots_1(Ku: IntTools_CArray1OfReal): void; - UKnots_2(): IntTools_CArray1OfReal; - UKnotSequence_1(Ku: IntTools_CArray1OfReal): void; - UKnotSequence_2(): IntTools_CArray1OfReal; - UMultiplicity(UIndex: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - UMultiplicities_1(Mu: TColStd_Array1OfInteger): void; - UMultiplicities_2(): TColStd_Array1OfInteger; - VDegree(): Graphic3d_ZLayerId; - VKnot(VIndex: Graphic3d_ZLayerId): Standard_Real; - VKnotDistribution(): GeomAbs_BSplKnotDistribution; - VKnots_1(Kv: IntTools_CArray1OfReal): void; - VKnots_2(): IntTools_CArray1OfReal; - VKnotSequence_1(Kv: IntTools_CArray1OfReal): void; - VKnotSequence_2(): IntTools_CArray1OfReal; - VMultiplicity(VIndex: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - VMultiplicities_1(Mv: TColStd_Array1OfInteger): void; - VMultiplicities_2(): TColStd_Array1OfInteger; - Weight(UIndex: Graphic3d_ZLayerId, VIndex: Graphic3d_ZLayerId): Standard_Real; - Weights_1(W: TColStd_Array2OfReal): void; - Weights_2(): TColStd_Array2OfReal; - D0(U: Standard_Real, V: Standard_Real, P: gp_Pnt): void; - D1(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec): void; - D2(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec): void; - D3(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec, D3U: gp_Vec, D3V: gp_Vec, D3UUV: gp_Vec, D3UVV: gp_Vec): void; - DN(U: Standard_Real, V: Standard_Real, Nu: Graphic3d_ZLayerId, Nv: Graphic3d_ZLayerId): gp_Vec; - LocalD0(U: Standard_Real, V: Standard_Real, FromUK1: Graphic3d_ZLayerId, ToUK2: Graphic3d_ZLayerId, FromVK1: Graphic3d_ZLayerId, ToVK2: Graphic3d_ZLayerId, P: gp_Pnt): void; - LocalD1(U: Standard_Real, V: Standard_Real, FromUK1: Graphic3d_ZLayerId, ToUK2: Graphic3d_ZLayerId, FromVK1: Graphic3d_ZLayerId, ToVK2: Graphic3d_ZLayerId, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec): void; - LocalD2(U: Standard_Real, V: Standard_Real, FromUK1: Graphic3d_ZLayerId, ToUK2: Graphic3d_ZLayerId, FromVK1: Graphic3d_ZLayerId, ToVK2: Graphic3d_ZLayerId, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec): void; - LocalD3(U: Standard_Real, V: Standard_Real, FromUK1: Graphic3d_ZLayerId, ToUK2: Graphic3d_ZLayerId, FromVK1: Graphic3d_ZLayerId, ToVK2: Graphic3d_ZLayerId, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec, D3U: gp_Vec, D3V: gp_Vec, D3UUV: gp_Vec, D3UVV: gp_Vec): void; - LocalDN(U: Standard_Real, V: Standard_Real, FromUK1: Graphic3d_ZLayerId, ToUK2: Graphic3d_ZLayerId, FromVK1: Graphic3d_ZLayerId, ToVK2: Graphic3d_ZLayerId, Nu: Graphic3d_ZLayerId, Nv: Graphic3d_ZLayerId): gp_Vec; - LocalValue(U: Standard_Real, V: Standard_Real, FromUK1: Graphic3d_ZLayerId, ToUK2: Graphic3d_ZLayerId, FromVK1: Graphic3d_ZLayerId, ToVK2: Graphic3d_ZLayerId): gp_Pnt; - UIso_1(U: Standard_Real): Handle_Geom_Curve; - VIso_1(V: Standard_Real): Handle_Geom_Curve; - UIso_2(U: Standard_Real, CheckRational: Standard_Boolean): Handle_Geom_Curve; - VIso_2(V: Standard_Real, CheckRational: Standard_Boolean): Handle_Geom_Curve; - Transform(T: gp_Trsf): void; - static MaxDegree(): Graphic3d_ZLayerId; - Resolution(Tolerance3D: Standard_Real, UTolerance: Standard_Real, VTolerance: Standard_Real): void; - Copy(): Handle_Geom_Geometry; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class Geom_BSplineSurface_1 extends Geom_BSplineSurface { - constructor(Poles: TColgp_Array2OfPnt, UKnots: IntTools_CArray1OfReal, VKnots: IntTools_CArray1OfReal, UMults: TColStd_Array1OfInteger, VMults: TColStd_Array1OfInteger, UDegree: Graphic3d_ZLayerId, VDegree: Graphic3d_ZLayerId, UPeriodic: Standard_Boolean, VPeriodic: Standard_Boolean); - } - - export declare class Geom_BSplineSurface_2 extends Geom_BSplineSurface { - constructor(Poles: TColgp_Array2OfPnt, Weights: TColStd_Array2OfReal, UKnots: IntTools_CArray1OfReal, VKnots: IntTools_CArray1OfReal, UMults: TColStd_Array1OfInteger, VMults: TColStd_Array1OfInteger, UDegree: Graphic3d_ZLayerId, VDegree: Graphic3d_ZLayerId, UPeriodic: Standard_Boolean, VPeriodic: Standard_Boolean); - } - -export declare class Handle_Geom_BSplineSurface { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: Geom_BSplineSurface): void; - get(): Geom_BSplineSurface; - delete(): void; -} - - export declare class Handle_Geom_BSplineSurface_1 extends Handle_Geom_BSplineSurface { - constructor(); - } - - export declare class Handle_Geom_BSplineSurface_2 extends Handle_Geom_BSplineSurface { - constructor(thePtr: Geom_BSplineSurface); - } - - export declare class Handle_Geom_BSplineSurface_3 extends Handle_Geom_BSplineSurface { - constructor(theHandle: Handle_Geom_BSplineSurface); - } - - export declare class Handle_Geom_BSplineSurface_4 extends Handle_Geom_BSplineSurface { - constructor(theHandle: Handle_Geom_BSplineSurface); - } - -export declare class Geom_BezierCurve extends Geom_BoundedCurve { - Increase(Degree: Graphic3d_ZLayerId): void; - InsertPoleAfter_1(Index: Graphic3d_ZLayerId, P: gp_Pnt): void; - InsertPoleAfter_2(Index: Graphic3d_ZLayerId, P: gp_Pnt, Weight: Standard_Real): void; - InsertPoleBefore_1(Index: Graphic3d_ZLayerId, P: gp_Pnt): void; - InsertPoleBefore_2(Index: Graphic3d_ZLayerId, P: gp_Pnt, Weight: Standard_Real): void; - RemovePole(Index: Graphic3d_ZLayerId): void; - Reverse(): void; - ReversedParameter(U: Standard_Real): Standard_Real; - Segment(U1: Standard_Real, U2: Standard_Real): void; - SetPole_1(Index: Graphic3d_ZLayerId, P: gp_Pnt): void; - SetPole_2(Index: Graphic3d_ZLayerId, P: gp_Pnt, Weight: Standard_Real): void; - SetWeight(Index: Graphic3d_ZLayerId, Weight: Standard_Real): void; - IsClosed(): Standard_Boolean; - IsCN(N: Graphic3d_ZLayerId): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - IsRational(): Standard_Boolean; - Continuity(): GeomAbs_Shape; - Degree(): Graphic3d_ZLayerId; - D0(U: Standard_Real, P: gp_Pnt): void; - D1(U: Standard_Real, P: gp_Pnt, V1: gp_Vec): void; - D2(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec): void; - D3(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec): void; - DN(U: Standard_Real, N: Graphic3d_ZLayerId): gp_Vec; - StartPoint(): gp_Pnt; - EndPoint(): gp_Pnt; - FirstParameter(): Standard_Real; - LastParameter(): Standard_Real; - NbPoles(): Graphic3d_ZLayerId; - Pole(Index: Graphic3d_ZLayerId): gp_Pnt; - Poles_1(P: TColgp_Array1OfPnt): void; - Poles_2(): TColgp_Array1OfPnt; - Weight(Index: Graphic3d_ZLayerId): Standard_Real; - Weights_1(W: IntTools_CArray1OfReal): void; - Weights_2(): IntTools_CArray1OfReal; - Transform(T: gp_Trsf): void; - static MaxDegree(): Graphic3d_ZLayerId; - Resolution(Tolerance3D: Standard_Real, UTolerance: Standard_Real): void; - Copy(): Handle_Geom_Geometry; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class Geom_BezierCurve_1 extends Geom_BezierCurve { - constructor(CurvePoles: TColgp_Array1OfPnt); - } - - export declare class Geom_BezierCurve_2 extends Geom_BezierCurve { - constructor(CurvePoles: TColgp_Array1OfPnt, PoleWeights: IntTools_CArray1OfReal); - } - -export declare class Handle_Geom_BezierCurve { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: Geom_BezierCurve): void; - get(): Geom_BezierCurve; - delete(): void; -} - - export declare class Handle_Geom_BezierCurve_1 extends Handle_Geom_BezierCurve { - constructor(); - } - - export declare class Handle_Geom_BezierCurve_2 extends Handle_Geom_BezierCurve { - constructor(thePtr: Geom_BezierCurve); - } - - export declare class Handle_Geom_BezierCurve_3 extends Handle_Geom_BezierCurve { - constructor(theHandle: Handle_Geom_BezierCurve); - } - - export declare class Handle_Geom_BezierCurve_4 extends Handle_Geom_BezierCurve { - constructor(theHandle: Handle_Geom_BezierCurve); - } - -export declare class Geom_BoundedCurve extends Geom_Curve { - EndPoint(): gp_Pnt; - StartPoint(): gp_Pnt; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class Geom_BoundedSurface extends Geom_Surface { - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class Geom_ConicalSurface extends Geom_ElementarySurface { - SetCone(C: gp_Cone): void; - SetRadius(R: Standard_Real): void; - SetSemiAngle(Ang: Standard_Real): void; - Cone(): gp_Cone; - UReversedParameter(U: Standard_Real): Standard_Real; - VReversedParameter(V: Standard_Real): Standard_Real; - VReverse(): void; - TransformParameters(U: Standard_Real, V: Standard_Real, T: gp_Trsf): void; - ParametricTransformation(T: gp_Trsf): gp_GTrsf2d; - Apex(): gp_Pnt; - Bounds(U1: Standard_Real, U2: Standard_Real, V1: Standard_Real, V2: Standard_Real): void; - Coefficients(A1: Standard_Real, A2: Standard_Real, A3: Standard_Real, B1: Standard_Real, B2: Standard_Real, B3: Standard_Real, C1: Standard_Real, C2: Standard_Real, C3: Standard_Real, D: Standard_Real): void; - RefRadius(): Standard_Real; - SemiAngle(): Standard_Real; - IsUClosed(): Standard_Boolean; - IsVClosed(): Standard_Boolean; - IsUPeriodic(): Standard_Boolean; - IsVPeriodic(): Standard_Boolean; - UIso(U: Standard_Real): Handle_Geom_Curve; - VIso(V: Standard_Real): Handle_Geom_Curve; - D0(U: Standard_Real, V: Standard_Real, P: gp_Pnt): void; - D1(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec): void; - D2(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec): void; - D3(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec, D3U: gp_Vec, D3V: gp_Vec, D3UUV: gp_Vec, D3UVV: gp_Vec): void; - DN(U: Standard_Real, V: Standard_Real, Nu: Graphic3d_ZLayerId, Nv: Graphic3d_ZLayerId): gp_Vec; - Transform(T: gp_Trsf): void; - Copy(): Handle_Geom_Geometry; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class Geom_ConicalSurface_1 extends Geom_ConicalSurface { - constructor(A3: gp_Ax3, Ang: Standard_Real, Radius: Standard_Real); - } - - export declare class Geom_ConicalSurface_2 extends Geom_ConicalSurface { - constructor(C: gp_Cone); - } - -export declare class Geom_Curve extends Geom_Geometry { - Reverse(): void; - ReversedParameter(U: Standard_Real): Standard_Real; - TransformedParameter(U: Standard_Real, T: gp_Trsf): Standard_Real; - ParametricTransformation(T: gp_Trsf): Standard_Real; - Reversed(): Handle_Geom_Curve; - FirstParameter(): Standard_Real; - LastParameter(): Standard_Real; - IsClosed(): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - Period(): Standard_Real; - Continuity(): GeomAbs_Shape; - IsCN(N: Graphic3d_ZLayerId): Standard_Boolean; - D0(U: Standard_Real, P: gp_Pnt): void; - D1(U: Standard_Real, P: gp_Pnt, V1: gp_Vec): void; - D2(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec): void; - D3(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec): void; - DN(U: Standard_Real, N: Graphic3d_ZLayerId): gp_Vec; - Value(U: Standard_Real): gp_Pnt; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class Handle_Geom_Curve { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: Geom_Curve): void; - get(): Geom_Curve; - delete(): void; -} - - export declare class Handle_Geom_Curve_1 extends Handle_Geom_Curve { - constructor(); - } - - export declare class Handle_Geom_Curve_2 extends Handle_Geom_Curve { - constructor(thePtr: Geom_Curve); - } - - export declare class Handle_Geom_Curve_3 extends Handle_Geom_Curve { - constructor(theHandle: Handle_Geom_Curve); - } - - export declare class Handle_Geom_Curve_4 extends Handle_Geom_Curve { - constructor(theHandle: Handle_Geom_Curve); - } - -export declare class Geom_CylindricalSurface extends Geom_ElementarySurface { - SetCylinder(C: gp_Cylinder): void; - SetRadius(R: Standard_Real): void; - Cylinder(): gp_Cylinder; - UReversedParameter(U: Standard_Real): Standard_Real; - VReversedParameter(V: Standard_Real): Standard_Real; - TransformParameters(U: Standard_Real, V: Standard_Real, T: gp_Trsf): void; - ParametricTransformation(T: gp_Trsf): gp_GTrsf2d; - Bounds(U1: Standard_Real, U2: Standard_Real, V1: Standard_Real, V2: Standard_Real): void; - Coefficients(A1: Standard_Real, A2: Standard_Real, A3: Standard_Real, B1: Standard_Real, B2: Standard_Real, B3: Standard_Real, C1: Standard_Real, C2: Standard_Real, C3: Standard_Real, D: Standard_Real): void; - Radius(): Standard_Real; - IsUClosed(): Standard_Boolean; - IsVClosed(): Standard_Boolean; - IsUPeriodic(): Standard_Boolean; - IsVPeriodic(): Standard_Boolean; - UIso(U: Standard_Real): Handle_Geom_Curve; - VIso(V: Standard_Real): Handle_Geom_Curve; - D0(U: Standard_Real, V: Standard_Real, P: gp_Pnt): void; - D1(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec): void; - D2(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec): void; - D3(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec, D3U: gp_Vec, D3V: gp_Vec, D3UUV: gp_Vec, D3UVV: gp_Vec): void; - DN(U: Standard_Real, V: Standard_Real, Nu: Graphic3d_ZLayerId, Nv: Graphic3d_ZLayerId): gp_Vec; - Transform(T: gp_Trsf): void; - Copy(): Handle_Geom_Geometry; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class Geom_CylindricalSurface_1 extends Geom_CylindricalSurface { - constructor(A3: gp_Ax3, Radius: Standard_Real); - } - - export declare class Geom_CylindricalSurface_2 extends Geom_CylindricalSurface { - constructor(C: gp_Cylinder); - } - -export declare class Geom_ElementarySurface extends Geom_Surface { - SetAxis(theA1: gp_Ax1): void; - SetLocation(theLoc: gp_Pnt): void; - SetPosition(theAx3: gp_Ax3): void; - Axis(): gp_Ax1; - Location(): gp_Pnt; - Position(): gp_Ax3; - UReverse(): void; - UReversedParameter(U: Standard_Real): Standard_Real; - VReverse(): void; - VReversedParameter(V: Standard_Real): Standard_Real; - Continuity(): GeomAbs_Shape; - IsCNu(N: Graphic3d_ZLayerId): Standard_Boolean; - IsCNv(N: Graphic3d_ZLayerId): Standard_Boolean; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class Geom_Geometry extends Standard_Transient { - Mirror_1(P: gp_Pnt): void; - Mirror_2(A1: gp_Ax1): void; - Mirror_3(A2: gp_Ax2): void; - Rotate(A1: gp_Ax1, Ang: Standard_Real): void; - Scale(P: gp_Pnt, S: Standard_Real): void; - Translate_1(V: gp_Vec): void; - Translate_2(P1: gp_Pnt, P2: gp_Pnt): void; - Transform(T: gp_Trsf): void; - Mirrored_1(P: gp_Pnt): Handle_Geom_Geometry; - Mirrored_2(A1: gp_Ax1): Handle_Geom_Geometry; - Mirrored_3(A2: gp_Ax2): Handle_Geom_Geometry; - Rotated(A1: gp_Ax1, Ang: Standard_Real): Handle_Geom_Geometry; - Scaled(P: gp_Pnt, S: Standard_Real): Handle_Geom_Geometry; - Transformed(T: gp_Trsf): Handle_Geom_Geometry; - Translated_1(V: gp_Vec): Handle_Geom_Geometry; - Translated_2(P1: gp_Pnt, P2: gp_Pnt): Handle_Geom_Geometry; - Copy(): Handle_Geom_Geometry; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class Geom_Surface extends Geom_Geometry { - UReverse(): void; - UReversed(): Handle_Geom_Surface; - UReversedParameter(U: Standard_Real): Standard_Real; - VReverse(): void; - VReversed(): Handle_Geom_Surface; - VReversedParameter(V: Standard_Real): Standard_Real; - TransformParameters(U: Standard_Real, V: Standard_Real, T: gp_Trsf): void; - ParametricTransformation(T: gp_Trsf): gp_GTrsf2d; - Bounds(U1: Standard_Real, U2: Standard_Real, V1: Standard_Real, V2: Standard_Real): void; - IsUClosed(): Standard_Boolean; - IsVClosed(): Standard_Boolean; - IsUPeriodic(): Standard_Boolean; - UPeriod(): Standard_Real; - IsVPeriodic(): Standard_Boolean; - VPeriod(): Standard_Real; - UIso(U: Standard_Real): Handle_Geom_Curve; - VIso(V: Standard_Real): Handle_Geom_Curve; - Continuity(): GeomAbs_Shape; - IsCNu(N: Graphic3d_ZLayerId): Standard_Boolean; - IsCNv(N: Graphic3d_ZLayerId): Standard_Boolean; - D0(U: Standard_Real, V: Standard_Real, P: gp_Pnt): void; - D1(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec): void; - D2(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec): void; - D3(U: Standard_Real, V: Standard_Real, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec, D3U: gp_Vec, D3V: gp_Vec, D3UUV: gp_Vec, D3UVV: gp_Vec): void; - DN(U: Standard_Real, V: Standard_Real, Nu: Graphic3d_ZLayerId, Nv: Graphic3d_ZLayerId): gp_Vec; - Value(U: Standard_Real, V: Standard_Real): gp_Pnt; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class Handle_Geom_Surface { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: Geom_Surface): void; - get(): Geom_Surface; - delete(): void; -} - - export declare class Handle_Geom_Surface_1 extends Handle_Geom_Surface { - constructor(); - } - - export declare class Handle_Geom_Surface_2 extends Handle_Geom_Surface { - constructor(thePtr: Geom_Surface); - } - - export declare class Handle_Geom_Surface_3 extends Handle_Geom_Surface { - constructor(theHandle: Handle_Geom_Surface); - } - - export declare class Handle_Geom_Surface_4 extends Handle_Geom_Surface { - constructor(theHandle: Handle_Geom_Surface); - } - -export declare class Geom_TrimmedCurve extends Geom_BoundedCurve { - constructor(C: Handle_Geom_Curve, U1: Standard_Real, U2: Standard_Real, Sense: Standard_Boolean, theAdjustPeriodic: Standard_Boolean) - Reverse(): void; - ReversedParameter(U: Standard_Real): Standard_Real; - SetTrim(U1: Standard_Real, U2: Standard_Real, Sense: Standard_Boolean, theAdjustPeriodic: Standard_Boolean): void; - BasisCurve(): Handle_Geom_Curve; - Continuity(): GeomAbs_Shape; - IsCN(N: Graphic3d_ZLayerId): Standard_Boolean; - EndPoint(): gp_Pnt; - FirstParameter(): Standard_Real; - IsClosed(): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - Period(): Standard_Real; - LastParameter(): Standard_Real; - StartPoint(): gp_Pnt; - D0(U: Standard_Real, P: gp_Pnt): void; - D1(U: Standard_Real, P: gp_Pnt, V1: gp_Vec): void; - D2(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec): void; - D3(U: Standard_Real, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec): void; - DN(U: Standard_Real, N: Graphic3d_ZLayerId): gp_Vec; - Transform(T: gp_Trsf): void; - TransformedParameter(U: Standard_Real, T: gp_Trsf): Standard_Real; - ParametricTransformation(T: gp_Trsf): Standard_Real; - Copy(): Handle_Geom_Geometry; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class Handle_Geom_TrimmedCurve { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: Geom_TrimmedCurve): void; - get(): Geom_TrimmedCurve; - delete(): void; -} - - export declare class Handle_Geom_TrimmedCurve_1 extends Handle_Geom_TrimmedCurve { - constructor(); - } - - export declare class Handle_Geom_TrimmedCurve_2 extends Handle_Geom_TrimmedCurve { - constructor(thePtr: Geom_TrimmedCurve); - } - - export declare class Handle_Geom_TrimmedCurve_3 extends Handle_Geom_TrimmedCurve { - constructor(theHandle: Handle_Geom_TrimmedCurve); - } - - export declare class Handle_Geom_TrimmedCurve_4 extends Handle_Geom_TrimmedCurve { - constructor(theHandle: Handle_Geom_TrimmedCurve); - } - -export declare class Geom2d_BSplineCurve extends Geom2d_BoundedCurve { - IncreaseDegree(Degree: Graphic3d_ZLayerId): void; - IncreaseMultiplicity_1(Index: Graphic3d_ZLayerId, M: Graphic3d_ZLayerId): void; - IncreaseMultiplicity_2(I1: Graphic3d_ZLayerId, I2: Graphic3d_ZLayerId, M: Graphic3d_ZLayerId): void; - IncrementMultiplicity(I1: Graphic3d_ZLayerId, I2: Graphic3d_ZLayerId, M: Graphic3d_ZLayerId): void; - InsertKnot(U: Standard_Real, M: Graphic3d_ZLayerId, ParametricTolerance: Standard_Real): void; - InsertKnots(Knots: IntTools_CArray1OfReal, Mults: TColStd_Array1OfInteger, ParametricTolerance: Standard_Real, Add: Standard_Boolean): void; - RemoveKnot(Index: Graphic3d_ZLayerId, M: Graphic3d_ZLayerId, Tolerance: Standard_Real): Standard_Boolean; - InsertPoleAfter(Index: Graphic3d_ZLayerId, P: gp_Pnt2d, Weight: Standard_Real): void; - InsertPoleBefore(Index: Graphic3d_ZLayerId, P: gp_Pnt2d, Weight: Standard_Real): void; - RemovePole(Index: Graphic3d_ZLayerId): void; - Reverse(): void; - ReversedParameter(U: Standard_Real): Standard_Real; - Segment(U1: Standard_Real, U2: Standard_Real, theTolerance: Standard_Real): void; - SetKnot_1(Index: Graphic3d_ZLayerId, K: Standard_Real): void; - SetKnots(K: IntTools_CArray1OfReal): void; - SetKnot_2(Index: Graphic3d_ZLayerId, K: Standard_Real, M: Graphic3d_ZLayerId): void; - PeriodicNormalization(U: Standard_Real): void; - SetPeriodic(): void; - SetOrigin(Index: Graphic3d_ZLayerId): void; - SetNotPeriodic(): void; - SetPole_1(Index: Graphic3d_ZLayerId, P: gp_Pnt2d): void; - SetPole_2(Index: Graphic3d_ZLayerId, P: gp_Pnt2d, Weight: Standard_Real): void; - SetWeight(Index: Graphic3d_ZLayerId, Weight: Standard_Real): void; - MovePoint(U: Standard_Real, P: gp_Pnt2d, Index1: Graphic3d_ZLayerId, Index2: Graphic3d_ZLayerId, FirstModifiedPole: Graphic3d_ZLayerId, LastModifiedPole: Graphic3d_ZLayerId): void; - MovePointAndTangent(U: Standard_Real, P: gp_Pnt2d, Tangent: gp_Vec2d, Tolerance: Standard_Real, StartingCondition: Graphic3d_ZLayerId, EndingCondition: Graphic3d_ZLayerId, ErrorStatus: Graphic3d_ZLayerId): void; - IsCN(N: Graphic3d_ZLayerId): Standard_Boolean; - IsG1(theTf: Standard_Real, theTl: Standard_Real, theAngTol: Standard_Real): Standard_Boolean; - IsClosed(): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - IsRational(): Standard_Boolean; - Continuity(): GeomAbs_Shape; - Degree(): Graphic3d_ZLayerId; - D0(U: Standard_Real, P: gp_Pnt2d): void; - D1(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d): void; - D2(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d): void; - D3(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d): void; - DN(U: Standard_Real, N: Graphic3d_ZLayerId): gp_Vec2d; - LocalValue(U: Standard_Real, FromK1: Graphic3d_ZLayerId, ToK2: Graphic3d_ZLayerId): gp_Pnt2d; - LocalD0(U: Standard_Real, FromK1: Graphic3d_ZLayerId, ToK2: Graphic3d_ZLayerId, P: gp_Pnt2d): void; - LocalD1(U: Standard_Real, FromK1: Graphic3d_ZLayerId, ToK2: Graphic3d_ZLayerId, P: gp_Pnt2d, V1: gp_Vec2d): void; - LocalD2(U: Standard_Real, FromK1: Graphic3d_ZLayerId, ToK2: Graphic3d_ZLayerId, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d): void; - LocalD3(U: Standard_Real, FromK1: Graphic3d_ZLayerId, ToK2: Graphic3d_ZLayerId, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d): void; - LocalDN(U: Standard_Real, FromK1: Graphic3d_ZLayerId, ToK2: Graphic3d_ZLayerId, N: Graphic3d_ZLayerId): gp_Vec2d; - EndPoint(): gp_Pnt2d; - FirstUKnotIndex(): Graphic3d_ZLayerId; - FirstParameter(): Standard_Real; - Knot(Index: Graphic3d_ZLayerId): Standard_Real; - Knots_1(K: IntTools_CArray1OfReal): void; - Knots_2(): IntTools_CArray1OfReal; - KnotSequence_1(K: IntTools_CArray1OfReal): void; - KnotSequence_2(): IntTools_CArray1OfReal; - KnotDistribution(): GeomAbs_BSplKnotDistribution; - LastUKnotIndex(): Graphic3d_ZLayerId; - LastParameter(): Standard_Real; - LocateU(U: Standard_Real, ParametricTolerance: Standard_Real, I1: Graphic3d_ZLayerId, I2: Graphic3d_ZLayerId, WithKnotRepetition: Standard_Boolean): void; - Multiplicity(Index: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - Multiplicities_1(M: TColStd_Array1OfInteger): void; - Multiplicities_2(): TColStd_Array1OfInteger; - NbKnots(): Graphic3d_ZLayerId; - NbPoles(): Graphic3d_ZLayerId; - Pole(Index: Graphic3d_ZLayerId): gp_Pnt2d; - Poles_1(P: TColgp_Array1OfPnt2d): void; - Poles_2(): TColgp_Array1OfPnt2d; - StartPoint(): gp_Pnt2d; - Weight(Index: Graphic3d_ZLayerId): Standard_Real; - Weights_1(W: IntTools_CArray1OfReal): void; - Weights_2(): IntTools_CArray1OfReal; - Transform(T: gp_Trsf2d): void; - static MaxDegree(): Graphic3d_ZLayerId; - Resolution(ToleranceUV: Standard_Real, UTolerance: Standard_Real): void; - Copy(): Handle_Geom2d_Geometry; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class Geom2d_BSplineCurve_1 extends Geom2d_BSplineCurve { - constructor(Poles: TColgp_Array1OfPnt2d, Knots: IntTools_CArray1OfReal, Multiplicities: TColStd_Array1OfInteger, Degree: Graphic3d_ZLayerId, Periodic: Standard_Boolean); - } - - export declare class Geom2d_BSplineCurve_2 extends Geom2d_BSplineCurve { - constructor(Poles: TColgp_Array1OfPnt2d, Weights: IntTools_CArray1OfReal, Knots: IntTools_CArray1OfReal, Multiplicities: TColStd_Array1OfInteger, Degree: Graphic3d_ZLayerId, Periodic: Standard_Boolean); - } - -export declare class Handle_Geom2d_BSplineCurve { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: Geom2d_BSplineCurve): void; - get(): Geom2d_BSplineCurve; - delete(): void; -} - - export declare class Handle_Geom2d_BSplineCurve_1 extends Handle_Geom2d_BSplineCurve { - constructor(); - } - - export declare class Handle_Geom2d_BSplineCurve_2 extends Handle_Geom2d_BSplineCurve { - constructor(thePtr: Geom2d_BSplineCurve); - } - - export declare class Handle_Geom2d_BSplineCurve_3 extends Handle_Geom2d_BSplineCurve { - constructor(theHandle: Handle_Geom2d_BSplineCurve); - } - - export declare class Handle_Geom2d_BSplineCurve_4 extends Handle_Geom2d_BSplineCurve { - constructor(theHandle: Handle_Geom2d_BSplineCurve); - } - -export declare class Geom2d_BezierCurve extends Geom2d_BoundedCurve { - Increase(Degree: Graphic3d_ZLayerId): void; - InsertPoleAfter(Index: Graphic3d_ZLayerId, P: gp_Pnt2d, Weight: Standard_Real): void; - InsertPoleBefore(Index: Graphic3d_ZLayerId, P: gp_Pnt2d, Weight: Standard_Real): void; - RemovePole(Index: Graphic3d_ZLayerId): void; - Reverse(): void; - ReversedParameter(U: Standard_Real): Standard_Real; - Segment(U1: Standard_Real, U2: Standard_Real): void; - SetPole_1(Index: Graphic3d_ZLayerId, P: gp_Pnt2d): void; - SetPole_2(Index: Graphic3d_ZLayerId, P: gp_Pnt2d, Weight: Standard_Real): void; - SetWeight(Index: Graphic3d_ZLayerId, Weight: Standard_Real): void; - IsClosed(): Standard_Boolean; - IsCN(N: Graphic3d_ZLayerId): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - IsRational(): Standard_Boolean; - Continuity(): GeomAbs_Shape; - Degree(): Graphic3d_ZLayerId; - D0(U: Standard_Real, P: gp_Pnt2d): void; - D1(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d): void; - D2(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d): void; - D3(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d): void; - DN(U: Standard_Real, N: Graphic3d_ZLayerId): gp_Vec2d; - EndPoint(): gp_Pnt2d; - FirstParameter(): Standard_Real; - LastParameter(): Standard_Real; - NbPoles(): Graphic3d_ZLayerId; - Pole(Index: Graphic3d_ZLayerId): gp_Pnt2d; - Poles_1(P: TColgp_Array1OfPnt2d): void; - Poles_2(): TColgp_Array1OfPnt2d; - StartPoint(): gp_Pnt2d; - Weight(Index: Graphic3d_ZLayerId): Standard_Real; - Weights_1(W: IntTools_CArray1OfReal): void; - Weights_2(): IntTools_CArray1OfReal; - Transform(T: gp_Trsf2d): void; - static MaxDegree(): Graphic3d_ZLayerId; - Resolution(ToleranceUV: Standard_Real, UTolerance: Standard_Real): void; - Copy(): Handle_Geom2d_Geometry; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class Geom2d_BezierCurve_1 extends Geom2d_BezierCurve { - constructor(CurvePoles: TColgp_Array1OfPnt2d); - } - - export declare class Geom2d_BezierCurve_2 extends Geom2d_BezierCurve { - constructor(CurvePoles: TColgp_Array1OfPnt2d, PoleWeights: IntTools_CArray1OfReal); - } - -export declare class Handle_Geom2d_BezierCurve { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: Geom2d_BezierCurve): void; - get(): Geom2d_BezierCurve; - delete(): void; -} - - export declare class Handle_Geom2d_BezierCurve_1 extends Handle_Geom2d_BezierCurve { - constructor(); - } - - export declare class Handle_Geom2d_BezierCurve_2 extends Handle_Geom2d_BezierCurve { - constructor(thePtr: Geom2d_BezierCurve); - } - - export declare class Handle_Geom2d_BezierCurve_3 extends Handle_Geom2d_BezierCurve { - constructor(theHandle: Handle_Geom2d_BezierCurve); - } - - export declare class Handle_Geom2d_BezierCurve_4 extends Handle_Geom2d_BezierCurve { - constructor(theHandle: Handle_Geom2d_BezierCurve); - } - -export declare class Geom2d_BoundedCurve extends Geom2d_Curve { - EndPoint(): gp_Pnt2d; - StartPoint(): gp_Pnt2d; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class Handle_Geom2d_BoundedCurve { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: Geom2d_BoundedCurve): void; - get(): Geom2d_BoundedCurve; - delete(): void; -} - - export declare class Handle_Geom2d_BoundedCurve_1 extends Handle_Geom2d_BoundedCurve { - constructor(); - } - - export declare class Handle_Geom2d_BoundedCurve_2 extends Handle_Geom2d_BoundedCurve { - constructor(thePtr: Geom2d_BoundedCurve); - } - - export declare class Handle_Geom2d_BoundedCurve_3 extends Handle_Geom2d_BoundedCurve { - constructor(theHandle: Handle_Geom2d_BoundedCurve); - } - - export declare class Handle_Geom2d_BoundedCurve_4 extends Handle_Geom2d_BoundedCurve { - constructor(theHandle: Handle_Geom2d_BoundedCurve); - } - -export declare class Geom2d_Circle extends Geom2d_Conic { - SetCirc2d(C: gp_Circ2d): void; - SetRadius(R: Standard_Real): void; - Circ2d(): gp_Circ2d; - Radius(): Standard_Real; - ReversedParameter(U: Standard_Real): Standard_Real; - Eccentricity(): Standard_Real; - FirstParameter(): Standard_Real; - LastParameter(): Standard_Real; - IsClosed(): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - D0(U: Standard_Real, P: gp_Pnt2d): void; - D1(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d): void; - D2(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d): void; - D3(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d): void; - DN(U: Standard_Real, N: Graphic3d_ZLayerId): gp_Vec2d; - Transform(T: gp_Trsf2d): void; - Copy(): Handle_Geom2d_Geometry; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class Geom2d_Circle_1 extends Geom2d_Circle { - constructor(C: gp_Circ2d); - } - - export declare class Geom2d_Circle_2 extends Geom2d_Circle { - constructor(A: gp_Ax2d, Radius: Standard_Real, Sense: Standard_Boolean); - } - - export declare class Geom2d_Circle_3 extends Geom2d_Circle { - constructor(A: gp_Ax22d, Radius: Standard_Real); - } - -export declare class Handle_Geom2d_Circle { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: Geom2d_Circle): void; - get(): Geom2d_Circle; - delete(): void; -} - - export declare class Handle_Geom2d_Circle_1 extends Handle_Geom2d_Circle { - constructor(); - } - - export declare class Handle_Geom2d_Circle_2 extends Handle_Geom2d_Circle { - constructor(thePtr: Geom2d_Circle); - } - - export declare class Handle_Geom2d_Circle_3 extends Handle_Geom2d_Circle { - constructor(theHandle: Handle_Geom2d_Circle); - } - - export declare class Handle_Geom2d_Circle_4 extends Handle_Geom2d_Circle { - constructor(theHandle: Handle_Geom2d_Circle); - } - -export declare class Geom2d_Conic extends Geom2d_Curve { - SetAxis(theA: gp_Ax22d): void; - SetXAxis(theAX: gp_Ax2d): void; - SetYAxis(theAY: gp_Ax2d): void; - SetLocation(theP: gp_Pnt2d): void; - XAxis(): gp_Ax2d; - YAxis(): gp_Ax2d; - Eccentricity(): Standard_Real; - Location(): gp_Pnt2d; - Position(): gp_Ax22d; - Reverse(): void; - ReversedParameter(U: Standard_Real): Standard_Real; - Continuity(): GeomAbs_Shape; - IsCN(N: Graphic3d_ZLayerId): Standard_Boolean; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class Geom2d_Curve extends Geom2d_Geometry { - Reverse(): void; - ReversedParameter(U: Standard_Real): Standard_Real; - TransformedParameter(U: Standard_Real, T: gp_Trsf2d): Standard_Real; - ParametricTransformation(T: gp_Trsf2d): Standard_Real; - Reversed(): Handle_Geom2d_Curve; - FirstParameter(): Standard_Real; - LastParameter(): Standard_Real; - IsClosed(): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - Period(): Standard_Real; - Continuity(): GeomAbs_Shape; - IsCN(N: Graphic3d_ZLayerId): Standard_Boolean; - D0(U: Standard_Real, P: gp_Pnt2d): void; - D1(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d): void; - D2(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d): void; - D3(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d): void; - DN(U: Standard_Real, N: Graphic3d_ZLayerId): gp_Vec2d; - Value(U: Standard_Real): gp_Pnt2d; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class Handle_Geom2d_Curve { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: Geom2d_Curve): void; - get(): Geom2d_Curve; - delete(): void; -} - - export declare class Handle_Geom2d_Curve_1 extends Handle_Geom2d_Curve { - constructor(); - } - - export declare class Handle_Geom2d_Curve_2 extends Handle_Geom2d_Curve { - constructor(thePtr: Geom2d_Curve); - } - - export declare class Handle_Geom2d_Curve_3 extends Handle_Geom2d_Curve { - constructor(theHandle: Handle_Geom2d_Curve); - } - - export declare class Handle_Geom2d_Curve_4 extends Handle_Geom2d_Curve { - constructor(theHandle: Handle_Geom2d_Curve); - } - -export declare class Geom2d_Ellipse extends Geom2d_Conic { - SetElips2d(E: gp_Elips2d): void; - SetMajorRadius(MajorRadius: Standard_Real): void; - SetMinorRadius(MinorRadius: Standard_Real): void; - Elips2d(): gp_Elips2d; - ReversedParameter(U: Standard_Real): Standard_Real; - Directrix1(): gp_Ax2d; - Directrix2(): gp_Ax2d; - Eccentricity(): Standard_Real; - Focal(): Standard_Real; - Focus1(): gp_Pnt2d; - Focus2(): gp_Pnt2d; - MajorRadius(): Standard_Real; - MinorRadius(): Standard_Real; - Parameter(): Standard_Real; - FirstParameter(): Standard_Real; - LastParameter(): Standard_Real; - IsClosed(): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - D0(U: Standard_Real, P: gp_Pnt2d): void; - D1(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d): void; - D2(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d): void; - D3(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d): void; - DN(U: Standard_Real, N: Graphic3d_ZLayerId): gp_Vec2d; - Transform(T: gp_Trsf2d): void; - Copy(): Handle_Geom2d_Geometry; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class Geom2d_Ellipse_1 extends Geom2d_Ellipse { - constructor(E: gp_Elips2d); - } - - export declare class Geom2d_Ellipse_2 extends Geom2d_Ellipse { - constructor(MajorAxis: gp_Ax2d, MajorRadius: Standard_Real, MinorRadius: Standard_Real, Sense: Standard_Boolean); - } - - export declare class Geom2d_Ellipse_3 extends Geom2d_Ellipse { - constructor(Axis: gp_Ax22d, MajorRadius: Standard_Real, MinorRadius: Standard_Real); - } - -export declare class Handle_Geom2d_Ellipse { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: Geom2d_Ellipse): void; - get(): Geom2d_Ellipse; - delete(): void; -} - - export declare class Handle_Geom2d_Ellipse_1 extends Handle_Geom2d_Ellipse { - constructor(); - } - - export declare class Handle_Geom2d_Ellipse_2 extends Handle_Geom2d_Ellipse { - constructor(thePtr: Geom2d_Ellipse); - } - - export declare class Handle_Geom2d_Ellipse_3 extends Handle_Geom2d_Ellipse { - constructor(theHandle: Handle_Geom2d_Ellipse); - } - - export declare class Handle_Geom2d_Ellipse_4 extends Handle_Geom2d_Ellipse { - constructor(theHandle: Handle_Geom2d_Ellipse); - } - -export declare class Geom2d_Geometry extends Standard_Transient { - Mirror_1(P: gp_Pnt2d): void; - Mirror_2(A: gp_Ax2d): void; - Rotate(P: gp_Pnt2d, Ang: Standard_Real): void; - Scale(P: gp_Pnt2d, S: Standard_Real): void; - Translate_1(V: gp_Vec2d): void; - Translate_2(P1: gp_Pnt2d, P2: gp_Pnt2d): void; - Transform(T: gp_Trsf2d): void; - Mirrored_1(P: gp_Pnt2d): Handle_Geom2d_Geometry; - Mirrored_2(A: gp_Ax2d): Handle_Geom2d_Geometry; - Rotated(P: gp_Pnt2d, Ang: Standard_Real): Handle_Geom2d_Geometry; - Scaled(P: gp_Pnt2d, S: Standard_Real): Handle_Geom2d_Geometry; - Transformed(T: gp_Trsf2d): Handle_Geom2d_Geometry; - Translated_1(V: gp_Vec2d): Handle_Geom2d_Geometry; - Translated_2(P1: gp_Pnt2d, P2: gp_Pnt2d): Handle_Geom2d_Geometry; - Copy(): Handle_Geom2d_Geometry; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class Handle_Geom2d_Geometry { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: Geom2d_Geometry): void; - get(): Geom2d_Geometry; - delete(): void; -} - - export declare class Handle_Geom2d_Geometry_1 extends Handle_Geom2d_Geometry { - constructor(); - } - - export declare class Handle_Geom2d_Geometry_2 extends Handle_Geom2d_Geometry { - constructor(thePtr: Geom2d_Geometry); - } - - export declare class Handle_Geom2d_Geometry_3 extends Handle_Geom2d_Geometry { - constructor(theHandle: Handle_Geom2d_Geometry); - } - - export declare class Handle_Geom2d_Geometry_4 extends Handle_Geom2d_Geometry { - constructor(theHandle: Handle_Geom2d_Geometry); - } - -export declare class Geom2d_Line extends Geom2d_Curve { - SetLin2d(L: gp_Lin2d): void; - SetDirection(V: gp_Dir2d): void; - Direction(): gp_Dir2d; - SetLocation(P: gp_Pnt2d): void; - Location(): gp_Pnt2d; - SetPosition(A: gp_Ax2d): void; - Position(): gp_Ax2d; - Lin2d(): gp_Lin2d; - Reverse(): void; - ReversedParameter(U: Standard_Real): Standard_Real; - FirstParameter(): Standard_Real; - LastParameter(): Standard_Real; - IsClosed(): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - Continuity(): GeomAbs_Shape; - Distance(P: gp_Pnt2d): Standard_Real; - IsCN(N: Graphic3d_ZLayerId): Standard_Boolean; - D0(U: Standard_Real, P: gp_Pnt2d): void; - D1(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d): void; - D2(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d): void; - D3(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d): void; - DN(U: Standard_Real, N: Graphic3d_ZLayerId): gp_Vec2d; - Transform(T: gp_Trsf2d): void; - TransformedParameter(U: Standard_Real, T: gp_Trsf2d): Standard_Real; - ParametricTransformation(T: gp_Trsf2d): Standard_Real; - Copy(): Handle_Geom2d_Geometry; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class Geom2d_Line_1 extends Geom2d_Line { - constructor(A: gp_Ax2d); - } - - export declare class Geom2d_Line_2 extends Geom2d_Line { - constructor(L: gp_Lin2d); - } - - export declare class Geom2d_Line_3 extends Geom2d_Line { - constructor(P: gp_Pnt2d, V: gp_Dir2d); - } - -export declare class Handle_Geom2d_Line { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: Geom2d_Line): void; - get(): Geom2d_Line; - delete(): void; -} - - export declare class Handle_Geom2d_Line_1 extends Handle_Geom2d_Line { - constructor(); - } - - export declare class Handle_Geom2d_Line_2 extends Handle_Geom2d_Line { - constructor(thePtr: Geom2d_Line); - } - - export declare class Handle_Geom2d_Line_3 extends Handle_Geom2d_Line { - constructor(theHandle: Handle_Geom2d_Line); - } - - export declare class Handle_Geom2d_Line_4 extends Handle_Geom2d_Line { - constructor(theHandle: Handle_Geom2d_Line); - } - -export declare class Geom2d_OffsetCurve extends Geom2d_Curve { - constructor(C: Handle_Geom2d_Curve, Offset: Standard_Real, isNotCheckC0: Standard_Boolean) - Reverse(): void; - ReversedParameter(U: Standard_Real): Standard_Real; - SetBasisCurve(C: Handle_Geom2d_Curve, isNotCheckC0: Standard_Boolean): void; - SetOffsetValue(D: Standard_Real): void; - BasisCurve(): Handle_Geom2d_Curve; - Continuity(): GeomAbs_Shape; - D0(U: Standard_Real, P: gp_Pnt2d): void; - D1(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d): void; - D2(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d): void; - D3(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d): void; - DN(U: Standard_Real, N: Graphic3d_ZLayerId): gp_Vec2d; - FirstParameter(): Standard_Real; - LastParameter(): Standard_Real; - Offset(): Standard_Real; - IsClosed(): Standard_Boolean; - IsCN(N: Graphic3d_ZLayerId): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - Period(): Standard_Real; - Transform(T: gp_Trsf2d): void; - TransformedParameter(U: Standard_Real, T: gp_Trsf2d): Standard_Real; - ParametricTransformation(T: gp_Trsf2d): Standard_Real; - Copy(): Handle_Geom2d_Geometry; - GetBasisCurveContinuity(): GeomAbs_Shape; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class Geom2d_TrimmedCurve extends Geom2d_BoundedCurve { - constructor(C: Handle_Geom2d_Curve, U1: Standard_Real, U2: Standard_Real, Sense: Standard_Boolean, theAdjustPeriodic: Standard_Boolean) - Reverse(): void; - ReversedParameter(U: Standard_Real): Standard_Real; - SetTrim(U1: Standard_Real, U2: Standard_Real, Sense: Standard_Boolean, theAdjustPeriodic: Standard_Boolean): void; - BasisCurve(): Handle_Geom2d_Curve; - Continuity(): GeomAbs_Shape; - IsCN(N: Graphic3d_ZLayerId): Standard_Boolean; - EndPoint(): gp_Pnt2d; - FirstParameter(): Standard_Real; - IsClosed(): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - Period(): Standard_Real; - LastParameter(): Standard_Real; - StartPoint(): gp_Pnt2d; - D0(U: Standard_Real, P: gp_Pnt2d): void; - D1(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d): void; - D2(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d): void; - D3(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d): void; - DN(U: Standard_Real, N: Graphic3d_ZLayerId): gp_Vec2d; - Transform(T: gp_Trsf2d): void; - TransformedParameter(U: Standard_Real, T: gp_Trsf2d): Standard_Real; - ParametricTransformation(T: gp_Trsf2d): Standard_Real; - Copy(): Handle_Geom2d_Geometry; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class Handle_Geom2d_TrimmedCurve { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: Geom2d_TrimmedCurve): void; - get(): Geom2d_TrimmedCurve; - delete(): void; -} - - export declare class Handle_Geom2d_TrimmedCurve_1 extends Handle_Geom2d_TrimmedCurve { - constructor(); - } - - export declare class Handle_Geom2d_TrimmedCurve_2 extends Handle_Geom2d_TrimmedCurve { - constructor(thePtr: Geom2d_TrimmedCurve); - } - - export declare class Handle_Geom2d_TrimmedCurve_3 extends Handle_Geom2d_TrimmedCurve { - constructor(theHandle: Handle_Geom2d_TrimmedCurve); - } - - export declare class Handle_Geom2d_TrimmedCurve_4 extends Handle_Geom2d_TrimmedCurve { - constructor(theHandle: Handle_Geom2d_TrimmedCurve); - } - -export declare class Geom2dAPI_ExtremaCurveCurve { - constructor(C1: Handle_Geom2d_Curve, C2: Handle_Geom2d_Curve, U1min: Standard_Real, U1max: Standard_Real, U2min: Standard_Real, U2max: Standard_Real) - NbExtrema(): Graphic3d_ZLayerId; - Points(Index: Graphic3d_ZLayerId, P1: gp_Pnt2d, P2: gp_Pnt2d): void; - Parameters(Index: Graphic3d_ZLayerId, U1: Standard_Real, U2: Standard_Real): void; - Distance(Index: Graphic3d_ZLayerId): Standard_Real; - NearestPoints(P1: gp_Pnt2d, P2: gp_Pnt2d): void; - LowerDistanceParameters(U1: Standard_Real, U2: Standard_Real): void; - LowerDistance(): Standard_Real; - Extrema(): Extrema_ExtCC2d; - delete(): void; -} - -export declare class Geom2dAPI_InterCurveCurve { - Init_1(C1: Handle_Geom2d_Curve, C2: Handle_Geom2d_Curve, Tol: Standard_Real): void; - Init_2(C1: Handle_Geom2d_Curve, Tol: Standard_Real): void; - NbPoints(): Graphic3d_ZLayerId; - Point(Index: Graphic3d_ZLayerId): gp_Pnt2d; - NbSegments(): Graphic3d_ZLayerId; - Segment(Index: Graphic3d_ZLayerId, Curve1: Handle_Geom2d_Curve, Curve2: Handle_Geom2d_Curve): void; - Intersector(): Geom2dInt_GInter; - delete(): void; -} - - export declare class Geom2dAPI_InterCurveCurve_1 extends Geom2dAPI_InterCurveCurve { - constructor(); - } - - export declare class Geom2dAPI_InterCurveCurve_2 extends Geom2dAPI_InterCurveCurve { - constructor(C1: Handle_Geom2d_Curve, C2: Handle_Geom2d_Curve, Tol: Standard_Real); - } - - export declare class Geom2dAPI_InterCurveCurve_3 extends Geom2dAPI_InterCurveCurve { - constructor(C1: Handle_Geom2d_Curve, Tol: Standard_Real); - } - -export declare class Geom2dAPI_PointsToBSpline { - Init_1(Points: TColgp_Array1OfPnt2d, DegMin: Graphic3d_ZLayerId, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol2D: Standard_Real): void; - Init_2(YValues: IntTools_CArray1OfReal, X0: Standard_Real, DX: Standard_Real, DegMin: Graphic3d_ZLayerId, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol2D: Standard_Real): void; - Init_3(Points: TColgp_Array1OfPnt2d, ParType: Approx_ParametrizationType, DegMin: Graphic3d_ZLayerId, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol2D: Standard_Real): void; - Init_4(Points: TColgp_Array1OfPnt2d, Parameters: IntTools_CArray1OfReal, DegMin: Graphic3d_ZLayerId, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol2D: Standard_Real): void; - Init_5(Points: TColgp_Array1OfPnt2d, Weight1: Standard_Real, Weight2: Standard_Real, Weight3: Standard_Real, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol2D: Standard_Real): void; - Curve(): Handle_Geom2d_BSplineCurve; - IsDone(): Standard_Boolean; - delete(): void; -} - - export declare class Geom2dAPI_PointsToBSpline_1 extends Geom2dAPI_PointsToBSpline { - constructor(); - } - - export declare class Geom2dAPI_PointsToBSpline_2 extends Geom2dAPI_PointsToBSpline { - constructor(Points: TColgp_Array1OfPnt2d, DegMin: Graphic3d_ZLayerId, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol2D: Standard_Real); - } - - export declare class Geom2dAPI_PointsToBSpline_3 extends Geom2dAPI_PointsToBSpline { - constructor(YValues: IntTools_CArray1OfReal, X0: Standard_Real, DX: Standard_Real, DegMin: Graphic3d_ZLayerId, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol2D: Standard_Real); - } - - export declare class Geom2dAPI_PointsToBSpline_4 extends Geom2dAPI_PointsToBSpline { - constructor(Points: TColgp_Array1OfPnt2d, ParType: Approx_ParametrizationType, DegMin: Graphic3d_ZLayerId, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol2D: Standard_Real); - } - - export declare class Geom2dAPI_PointsToBSpline_5 extends Geom2dAPI_PointsToBSpline { - constructor(Points: TColgp_Array1OfPnt2d, Parameters: IntTools_CArray1OfReal, DegMin: Graphic3d_ZLayerId, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol2D: Standard_Real); - } - - export declare class Geom2dAPI_PointsToBSpline_6 extends Geom2dAPI_PointsToBSpline { - constructor(Points: TColgp_Array1OfPnt2d, Weight1: Standard_Real, Weight2: Standard_Real, Weight3: Standard_Real, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol3D: Standard_Real); - } - -export declare class Geom2dAPI_ProjectPointOnCurve { - Init_1(P: gp_Pnt2d, Curve: Handle_Geom2d_Curve): void; - Init_2(P: gp_Pnt2d, Curve: Handle_Geom2d_Curve, Umin: Standard_Real, Usup: Standard_Real): void; - NbPoints(): Graphic3d_ZLayerId; - Point(Index: Graphic3d_ZLayerId): gp_Pnt2d; - Parameter_1(Index: Graphic3d_ZLayerId): Standard_Real; - Parameter_2(Index: Graphic3d_ZLayerId, U: Standard_Real): void; - Distance(Index: Graphic3d_ZLayerId): Standard_Real; - NearestPoint(): gp_Pnt2d; - LowerDistanceParameter(): Standard_Real; - LowerDistance(): Standard_Real; - Extrema(): Extrema_ExtPC2d; - delete(): void; -} - - export declare class Geom2dAPI_ProjectPointOnCurve_1 extends Geom2dAPI_ProjectPointOnCurve { - constructor(); - } - - export declare class Geom2dAPI_ProjectPointOnCurve_2 extends Geom2dAPI_ProjectPointOnCurve { - constructor(P: gp_Pnt2d, Curve: Handle_Geom2d_Curve); - } - - export declare class Geom2dAPI_ProjectPointOnCurve_3 extends Geom2dAPI_ProjectPointOnCurve { - constructor(P: gp_Pnt2d, Curve: Handle_Geom2d_Curve, Umin: Standard_Real, Usup: Standard_Real); - } - -export declare class Geom2dAdaptor_Curve extends Adaptor2d_Curve2d { - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - ShallowCopy(): Handle_Adaptor2d_Curve2d; - Reset(): void; - Load_1(theCurve: Handle_Geom2d_Curve): void; - Load_2(theCurve: Handle_Geom2d_Curve, theUFirst: Standard_Real, theULast: Standard_Real): void; - Curve(): Handle_Geom2d_Curve; - FirstParameter(): Standard_Real; - LastParameter(): Standard_Real; - Continuity(): GeomAbs_Shape; - NbIntervals(S: GeomAbs_Shape): Graphic3d_ZLayerId; - Intervals(T: IntTools_CArray1OfReal, S: GeomAbs_Shape): void; - Trim(First: Standard_Real, Last: Standard_Real, Tol: Standard_Real): Handle_Adaptor2d_Curve2d; - IsClosed(): Standard_Boolean; - IsPeriodic(): Standard_Boolean; - Period(): Standard_Real; - Value(U: Standard_Real): gp_Pnt2d; - D0(U: Standard_Real, P: gp_Pnt2d): void; - D1(U: Standard_Real, P: gp_Pnt2d, V: gp_Vec2d): void; - D2(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d): void; - D3(U: Standard_Real, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d): void; - DN(U: Standard_Real, N: Graphic3d_ZLayerId): gp_Vec2d; - Resolution(Ruv: Standard_Real): Standard_Real; - GetType(): GeomAbs_CurveType; - Line(): gp_Lin2d; - Circle(): gp_Circ2d; - Ellipse(): gp_Elips2d; - Hyperbola(): gp_Hypr2d; - Parabola(): gp_Parab2d; - Degree(): Graphic3d_ZLayerId; - IsRational(): Standard_Boolean; - NbPoles(): Graphic3d_ZLayerId; - NbKnots(): Graphic3d_ZLayerId; - NbSamples(): Graphic3d_ZLayerId; - Bezier(): Handle_Geom2d_BezierCurve; - BSpline(): Handle_Geom2d_BSplineCurve; - delete(): void; -} - - export declare class Geom2dAdaptor_Curve_1 extends Geom2dAdaptor_Curve { - constructor(); - } - - export declare class Geom2dAdaptor_Curve_2 extends Geom2dAdaptor_Curve { - constructor(C: Handle_Geom2d_Curve); - } - - export declare class Geom2dAdaptor_Curve_3 extends Geom2dAdaptor_Curve { - constructor(C: Handle_Geom2d_Curve, UFirst: Standard_Real, ULast: Standard_Real); - } - -export declare class Geom2dConvert { - constructor(); - static SplitBSplineCurve_1(C: Handle_Geom2d_BSplineCurve, FromK1: Graphic3d_ZLayerId, ToK2: Graphic3d_ZLayerId, SameOrientation: Standard_Boolean): Handle_Geom2d_BSplineCurve; - static SplitBSplineCurve_2(C: Handle_Geom2d_BSplineCurve, FromU1: Standard_Real, ToU2: Standard_Real, ParametricTolerance: Standard_Real, SameOrientation: Standard_Boolean): Handle_Geom2d_BSplineCurve; - static CurveToBSplineCurve(C: Handle_Geom2d_Curve, Parameterisation: Convert_ParameterisationType): Handle_Geom2d_BSplineCurve; - static ConcatG1(ArrayOfCurves: TColGeom2d_Array1OfBSplineCurve, ArrayOfToler: IntTools_CArray1OfReal, ArrayOfConcatenated: Handle_TColGeom2d_HArray1OfBSplineCurve, ClosedFlag: Standard_Boolean, ClosedTolerance: Standard_Real): void; - static ConcatC1_1(ArrayOfCurves: TColGeom2d_Array1OfBSplineCurve, ArrayOfToler: IntTools_CArray1OfReal, ArrayOfIndices: Handle_TColStd_HArray1OfInteger, ArrayOfConcatenated: Handle_TColGeom2d_HArray1OfBSplineCurve, ClosedFlag: Standard_Boolean, ClosedTolerance: Standard_Real): void; - static ConcatC1_2(ArrayOfCurves: TColGeom2d_Array1OfBSplineCurve, ArrayOfToler: IntTools_CArray1OfReal, ArrayOfIndices: Handle_TColStd_HArray1OfInteger, ArrayOfConcatenated: Handle_TColGeom2d_HArray1OfBSplineCurve, ClosedFlag: Standard_Boolean, ClosedTolerance: Standard_Real, AngularTolerance: Standard_Real): void; - static C0BSplineToC1BSplineCurve(BS: Handle_Geom2d_BSplineCurve, Tolerance: Standard_Real): void; - static C0BSplineToArrayOfC1BSplineCurve_1(BS: Handle_Geom2d_BSplineCurve, tabBS: Handle_TColGeom2d_HArray1OfBSplineCurve, Tolerance: Standard_Real): void; - static C0BSplineToArrayOfC1BSplineCurve_2(BS: Handle_Geom2d_BSplineCurve, tabBS: Handle_TColGeom2d_HArray1OfBSplineCurve, AngularTolerance: Standard_Real, Tolerance: Standard_Real): void; - delete(): void; -} - -export declare class Geom2dConvert_ApproxCurve { - Curve(): Handle_Geom2d_BSplineCurve; - IsDone(): Standard_Boolean; - HasResult(): Standard_Boolean; - MaxError(): Standard_Real; - Dump(o: Standard_OStream): void; - delete(): void; -} - - export declare class Geom2dConvert_ApproxCurve_1 extends Geom2dConvert_ApproxCurve { - constructor(Curve: Handle_Geom2d_Curve, Tol2d: Standard_Real, Order: GeomAbs_Shape, MaxSegments: Graphic3d_ZLayerId, MaxDegree: Graphic3d_ZLayerId); - } - - export declare class Geom2dConvert_ApproxCurve_2 extends Geom2dConvert_ApproxCurve { - constructor(Curve: Handle_Adaptor2d_Curve2d, Tol2d: Standard_Real, Order: GeomAbs_Shape, MaxSegments: Graphic3d_ZLayerId, MaxDegree: Graphic3d_ZLayerId); - } - -export declare class Geom2dConvert_BSplineCurveToBezierCurve { - Arc(Index: Graphic3d_ZLayerId): Handle_Geom2d_BezierCurve; - Arcs(Curves: TColGeom2d_Array1OfBezierCurve): void; - Knots(TKnots: IntTools_CArray1OfReal): void; - NbArcs(): Graphic3d_ZLayerId; - delete(): void; -} - - export declare class Geom2dConvert_BSplineCurveToBezierCurve_1 extends Geom2dConvert_BSplineCurveToBezierCurve { - constructor(BasisCurve: Handle_Geom2d_BSplineCurve); - } - - export declare class Geom2dConvert_BSplineCurveToBezierCurve_2 extends Geom2dConvert_BSplineCurveToBezierCurve { - constructor(BasisCurve: Handle_Geom2d_BSplineCurve, U1: Standard_Real, U2: Standard_Real, ParametricTolerance: Standard_Real); - } - -export declare class GeomAPI_Interpolate { - Load_1(InitialTangent: gp_Vec, FinalTangent: gp_Vec, Scale: Standard_Boolean): void; - Load_2(Tangents: TColgp_Array1OfVec, TangentFlags: Handle_TColStd_HArray1OfBoolean, Scale: Standard_Boolean): void; - Perform(): void; - Curve(): Handle_Geom_BSplineCurve; - IsDone(): Standard_Boolean; - delete(): void; -} - - export declare class GeomAPI_Interpolate_1 extends GeomAPI_Interpolate { - constructor(Points: Handle_TColgp_HArray1OfPnt, PeriodicFlag: Standard_Boolean, Tolerance: Standard_Real); - } - - export declare class GeomAPI_Interpolate_2 extends GeomAPI_Interpolate { - constructor(Points: Handle_TColgp_HArray1OfPnt, Parameters: Handle_TColStd_HArray1OfReal, PeriodicFlag: Standard_Boolean, Tolerance: Standard_Real); - } - -export declare class GeomAPI_PointsToBSpline { - Init_1(Points: TColgp_Array1OfPnt, DegMin: Graphic3d_ZLayerId, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol3D: Standard_Real): void; - Init_2(Points: TColgp_Array1OfPnt, ParType: Approx_ParametrizationType, DegMin: Graphic3d_ZLayerId, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol3D: Standard_Real): void; - Init_3(Points: TColgp_Array1OfPnt, Parameters: IntTools_CArray1OfReal, DegMin: Graphic3d_ZLayerId, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol3D: Standard_Real): void; - Init_4(Points: TColgp_Array1OfPnt, Weight1: Standard_Real, Weight2: Standard_Real, Weight3: Standard_Real, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol3D: Standard_Real): void; - Curve(): Handle_Geom_BSplineCurve; - IsDone(): Standard_Boolean; - delete(): void; -} - - export declare class GeomAPI_PointsToBSpline_1 extends GeomAPI_PointsToBSpline { - constructor(); - } - - export declare class GeomAPI_PointsToBSpline_2 extends GeomAPI_PointsToBSpline { - constructor(Points: TColgp_Array1OfPnt, DegMin: Graphic3d_ZLayerId, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol3D: Standard_Real); - } - - export declare class GeomAPI_PointsToBSpline_3 extends GeomAPI_PointsToBSpline { - constructor(Points: TColgp_Array1OfPnt, ParType: Approx_ParametrizationType, DegMin: Graphic3d_ZLayerId, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol3D: Standard_Real); - } - - export declare class GeomAPI_PointsToBSpline_4 extends GeomAPI_PointsToBSpline { - constructor(Points: TColgp_Array1OfPnt, Parameters: IntTools_CArray1OfReal, DegMin: Graphic3d_ZLayerId, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol3D: Standard_Real); - } - - export declare class GeomAPI_PointsToBSpline_5 extends GeomAPI_PointsToBSpline { - constructor(Points: TColgp_Array1OfPnt, Weight1: Standard_Real, Weight2: Standard_Real, Weight3: Standard_Real, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol3D: Standard_Real); - } - -export declare class GeomAPI_PointsToBSplineSurface { - Init_1(Points: TColgp_Array2OfPnt, DegMin: Graphic3d_ZLayerId, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol3D: Standard_Real): void; - Interpolate_1(Points: TColgp_Array2OfPnt, thePeriodic: Standard_Boolean): void; - Interpolate_2(Points: TColgp_Array2OfPnt, ParType: Approx_ParametrizationType, thePeriodic: Standard_Boolean): void; - Init_2(ZPoints: TColStd_Array2OfReal, X0: Standard_Real, dX: Standard_Real, Y0: Standard_Real, dY: Standard_Real, DegMin: Graphic3d_ZLayerId, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol3D: Standard_Real): void; - Interpolate_3(ZPoints: TColStd_Array2OfReal, X0: Standard_Real, dX: Standard_Real, Y0: Standard_Real, dY: Standard_Real): void; - Init_3(Points: TColgp_Array2OfPnt, ParType: Approx_ParametrizationType, DegMin: Graphic3d_ZLayerId, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol3D: Standard_Real, thePeriodic: Standard_Boolean): void; - Init_4(Points: TColgp_Array2OfPnt, Weight1: Standard_Real, Weight2: Standard_Real, Weight3: Standard_Real, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol3D: Standard_Real): void; - Surface(): Handle_Geom_BSplineSurface; - IsDone(): Standard_Boolean; - delete(): void; -} - - export declare class GeomAPI_PointsToBSplineSurface_1 extends GeomAPI_PointsToBSplineSurface { - constructor(); - } - - export declare class GeomAPI_PointsToBSplineSurface_2 extends GeomAPI_PointsToBSplineSurface { - constructor(Points: TColgp_Array2OfPnt, DegMin: Graphic3d_ZLayerId, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol3D: Standard_Real); - } - - export declare class GeomAPI_PointsToBSplineSurface_3 extends GeomAPI_PointsToBSplineSurface { - constructor(Points: TColgp_Array2OfPnt, ParType: Approx_ParametrizationType, DegMin: Graphic3d_ZLayerId, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol3D: Standard_Real); - } - - export declare class GeomAPI_PointsToBSplineSurface_4 extends GeomAPI_PointsToBSplineSurface { - constructor(Points: TColgp_Array2OfPnt, Weight1: Standard_Real, Weight2: Standard_Real, Weight3: Standard_Real, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol3D: Standard_Real); - } - - export declare class GeomAPI_PointsToBSplineSurface_5 extends GeomAPI_PointsToBSplineSurface { - constructor(ZPoints: TColStd_Array2OfReal, X0: Standard_Real, dX: Standard_Real, Y0: Standard_Real, dY: Standard_Real, DegMin: Graphic3d_ZLayerId, DegMax: Graphic3d_ZLayerId, Continuity: GeomAbs_Shape, Tol3D: Standard_Real); - } - -export declare class GeomAPI_ProjectPointOnSurf { - Init_1(P: gp_Pnt, Surface: Handle_Geom_Surface, Tolerance: Standard_Real, Algo: Extrema_ExtAlgo): void; - Init_2(P: gp_Pnt, Surface: Handle_Geom_Surface, Algo: Extrema_ExtAlgo): void; - Init_3(P: gp_Pnt, Surface: Handle_Geom_Surface, Umin: Standard_Real, Usup: Standard_Real, Vmin: Standard_Real, Vsup: Standard_Real, Tolerance: Standard_Real, Algo: Extrema_ExtAlgo): void; - Init_4(P: gp_Pnt, Surface: Handle_Geom_Surface, Umin: Standard_Real, Usup: Standard_Real, Vmin: Standard_Real, Vsup: Standard_Real, Algo: Extrema_ExtAlgo): void; - Init_5(Surface: Handle_Geom_Surface, Umin: Standard_Real, Usup: Standard_Real, Vmin: Standard_Real, Vsup: Standard_Real, Tolerance: Standard_Real, Algo: Extrema_ExtAlgo): void; - Init_6(Surface: Handle_Geom_Surface, Umin: Standard_Real, Usup: Standard_Real, Vmin: Standard_Real, Vsup: Standard_Real, Algo: Extrema_ExtAlgo): void; - SetExtremaAlgo(theAlgo: Extrema_ExtAlgo): void; - SetExtremaFlag(theExtFlag: Extrema_ExtFlag): void; - Perform(P: gp_Pnt): void; - IsDone(): Standard_Boolean; - NbPoints(): Graphic3d_ZLayerId; - Point(Index: Graphic3d_ZLayerId): gp_Pnt; - Parameters(Index: Graphic3d_ZLayerId, U: Standard_Real, V: Standard_Real): void; - Distance(Index: Graphic3d_ZLayerId): Standard_Real; - NearestPoint(): gp_Pnt; - LowerDistanceParameters(U: Standard_Real, V: Standard_Real): void; - LowerDistance(): Standard_Real; - delete(): void; -} - - export declare class GeomAPI_ProjectPointOnSurf_1 extends GeomAPI_ProjectPointOnSurf { - constructor(); - } - - export declare class GeomAPI_ProjectPointOnSurf_2 extends GeomAPI_ProjectPointOnSurf { - constructor(P: gp_Pnt, Surface: Handle_Geom_Surface, Algo: Extrema_ExtAlgo); - } - - export declare class GeomAPI_ProjectPointOnSurf_3 extends GeomAPI_ProjectPointOnSurf { - constructor(P: gp_Pnt, Surface: Handle_Geom_Surface, Tolerance: Standard_Real, Algo: Extrema_ExtAlgo); - } - - export declare class GeomAPI_ProjectPointOnSurf_4 extends GeomAPI_ProjectPointOnSurf { - constructor(P: gp_Pnt, Surface: Handle_Geom_Surface, Umin: Standard_Real, Usup: Standard_Real, Vmin: Standard_Real, Vsup: Standard_Real, Tolerance: Standard_Real, Algo: Extrema_ExtAlgo); - } - - export declare class GeomAPI_ProjectPointOnSurf_5 extends GeomAPI_ProjectPointOnSurf { - constructor(P: gp_Pnt, Surface: Handle_Geom_Surface, Umin: Standard_Real, Usup: Standard_Real, Vmin: Standard_Real, Vsup: Standard_Real, Algo: Extrema_ExtAlgo); - } - -export declare type GeomAbs_CurveType = { - GeomAbs_Line: {}; - GeomAbs_Circle: {}; - GeomAbs_Ellipse: {}; - GeomAbs_Hyperbola: {}; - GeomAbs_Parabola: {}; - GeomAbs_BezierCurve: {}; - GeomAbs_BSplineCurve: {}; - GeomAbs_OffsetCurve: {}; - GeomAbs_OtherCurve: {}; -} - -export declare type GeomAbs_JoinType = { - GeomAbs_Arc: {}; - GeomAbs_Tangent: {}; - GeomAbs_Intersection: {}; -} - -export declare type GeomAbs_Shape = { - GeomAbs_C0: {}; - GeomAbs_G1: {}; - GeomAbs_C1: {}; - GeomAbs_G2: {}; - GeomAbs_C2: {}; - GeomAbs_C3: {}; - GeomAbs_CN: {}; -} - -export declare type GeomAbs_SurfaceType = { - GeomAbs_Plane: {}; - GeomAbs_Cylinder: {}; - GeomAbs_Cone: {}; - GeomAbs_Sphere: {}; - GeomAbs_Torus: {}; - GeomAbs_BezierSurface: {}; - GeomAbs_BSplineSurface: {}; - GeomAbs_SurfaceOfRevolution: {}; - GeomAbs_SurfaceOfExtrusion: {}; - GeomAbs_OffsetSurface: {}; - GeomAbs_OtherSurface: {}; -} - -export declare class GeomLib { - constructor(); - static To3d(Position: gp_Ax2, Curve2d: Handle_Geom2d_Curve): Handle_Geom_Curve; - static GTransform(Curve: Handle_Geom2d_Curve, GTrsf: gp_GTrsf2d): Handle_Geom2d_Curve; - static SameRange(Tolerance: Standard_Real, Curve2dPtr: Handle_Geom2d_Curve, First: Standard_Real, Last: Standard_Real, RequestedFirst: Standard_Real, RequestedLast: Standard_Real, NewCurve2dPtr: Handle_Geom2d_Curve): void; - static BuildCurve3d(Tolerance: Standard_Real, CurvePtr: Adaptor3d_CurveOnSurface, FirstParameter: Standard_Real, LastParameter: Standard_Real, NewCurvePtr: Handle_Geom_Curve, MaxDeviation: Standard_Real, AverageDeviation: Standard_Real, Continuity: GeomAbs_Shape, MaxDegree: Graphic3d_ZLayerId, MaxSegment: Graphic3d_ZLayerId): void; - static AdjustExtremity(Curve: Handle_Geom_BoundedCurve, P1: gp_Pnt, P2: gp_Pnt, T1: gp_Vec, T2: gp_Vec): void; - static ExtendCurveToPoint(Curve: Handle_Geom_BoundedCurve, Point: gp_Pnt, Cont: Graphic3d_ZLayerId, After: Standard_Boolean): void; - static ExtendSurfByLength(Surf: Handle_Geom_BoundedSurface, Length: Standard_Real, Cont: Graphic3d_ZLayerId, InU: Standard_Boolean, After: Standard_Boolean): void; - static AxeOfInertia(Points: TColgp_Array1OfPnt, Axe: gp_Ax2, IsSingular: Standard_Boolean, Tol: Standard_Real): void; - static Inertia(Points: TColgp_Array1OfPnt, Bary: gp_Pnt, XDir: gp_Dir, YDir: gp_Dir, Xgap: Standard_Real, YGap: Standard_Real, ZGap: Standard_Real): void; - static RemovePointsFromArray(NumPoints: Graphic3d_ZLayerId, InParameters: IntTools_CArray1OfReal, OutParameters: Handle_TColStd_HArray1OfReal): void; - static DensifyArray1OfReal(MinNumPoints: Graphic3d_ZLayerId, InParameters: IntTools_CArray1OfReal, OutParameters: Handle_TColStd_HArray1OfReal): void; - static FuseIntervals(Interval1: IntTools_CArray1OfReal, Interval2: IntTools_CArray1OfReal, Fusion: TColStd_SequenceOfReal, Confusion: Standard_Real, IsAdjustToFirstInterval: Standard_Boolean): void; - static EvalMaxParametricDistance(Curve: Adaptor3d_Curve, AReferenceCurve: Adaptor3d_Curve, Tolerance: Standard_Real, Parameters: IntTools_CArray1OfReal, MaxDistance: Standard_Real): void; - static EvalMaxDistanceAlongParameter(Curve: Adaptor3d_Curve, AReferenceCurve: Adaptor3d_Curve, Tolerance: Standard_Real, Parameters: IntTools_CArray1OfReal, MaxDistance: Standard_Real): void; - static CancelDenominatorDerivative(BSurf: Handle_Geom_BSplineSurface, UDirection: Standard_Boolean, VDirection: Standard_Boolean): void; - static NormEstim(S: Handle_Geom_Surface, UV: gp_Pnt2d, Tol: Standard_Real, N: gp_Dir): Graphic3d_ZLayerId; - static IsClosed(S: Handle_Geom_Surface, Tol: Standard_Real, isUClosed: Standard_Boolean, isVClosed: Standard_Boolean): void; - static IsBSplUClosed(S: Handle_Geom_BSplineSurface, U1: Standard_Real, U2: Standard_Real, Tol: Standard_Real): Standard_Boolean; - static IsBSplVClosed(S: Handle_Geom_BSplineSurface, V1: Standard_Real, V2: Standard_Real, Tol: Standard_Real): Standard_Boolean; - static IsBzUClosed(S: Handle_Geom_BezierSurface, U1: Standard_Real, U2: Standard_Real, Tol: Standard_Real): Standard_Boolean; - static IsBzVClosed(S: Handle_Geom_BezierSurface, V1: Standard_Real, V2: Standard_Real, Tol: Standard_Real): Standard_Boolean; - static isIsoLine(theC2D: Handle_Adaptor2d_Curve2d, theIsU: Standard_Boolean, theParam: Standard_Real, theIsForward: Standard_Boolean): Standard_Boolean; - static buildC3dOnIsoLine(theC2D: Handle_Adaptor2d_Curve2d, theSurf: Handle_Adaptor3d_Surface, theFirst: Standard_Real, theLast: Standard_Real, theTolerance: Standard_Real, theIsU: Standard_Boolean, theParam: Standard_Real, theIsForward: Standard_Boolean): Handle_Geom_Curve; - delete(): void; -} - -export declare class HLRAlgo_Projector { - Set(T: gp_Trsf, Persp: Standard_Boolean, Focus: Standard_Real): void; - Directions(D1: gp_Vec2d, D2: gp_Vec2d, D3: gp_Vec2d): void; - Scaled(On: Standard_Boolean): void; - Perspective(): Standard_Boolean; - Transformation(): gp_Trsf; - InvertedTransformation(): gp_Trsf; - FullTransformation(): gp_Trsf; - Focus(): Standard_Real; - Transform_1(D: gp_Vec): void; - Transform_2(Pnt: gp_Pnt): void; - Project_1(P: gp_Pnt, Pout: gp_Pnt2d): void; - Project_2(P: gp_Pnt, X: Standard_Real, Y: Standard_Real, Z: Standard_Real): void; - Project_3(P: gp_Pnt, D1: gp_Vec, Pout: gp_Pnt2d, D1out: gp_Vec2d): void; - Shoot(X: Standard_Real, Y: Standard_Real): gp_Lin; - delete(): void; -} - - export declare class HLRAlgo_Projector_1 extends HLRAlgo_Projector { - constructor(); - } - - export declare class HLRAlgo_Projector_2 extends HLRAlgo_Projector { - constructor(CS: gp_Ax2); - } - - export declare class HLRAlgo_Projector_3 extends HLRAlgo_Projector { - constructor(CS: gp_Ax2, Focus: Standard_Real); - } - - export declare class HLRAlgo_Projector_4 extends HLRAlgo_Projector { - constructor(T: gp_Trsf, Persp: Standard_Boolean, Focus: Standard_Real); - } - - export declare class HLRAlgo_Projector_5 extends HLRAlgo_Projector { - constructor(T: gp_Trsf, Persp: Standard_Boolean, Focus: Standard_Real, v1: gp_Vec2d, v2: gp_Vec2d, v3: gp_Vec2d); - } - -export declare class HLRBRep_Algo extends HLRBRep_InternalAlgo { - Add_1(S: TopoDS_Shape, SData: Handle_Standard_Transient, nbIso: Graphic3d_ZLayerId): void; - Add_2(S: TopoDS_Shape, nbIso: Graphic3d_ZLayerId): void; - Index(S: TopoDS_Shape): Graphic3d_ZLayerId; - OutLinedShapeNullify(): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class HLRBRep_Algo_1 extends HLRBRep_Algo { - constructor(); - } - - export declare class HLRBRep_Algo_2 extends HLRBRep_Algo { - constructor(A: Handle_HLRBRep_Algo); - } - -export declare class Handle_HLRBRep_Algo { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: HLRBRep_Algo): void; - get(): HLRBRep_Algo; - delete(): void; -} - - export declare class Handle_HLRBRep_Algo_1 extends Handle_HLRBRep_Algo { - constructor(); - } - - export declare class Handle_HLRBRep_Algo_2 extends Handle_HLRBRep_Algo { - constructor(thePtr: HLRBRep_Algo); - } - - export declare class Handle_HLRBRep_Algo_3 extends Handle_HLRBRep_Algo { - constructor(theHandle: Handle_HLRBRep_Algo); - } - - export declare class Handle_HLRBRep_Algo_4 extends Handle_HLRBRep_Algo { - constructor(theHandle: Handle_HLRBRep_Algo); - } - -export declare class HLRBRep_HLRToShape { - constructor(A: Handle_HLRBRep_Algo) - VCompound_1(): TopoDS_Shape; - VCompound_2(S: TopoDS_Shape): TopoDS_Shape; - Rg1LineVCompound_1(): TopoDS_Shape; - Rg1LineVCompound_2(S: TopoDS_Shape): TopoDS_Shape; - RgNLineVCompound_1(): TopoDS_Shape; - RgNLineVCompound_2(S: TopoDS_Shape): TopoDS_Shape; - OutLineVCompound_1(): TopoDS_Shape; - OutLineVCompound3d(): TopoDS_Shape; - OutLineVCompound_2(S: TopoDS_Shape): TopoDS_Shape; - IsoLineVCompound_1(): TopoDS_Shape; - IsoLineVCompound_2(S: TopoDS_Shape): TopoDS_Shape; - HCompound_1(): TopoDS_Shape; - HCompound_2(S: TopoDS_Shape): TopoDS_Shape; - Rg1LineHCompound_1(): TopoDS_Shape; - Rg1LineHCompound_2(S: TopoDS_Shape): TopoDS_Shape; - RgNLineHCompound_1(): TopoDS_Shape; - RgNLineHCompound_2(S: TopoDS_Shape): TopoDS_Shape; - OutLineHCompound_1(): TopoDS_Shape; - OutLineHCompound_2(S: TopoDS_Shape): TopoDS_Shape; - IsoLineHCompound_1(): TopoDS_Shape; - IsoLineHCompound_2(S: TopoDS_Shape): TopoDS_Shape; - CompoundOfEdges_1(type: HLRBRep_TypeOfResultingEdge, visible: Standard_Boolean, In3d: Standard_Boolean): TopoDS_Shape; - CompoundOfEdges_2(S: TopoDS_Shape, type: HLRBRep_TypeOfResultingEdge, visible: Standard_Boolean, In3d: Standard_Boolean): TopoDS_Shape; - delete(): void; -} - -export declare class HLRBRep_InternalAlgo extends Standard_Transient { - Projector_1(P: HLRAlgo_Projector): void; - Projector_2(): HLRAlgo_Projector; - Update(): void; - Load_1(S: Handle_HLRTopoBRep_OutLiner, SData: Handle_Standard_Transient, nbIso: Graphic3d_ZLayerId): void; - Load_2(S: Handle_HLRTopoBRep_OutLiner, nbIso: Graphic3d_ZLayerId): void; - Index(S: Handle_HLRTopoBRep_OutLiner): Graphic3d_ZLayerId; - Remove(I: Graphic3d_ZLayerId): void; - ShapeData(I: Graphic3d_ZLayerId, SData: Handle_Standard_Transient): void; - SeqOfShapeBounds(): HLRBRep_SeqOfShapeBounds; - NbShapes(): Graphic3d_ZLayerId; - ShapeBounds(I: Graphic3d_ZLayerId): HLRBRep_ShapeBounds; - InitEdgeStatus(): void; - Select_1(): void; - Select_2(I: Graphic3d_ZLayerId): void; - SelectEdge(I: Graphic3d_ZLayerId): void; - SelectFace(I: Graphic3d_ZLayerId): void; - ShowAll_1(): void; - ShowAll_2(I: Graphic3d_ZLayerId): void; - HideAll_1(): void; - HideAll_2(I: Graphic3d_ZLayerId): void; - PartialHide(): void; - Hide_1(): void; - Hide_2(I: Graphic3d_ZLayerId): void; - Hide_3(I: Graphic3d_ZLayerId, J: Graphic3d_ZLayerId): void; - Debug_1(deb: Standard_Boolean): void; - Debug_2(): Standard_Boolean; - DataStructure(): Handle_HLRBRep_Data; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class HLRBRep_InternalAlgo_1 extends HLRBRep_InternalAlgo { - constructor(); - } - - export declare class HLRBRep_InternalAlgo_2 extends HLRBRep_InternalAlgo { - constructor(A: Handle_HLRBRep_InternalAlgo); - } - -export declare type IFSelect_ReturnStatus = { - IFSelect_RetVoid: {}; - IFSelect_RetDone: {}; - IFSelect_RetError: {}; - IFSelect_RetFail: {}; - IFSelect_RetStop: {}; -} - -export declare class IFSelect_WorkSession extends Standard_Transient { - constructor() - SetErrorHandle(toHandle: Standard_Boolean): void; - ErrorHandle(): Standard_Boolean; - ShareOut(): Handle_IFSelect_ShareOut; - SetShareOut(shareout: Handle_IFSelect_ShareOut): void; - SetModeStat(theMode: Standard_Boolean): void; - GetModeStat(): Standard_Boolean; - SetLibrary(theLib: Handle_IFSelect_WorkLibrary): void; - WorkLibrary(): Handle_IFSelect_WorkLibrary; - SetProtocol(protocol: Handle_Interface_Protocol): void; - Protocol(): Handle_Interface_Protocol; - SetSignType(signtype: Handle_IFSelect_Signature): void; - SignType(): Handle_IFSelect_Signature; - HasModel(): Standard_Boolean; - SetModel(model: Handle_Interface_InterfaceModel, clearpointed: Standard_Boolean): void; - Model(): Handle_Interface_InterfaceModel; - SetLoadedFile(theFileName: Standard_CString): void; - LoadedFile(): Standard_CString; - ReadFile(filename: Standard_CString): IFSelect_ReturnStatus; - ReadStream(theName: Standard_CString, theIStream: Standard_IStream): IFSelect_ReturnStatus; - NbStartingEntities(): Graphic3d_ZLayerId; - StartingEntity(num: Graphic3d_ZLayerId): Handle_Standard_Transient; - StartingNumber(ent: Handle_Standard_Transient): Graphic3d_ZLayerId; - NumberFromLabel(val: Standard_CString, afternum: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - EntityLabel(ent: Handle_Standard_Transient): Handle_TCollection_HAsciiString; - EntityName(ent: Handle_Standard_Transient): Handle_TCollection_HAsciiString; - CategoryNumber(ent: Handle_Standard_Transient): Graphic3d_ZLayerId; - CategoryName(ent: Handle_Standard_Transient): Standard_CString; - ValidityName(ent: Handle_Standard_Transient): Standard_CString; - ClearData(mode: Graphic3d_ZLayerId): void; - ComputeGraph(enforce: Standard_Boolean): Standard_Boolean; - HGraph(): Handle_Interface_HGraph; - Graph(): Interface_Graph; - Shareds(ent: Handle_Standard_Transient): Handle_TColStd_HSequenceOfTransient; - Sharings(ent: Handle_Standard_Transient): Handle_TColStd_HSequenceOfTransient; - IsLoaded(): Standard_Boolean; - ComputeCheck(enforce: Standard_Boolean): Standard_Boolean; - ModelCheckList(complete: Standard_Boolean): Interface_CheckIterator; - CheckOne(ent: Handle_Standard_Transient, complete: Standard_Boolean): Interface_CheckIterator; - LastRunCheckList(): Interface_CheckIterator; - MaxIdent(): Graphic3d_ZLayerId; - Item(id: Graphic3d_ZLayerId): Handle_Standard_Transient; - ItemIdent(item: Handle_Standard_Transient): Graphic3d_ZLayerId; - NamedItem_1(name: Standard_CString): Handle_Standard_Transient; - NamedItem_2(name: Handle_TCollection_HAsciiString): Handle_Standard_Transient; - NameIdent(name: Standard_CString): Graphic3d_ZLayerId; - HasName(item: Handle_Standard_Transient): Standard_Boolean; - Name(item: Handle_Standard_Transient): Handle_TCollection_HAsciiString; - AddItem(item: Handle_Standard_Transient, active: Standard_Boolean): Graphic3d_ZLayerId; - AddNamedItem(name: Standard_CString, item: Handle_Standard_Transient, active: Standard_Boolean): Graphic3d_ZLayerId; - SetActive(item: Handle_Standard_Transient, mode: Standard_Boolean): Standard_Boolean; - RemoveNamedItem(name: Standard_CString): Standard_Boolean; - RemoveName(name: Standard_CString): Standard_Boolean; - RemoveItem(item: Handle_Standard_Transient): Standard_Boolean; - ClearItems(): void; - ItemLabel(id: Graphic3d_ZLayerId): Handle_TCollection_HAsciiString; - ItemIdents(type: Handle_Standard_Type): Handle_TColStd_HSequenceOfInteger; - ItemNames(type: Handle_Standard_Type): Handle_TColStd_HSequenceOfHAsciiString; - ItemNamesForLabel(label: Standard_CString): Handle_TColStd_HSequenceOfHAsciiString; - NextIdentForLabel(label: Standard_CString, id: Graphic3d_ZLayerId, mode: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - NewParamFromStatic(statname: Standard_CString, name: Standard_CString): Handle_Standard_Transient; - IntParam(id: Graphic3d_ZLayerId): Handle_IFSelect_IntParam; - IntValue(it: Handle_IFSelect_IntParam): Graphic3d_ZLayerId; - NewIntParam(name: Standard_CString): Handle_IFSelect_IntParam; - SetIntValue(it: Handle_IFSelect_IntParam, val: Graphic3d_ZLayerId): Standard_Boolean; - TextParam(id: Graphic3d_ZLayerId): Handle_TCollection_HAsciiString; - TextValue(par: Handle_TCollection_HAsciiString): XCAFDoc_PartId; - NewTextParam(name: Standard_CString): Handle_TCollection_HAsciiString; - SetTextValue(par: Handle_TCollection_HAsciiString, val: Standard_CString): Standard_Boolean; - Signature(id: Graphic3d_ZLayerId): Handle_IFSelect_Signature; - SignValue(sign: Handle_IFSelect_Signature, ent: Handle_Standard_Transient): Standard_CString; - Selection(id: Graphic3d_ZLayerId): Handle_IFSelect_Selection; - EvalSelection(sel: Handle_IFSelect_Selection): Interface_EntityIterator; - Sources(sel: Handle_IFSelect_Selection): IFSelect_SelectionIterator; - SelectionResult(sel: Handle_IFSelect_Selection): Handle_TColStd_HSequenceOfTransient; - SelectionResultFromList(sel: Handle_IFSelect_Selection, list: Handle_TColStd_HSequenceOfTransient): Handle_TColStd_HSequenceOfTransient; - SetItemSelection(item: Handle_Standard_Transient, sel: Handle_IFSelect_Selection): Standard_Boolean; - ResetItemSelection(item: Handle_Standard_Transient): Standard_Boolean; - ItemSelection(item: Handle_Standard_Transient): Handle_IFSelect_Selection; - SignCounter(id: Graphic3d_ZLayerId): Handle_IFSelect_SignCounter; - ComputeCounter(counter: Handle_IFSelect_SignCounter, forced: Standard_Boolean): Standard_Boolean; - ComputeCounterFromList(counter: Handle_IFSelect_SignCounter, list: Handle_TColStd_HSequenceOfTransient, clear: Standard_Boolean): Standard_Boolean; - AppliedDispatches(): Handle_TColStd_HSequenceOfInteger; - ClearShareOut(onlydisp: Standard_Boolean): void; - Dispatch(id: Graphic3d_ZLayerId): Handle_IFSelect_Dispatch; - DispatchRank(disp: Handle_IFSelect_Dispatch): Graphic3d_ZLayerId; - ModelCopier(): Handle_IFSelect_ModelCopier; - SetModelCopier(copier: Handle_IFSelect_ModelCopier): void; - NbFinalModifiers(formodel: Standard_Boolean): Graphic3d_ZLayerId; - FinalModifierIdents(formodel: Standard_Boolean): Handle_TColStd_HSequenceOfInteger; - GeneralModifier(id: Graphic3d_ZLayerId): Handle_IFSelect_GeneralModifier; - ModelModifier(id: Graphic3d_ZLayerId): Handle_IFSelect_Modifier; - ModifierRank(item: Handle_IFSelect_GeneralModifier): Graphic3d_ZLayerId; - ChangeModifierRank(formodel: Standard_Boolean, before: Graphic3d_ZLayerId, after: Graphic3d_ZLayerId): Standard_Boolean; - ClearFinalModifiers(): void; - SetAppliedModifier(modif: Handle_IFSelect_GeneralModifier, item: Handle_Standard_Transient): Standard_Boolean; - ResetAppliedModifier(modif: Handle_IFSelect_GeneralModifier): Standard_Boolean; - UsesAppliedModifier(modif: Handle_IFSelect_GeneralModifier): Handle_Standard_Transient; - Transformer(id: Graphic3d_ZLayerId): Handle_IFSelect_Transformer; - RunTransformer(transf: Handle_IFSelect_Transformer): Graphic3d_ZLayerId; - RunModifier(modif: Handle_IFSelect_Modifier, copy: Standard_Boolean): Graphic3d_ZLayerId; - RunModifierSelected(modif: Handle_IFSelect_Modifier, sel: Handle_IFSelect_Selection, copy: Standard_Boolean): Graphic3d_ZLayerId; - NewTransformStandard(copy: Standard_Boolean, name: Standard_CString): Handle_IFSelect_Transformer; - SetModelContent(sel: Handle_IFSelect_Selection, keep: Standard_Boolean): Standard_Boolean; - FilePrefix(): Handle_TCollection_HAsciiString; - DefaultFileRoot(): Handle_TCollection_HAsciiString; - FileExtension(): Handle_TCollection_HAsciiString; - FileRoot(disp: Handle_IFSelect_Dispatch): Handle_TCollection_HAsciiString; - SetFilePrefix(name: Standard_CString): void; - SetDefaultFileRoot(name: Standard_CString): Standard_Boolean; - SetFileExtension(name: Standard_CString): void; - SetFileRoot(disp: Handle_IFSelect_Dispatch, name: Standard_CString): Standard_Boolean; - GiveFileRoot(file: Standard_CString): Standard_CString; - GiveFileComplete(file: Standard_CString): Standard_CString; - ClearFile(): void; - EvaluateFile(): void; - NbFiles(): Graphic3d_ZLayerId; - FileModel(num: Graphic3d_ZLayerId): Handle_Interface_InterfaceModel; - FileName(num: Graphic3d_ZLayerId): XCAFDoc_PartId; - BeginSentFiles(record: Standard_Boolean): void; - SentFiles(): Handle_TColStd_HSequenceOfHAsciiString; - SendSplit(): Standard_Boolean; - EvalSplit(): Handle_IFSelect_PacketList; - SentList(count: Graphic3d_ZLayerId): Interface_EntityIterator; - MaxSendingCount(): Graphic3d_ZLayerId; - SetRemaining(mode: IFSelect_RemainMode): Standard_Boolean; - SendAll(filename: Standard_CString, computegraph: Standard_Boolean): IFSelect_ReturnStatus; - SendSelected(filename: Standard_CString, sel: Handle_IFSelect_Selection, computegraph: Standard_Boolean): IFSelect_ReturnStatus; - WriteFile_1(filename: Standard_CString): IFSelect_ReturnStatus; - WriteFile_2(filename: Standard_CString, sel: Handle_IFSelect_Selection): IFSelect_ReturnStatus; - NbSources(sel: Handle_IFSelect_Selection): Graphic3d_ZLayerId; - Source(sel: Handle_IFSelect_Selection, num: Graphic3d_ZLayerId): Handle_IFSelect_Selection; - IsReversedSelectExtract(sel: Handle_IFSelect_Selection): Standard_Boolean; - ToggleSelectExtract(sel: Handle_IFSelect_Selection): Standard_Boolean; - SetInputSelection(sel: Handle_IFSelect_Selection, input: Handle_IFSelect_Selection): Standard_Boolean; - SetControl(sel: Handle_IFSelect_Selection, sc: Handle_IFSelect_Selection, formain: Standard_Boolean): Standard_Boolean; - CombineAdd(selcomb: Handle_IFSelect_Selection, seladd: Handle_IFSelect_Selection, atnum: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - CombineRemove(selcomb: Handle_IFSelect_Selection, selrem: Handle_IFSelect_Selection): Standard_Boolean; - NewSelectPointed(list: Handle_TColStd_HSequenceOfTransient, name: Standard_CString): Handle_IFSelect_Selection; - SetSelectPointed(sel: Handle_IFSelect_Selection, list: Handle_TColStd_HSequenceOfTransient, mode: Graphic3d_ZLayerId): Standard_Boolean; - GiveSelection(selname: Standard_CString): Handle_IFSelect_Selection; - GiveList_1(obj: Handle_Standard_Transient): Handle_TColStd_HSequenceOfTransient; - GiveList_2(first: Standard_CString, second: Standard_CString): Handle_TColStd_HSequenceOfTransient; - GiveListFromList(selname: Standard_CString, ent: Handle_Standard_Transient): Handle_TColStd_HSequenceOfTransient; - GiveListCombined(l1: Handle_TColStd_HSequenceOfTransient, l2: Handle_TColStd_HSequenceOfTransient, mode: Graphic3d_ZLayerId): Handle_TColStd_HSequenceOfTransient; - QueryCheckList(chl: Interface_CheckIterator): void; - QueryCheckStatus(ent: Handle_Standard_Transient): Graphic3d_ZLayerId; - QueryParent(entdad: Handle_Standard_Transient, entson: Handle_Standard_Transient): Graphic3d_ZLayerId; - SetParams(params: any, uselist: OpenGl_ColorFormats): void; - TraceStatics(use: Graphic3d_ZLayerId, mode: Graphic3d_ZLayerId): void; - DumpShare(): void; - ListItems(label: Standard_CString): void; - ListFinalModifiers(formodel: Standard_Boolean): void; - DumpSelection(sel: Handle_IFSelect_Selection): void; - DumpModel(level: Graphic3d_ZLayerId, S: Standard_OStream): void; - TraceDumpModel(mode: Graphic3d_ZLayerId): void; - DumpEntity(ent: Handle_Standard_Transient, level: Graphic3d_ZLayerId, S: Standard_OStream): void; - PrintEntityStatus(ent: Handle_Standard_Transient, S: Standard_OStream): void; - TraceDumpEntity(ent: Handle_Standard_Transient, level: Graphic3d_ZLayerId): void; - PrintCheckList(S: Standard_OStream, checklist: Interface_CheckIterator, failsonly: Standard_Boolean, mode: IFSelect_PrintCount): void; - PrintSignatureList(S: Standard_OStream, signlist: Handle_IFSelect_SignatureList, mode: IFSelect_PrintCount): void; - EvaluateSelection(sel: Handle_IFSelect_Selection): void; - EvaluateDispatch(disp: Handle_IFSelect_Dispatch, mode: Graphic3d_ZLayerId): void; - EvaluateComplete(mode: Graphic3d_ZLayerId): void; - ListEntities(iter: Interface_EntityIterator, mode: Graphic3d_ZLayerId, S: Standard_OStream): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class Interface_Static extends Interface_TypedValue { - PrintStatic(S: Standard_OStream): void; - Family(): Standard_CString; - SetWild(wildcard: Handle_Interface_Static): void; - Wild(): Handle_Interface_Static; - SetUptodate(): void; - UpdatedStatus(): Standard_Boolean; - static Init_1(family: Standard_CString, name: Standard_CString, type: Interface_ParamType, init: Standard_CString): Standard_Boolean; - static Init_2(family: Standard_CString, name: Standard_CString, type: Standard_Character, init: Standard_CString): Standard_Boolean; - static Static(name: Standard_CString): Handle_Interface_Static; - static IsPresent(name: Standard_CString): Standard_Boolean; - static CDef(name: Standard_CString, part: Standard_CString): Standard_CString; - static IDef(name: Standard_CString, part: Standard_CString): Graphic3d_ZLayerId; - static IsSet(name: Standard_CString, proper: Standard_Boolean): Standard_Boolean; - static CVal(name: Standard_CString): Standard_CString; - static IVal(name: Standard_CString): Graphic3d_ZLayerId; - static RVal(name: Standard_CString): Standard_Real; - static SetCVal(name: Standard_CString, val: Standard_CString): Standard_Boolean; - static SetIVal(name: Standard_CString, val: Graphic3d_ZLayerId): Standard_Boolean; - static SetRVal(name: Standard_CString, val: Standard_Real): Standard_Boolean; - static Update(name: Standard_CString): Standard_Boolean; - static IsUpdated(name: Standard_CString): Standard_Boolean; - static Items(mode: Graphic3d_ZLayerId, criter: Standard_CString): Handle_TColStd_HSequenceOfHAsciiString; - static Standards(): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class Interface_Static_1 extends Interface_Static { - constructor(family: Standard_CString, name: Standard_CString, type: Interface_ParamType, init: Standard_CString); - } - - export declare class Interface_Static_2 extends Interface_Static { - constructor(family: Standard_CString, name: Standard_CString, other: Handle_Interface_Static); - } - -export declare class Interface_TypedValue extends MoniTool_TypedValue { - constructor(name: Standard_CString, type: Interface_ParamType, init: Standard_CString) - Type(): Interface_ParamType; - static ParamTypeToValueType(typ: Interface_ParamType): MoniTool_ValueType; - static ValueTypeToParamType(typ: MoniTool_ValueType): Interface_ParamType; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class Law_BSpFunc extends Law_Function { - Continuity(): GeomAbs_Shape; - NbIntervals(S: GeomAbs_Shape): Graphic3d_ZLayerId; - Intervals(T: IntTools_CArray1OfReal, S: GeomAbs_Shape): void; - Value(X: Standard_Real): Standard_Real; - D1(X: Standard_Real, F: Standard_Real, D: Standard_Real): void; - D2(X: Standard_Real, F: Standard_Real, D: Standard_Real, D2: Standard_Real): void; - Trim(PFirst: Standard_Real, PLast: Standard_Real, Tol: Standard_Real): Handle_Law_Function; - Bounds(PFirst: Standard_Real, PLast: Standard_Real): void; - Curve(): Handle_Law_BSpline; - SetCurve(C: Handle_Law_BSpline): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class Law_BSpFunc_1 extends Law_BSpFunc { - constructor(); - } - - export declare class Law_BSpFunc_2 extends Law_BSpFunc { - constructor(C: Handle_Law_BSpline, First: Standard_Real, Last: Standard_Real); - } - -export declare class Law_Composite extends Law_Function { - Continuity(): GeomAbs_Shape; - NbIntervals(S: GeomAbs_Shape): Graphic3d_ZLayerId; - Intervals(T: IntTools_CArray1OfReal, S: GeomAbs_Shape): void; - Value(X: Standard_Real): Standard_Real; - D1(X: Standard_Real, F: Standard_Real, D: Standard_Real): void; - D2(X: Standard_Real, F: Standard_Real, D: Standard_Real, D2: Standard_Real): void; - Trim(PFirst: Standard_Real, PLast: Standard_Real, Tol: Standard_Real): Handle_Law_Function; - Bounds(PFirst: Standard_Real, PLast: Standard_Real): void; - ChangeElementaryLaw(W: Standard_Real): Handle_Law_Function; - ChangeLaws(): Law_Laws; - IsPeriodic(): Standard_Boolean; - SetPeriodic(): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class Law_Composite_1 extends Law_Composite { - constructor(); - } - - export declare class Law_Composite_2 extends Law_Composite { - constructor(First: Standard_Real, Last: Standard_Real, Tol: Standard_Real); - } - -export declare class Handle_Law_Function { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: Law_Function): void; - get(): Law_Function; - delete(): void; -} - - export declare class Handle_Law_Function_1 extends Handle_Law_Function { - constructor(); - } - - export declare class Handle_Law_Function_2 extends Handle_Law_Function { - constructor(thePtr: Law_Function); - } - - export declare class Handle_Law_Function_3 extends Handle_Law_Function { - constructor(theHandle: Handle_Law_Function); - } - - export declare class Handle_Law_Function_4 extends Handle_Law_Function { - constructor(theHandle: Handle_Law_Function); - } - -export declare class Law_Function extends Standard_Transient { - Continuity(): GeomAbs_Shape; - NbIntervals(S: GeomAbs_Shape): Graphic3d_ZLayerId; - Intervals(T: IntTools_CArray1OfReal, S: GeomAbs_Shape): void; - Value(X: Standard_Real): Standard_Real; - D1(X: Standard_Real, F: Standard_Real, D: Standard_Real): void; - D2(X: Standard_Real, F: Standard_Real, D: Standard_Real, D2: Standard_Real): void; - Trim(PFirst: Standard_Real, PLast: Standard_Real, Tol: Standard_Real): Handle_Law_Function; - Bounds(PFirst: Standard_Real, PLast: Standard_Real): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class Law_Interpol extends Law_BSpFunc { - constructor() - Set_1(ParAndRad: TColgp_Array1OfPnt2d, Periodic: Standard_Boolean): void; - SetInRelative_1(ParAndRad: TColgp_Array1OfPnt2d, Ud: Standard_Real, Uf: Standard_Real, Periodic: Standard_Boolean): void; - Set_2(ParAndRad: TColgp_Array1OfPnt2d, Dd: Standard_Real, Df: Standard_Real, Periodic: Standard_Boolean): void; - SetInRelative_2(ParAndRad: TColgp_Array1OfPnt2d, Ud: Standard_Real, Uf: Standard_Real, Dd: Standard_Real, Df: Standard_Real, Periodic: Standard_Boolean): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class Law_Linear extends Law_Function { - constructor() - Set(Pdeb: Standard_Real, Valdeb: Standard_Real, Pfin: Standard_Real, Valfin: Standard_Real): void; - Continuity(): GeomAbs_Shape; - NbIntervals(S: GeomAbs_Shape): Graphic3d_ZLayerId; - Intervals(T: IntTools_CArray1OfReal, S: GeomAbs_Shape): void; - Value(X: Standard_Real): Standard_Real; - D1(X: Standard_Real, F: Standard_Real, D: Standard_Real): void; - D2(X: Standard_Real, F: Standard_Real, D: Standard_Real, D2: Standard_Real): void; - Trim(PFirst: Standard_Real, PLast: Standard_Real, Tol: Standard_Real): Handle_Law_Function; - Bounds(PFirst: Standard_Real, PLast: Standard_Real): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class Law_S extends Law_BSpFunc { - constructor() - Set_1(Pdeb: Standard_Real, Valdeb: Standard_Real, Pfin: Standard_Real, Valfin: Standard_Real): void; - Set_2(Pdeb: Standard_Real, Valdeb: Standard_Real, Ddeb: Standard_Real, Pfin: Standard_Real, Valfin: Standard_Real, Dfin: Standard_Real): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class Message_ProgressRange { - UserBreak(): Standard_Boolean; - More(): Standard_Boolean; - IsActive(): Standard_Boolean; - Close(): void; - delete(): void; -} - - export declare class Message_ProgressRange_1 extends Message_ProgressRange { - constructor(); - } - - export declare class Message_ProgressRange_2 extends Message_ProgressRange { - constructor(theOther: Message_ProgressRange); - } - -export declare class MoniTool_TypedValue extends Standard_Transient { - Name(): Standard_CString; - ValueType(): MoniTool_ValueType; - Definition(): XCAFDoc_PartId; - SetDefinition(deftext: Standard_CString): void; - Print(S: Standard_OStream): void; - PrintValue(S: Standard_OStream): void; - AddDef(initext: Standard_CString): Standard_Boolean; - SetLabel(label: Standard_CString): void; - Label(): Standard_CString; - SetMaxLength(max: Graphic3d_ZLayerId): void; - MaxLength(): Graphic3d_ZLayerId; - SetIntegerLimit(max: Standard_Boolean, val: Graphic3d_ZLayerId): void; - IntegerLimit(max: Standard_Boolean, val: Graphic3d_ZLayerId): Standard_Boolean; - SetRealLimit(max: Standard_Boolean, val: Standard_Real): void; - RealLimit(max: Standard_Boolean, val: Standard_Real): Standard_Boolean; - SetUnitDef(def: Standard_CString): void; - UnitDef(): Standard_CString; - StartEnum(start: Graphic3d_ZLayerId, match: Standard_Boolean): void; - AddEnum(v1: Standard_CString, v2: Standard_CString, v3: Standard_CString, v4: Standard_CString, v5: Standard_CString, v6: Standard_CString, v7: Standard_CString, v8: Standard_CString, v9: Standard_CString, v10: Standard_CString): void; - AddEnumValue(val: Standard_CString, num: Graphic3d_ZLayerId): void; - EnumDef(startcase: Graphic3d_ZLayerId, endcase: Graphic3d_ZLayerId, match: Standard_Boolean): Standard_Boolean; - EnumVal(num: Graphic3d_ZLayerId): Standard_CString; - EnumCase(val: Standard_CString): Graphic3d_ZLayerId; - SetObjectType(typ: Handle_Standard_Type): void; - ObjectType(): Handle_Standard_Type; - SetInterpret(func: MoniTool_ValueInterpret): void; - HasInterpret(): Standard_Boolean; - SetSatisfies(func: MoniTool_ValueSatisfies, name: Standard_CString): void; - SatisfiesName(): Standard_CString; - IsSetValue(): Standard_Boolean; - CStringValue(): Standard_CString; - HStringValue(): Handle_TCollection_HAsciiString; - Interpret(hval: Handle_TCollection_HAsciiString, native: Standard_Boolean): Handle_TCollection_HAsciiString; - Satisfies(hval: Handle_TCollection_HAsciiString): Standard_Boolean; - ClearValue(): void; - SetCStringValue(val: Standard_CString): Standard_Boolean; - SetHStringValue(hval: Handle_TCollection_HAsciiString): Standard_Boolean; - IntegerValue(): Graphic3d_ZLayerId; - SetIntegerValue(ival: Graphic3d_ZLayerId): Standard_Boolean; - RealValue(): Standard_Real; - SetRealValue(rval: Standard_Real): Standard_Boolean; - ObjectValue(): Handle_Standard_Transient; - GetObjectValue(val: Handle_Standard_Transient): void; - SetObjectValue(obj: Handle_Standard_Transient): Standard_Boolean; - ObjectTypeName(): Standard_CString; - static AddLib(tv: Handle_MoniTool_TypedValue, def: Standard_CString): Standard_Boolean; - static Lib(def: Standard_CString): Handle_MoniTool_TypedValue; - static FromLib(def: Standard_CString): Handle_MoniTool_TypedValue; - static LibList(): Handle_TColStd_HSequenceOfAsciiString; - static StaticValue(name: Standard_CString): Handle_MoniTool_TypedValue; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class MoniTool_TypedValue_1 extends MoniTool_TypedValue { - constructor(name: Standard_CString, type: MoniTool_ValueType, init: Standard_CString); - } - - export declare class MoniTool_TypedValue_2 extends MoniTool_TypedValue { - constructor(other: Handle_MoniTool_TypedValue); - } - -export declare class NCollection_BaseList { - Extent(): Graphic3d_ZLayerId; - IsEmpty(): Standard_Boolean; - Allocator(): Handle_NCollection_BaseAllocator; - delete(): void; -} - -export declare class Poly_Array1OfTriangle { - begin(): any; - end(): any; - cbegin(): any; - cend(): any; - Init(theValue: Poly_Triangle): void; - Size(): Standard_Integer; - Length(): Standard_Integer; - IsEmpty(): Standard_Boolean; - Lower(): Standard_Integer; - Upper(): Standard_Integer; - IsDeletable(): Standard_Boolean; - IsAllocated(): Standard_Boolean; - Assign(theOther: Poly_Array1OfTriangle): Poly_Array1OfTriangle; - Move(theOther: Poly_Array1OfTriangle): Poly_Array1OfTriangle; - First(): Poly_Triangle; - ChangeFirst(): Poly_Triangle; - Last(): Poly_Triangle; - ChangeLast(): Poly_Triangle; - Value(theIndex: Standard_Integer): Poly_Triangle; - ChangeValue(theIndex: Standard_Integer): Poly_Triangle; - SetValue(theIndex: Standard_Integer, theItem: Poly_Triangle): void; - Resize(theLower: Standard_Integer, theUpper: Standard_Integer, theToCopyData: Standard_Boolean): void; - delete(): void; -} - - export declare class Poly_Array1OfTriangle_1 extends Poly_Array1OfTriangle { - constructor(); - } - - export declare class Poly_Array1OfTriangle_2 extends Poly_Array1OfTriangle { - constructor(theLower: Standard_Integer, theUpper: Standard_Integer); - } - - export declare class Poly_Array1OfTriangle_3 extends Poly_Array1OfTriangle { - constructor(theOther: Poly_Array1OfTriangle); - } - - export declare class Poly_Array1OfTriangle_4 extends Poly_Array1OfTriangle { - constructor(theOther: Poly_Array1OfTriangle); - } - - export declare class Poly_Array1OfTriangle_5 extends Poly_Array1OfTriangle { - constructor(theBegin: Poly_Triangle, theLower: Standard_Integer, theUpper: Standard_Integer); - } - -export declare class Poly_Connect { - Load(theTriangulation: Handle_Poly_Triangulation): void; - Triangulation(): Handle_Poly_Triangulation; - Triangle(N: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - Triangles(T: Graphic3d_ZLayerId, t1: Graphic3d_ZLayerId, t2: Graphic3d_ZLayerId, t3: Graphic3d_ZLayerId): void; - Nodes(T: Graphic3d_ZLayerId, n1: Graphic3d_ZLayerId, n2: Graphic3d_ZLayerId, n3: Graphic3d_ZLayerId): void; - Initialize(N: Graphic3d_ZLayerId): void; - More(): Standard_Boolean; - Next(): void; - Value(): Graphic3d_ZLayerId; - delete(): void; -} - - export declare class Poly_Connect_1 extends Poly_Connect { - constructor(); - } - - export declare class Poly_Connect_2 extends Poly_Connect { - constructor(theTriangulation: Handle_Poly_Triangulation); - } - -export declare class Handle_Poly_PolygonOnTriangulation { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: Poly_PolygonOnTriangulation): void; - get(): Poly_PolygonOnTriangulation; - delete(): void; -} - - export declare class Handle_Poly_PolygonOnTriangulation_1 extends Handle_Poly_PolygonOnTriangulation { - constructor(); - } - - export declare class Handle_Poly_PolygonOnTriangulation_2 extends Handle_Poly_PolygonOnTriangulation { - constructor(thePtr: Poly_PolygonOnTriangulation); - } - - export declare class Handle_Poly_PolygonOnTriangulation_3 extends Handle_Poly_PolygonOnTriangulation { - constructor(theHandle: Handle_Poly_PolygonOnTriangulation); - } - - export declare class Handle_Poly_PolygonOnTriangulation_4 extends Handle_Poly_PolygonOnTriangulation { - constructor(theHandle: Handle_Poly_PolygonOnTriangulation); - } - -export declare class Poly_PolygonOnTriangulation extends Standard_Transient { - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - Copy(): Handle_Poly_PolygonOnTriangulation; - Deflection_1(): Standard_Real; - Deflection_2(theDefl: Standard_Real): void; - NbNodes(): Graphic3d_ZLayerId; - Node(theIndex: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - SetNode(theIndex: Graphic3d_ZLayerId, theNode: Graphic3d_ZLayerId): void; - HasParameters(): Standard_Boolean; - Parameter(theIndex: Graphic3d_ZLayerId): Standard_Real; - SetParameter(theIndex: Graphic3d_ZLayerId, theValue: Standard_Real): void; - SetParameters(theParameters: Handle_TColStd_HArray1OfReal): void; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - Nodes(): TColStd_Array1OfInteger; - Parameters(): Handle_TColStd_HArray1OfReal; - ChangeNodes(): TColStd_Array1OfInteger; - ChangeParameters(): IntTools_CArray1OfReal; - delete(): void; -} - - export declare class Poly_PolygonOnTriangulation_1 extends Poly_PolygonOnTriangulation { - constructor(theNbNodes: Graphic3d_ZLayerId, theHasParams: Standard_Boolean); - } - - export declare class Poly_PolygonOnTriangulation_2 extends Poly_PolygonOnTriangulation { - constructor(Nodes: TColStd_Array1OfInteger); - } - - export declare class Poly_PolygonOnTriangulation_3 extends Poly_PolygonOnTriangulation { - constructor(Nodes: TColStd_Array1OfInteger, Parameters: IntTools_CArray1OfReal); - } - -export declare class Poly_Triangle { - Set_1(theN1: Graphic3d_ZLayerId, theN2: Graphic3d_ZLayerId, theN3: Graphic3d_ZLayerId): void; - Set_2(theIndex: Graphic3d_ZLayerId, theNode: Graphic3d_ZLayerId): void; - Get(theN1: Graphic3d_ZLayerId, theN2: Graphic3d_ZLayerId, theN3: Graphic3d_ZLayerId): void; - Value(theIndex: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - ChangeValue(theIndex: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - delete(): void; -} - - export declare class Poly_Triangle_1 extends Poly_Triangle { - constructor(); - } - - export declare class Poly_Triangle_2 extends Poly_Triangle { - constructor(theN1: Graphic3d_ZLayerId, theN2: Graphic3d_ZLayerId, theN3: Graphic3d_ZLayerId); - } - -export declare class Handle_Poly_Triangulation { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: Poly_Triangulation): void; - get(): Poly_Triangulation; - delete(): void; -} - - export declare class Handle_Poly_Triangulation_1 extends Handle_Poly_Triangulation { - constructor(); - } - - export declare class Handle_Poly_Triangulation_2 extends Handle_Poly_Triangulation { - constructor(thePtr: Poly_Triangulation); - } - - export declare class Handle_Poly_Triangulation_3 extends Handle_Poly_Triangulation { - constructor(theHandle: Handle_Poly_Triangulation); - } - - export declare class Handle_Poly_Triangulation_4 extends Handle_Poly_Triangulation { - constructor(theHandle: Handle_Poly_Triangulation); - } - -export declare class Poly_Triangulation extends Standard_Transient { - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - Copy(): Handle_Poly_Triangulation; - Deflection_1(): Standard_Real; - Deflection_2(theDeflection: Standard_Real): void; - Parameters_1(): Handle_Poly_TriangulationParameters; - Parameters_2(theParams: Handle_Poly_TriangulationParameters): void; - Clear(): void; - HasGeometry(): Standard_Boolean; - NbNodes(): Graphic3d_ZLayerId; - NbTriangles(): Graphic3d_ZLayerId; - HasUVNodes(): Standard_Boolean; - HasNormals(): Standard_Boolean; - Node(theIndex: Graphic3d_ZLayerId): gp_Pnt; - SetNode(theIndex: Graphic3d_ZLayerId, thePnt: gp_Pnt): void; - UVNode(theIndex: Graphic3d_ZLayerId): gp_Pnt2d; - SetUVNode(theIndex: Graphic3d_ZLayerId, thePnt: gp_Pnt2d): void; - Triangle(theIndex: Graphic3d_ZLayerId): Poly_Triangle; - SetTriangle(theIndex: Graphic3d_ZLayerId, theTriangle: Poly_Triangle): void; - Normal_1(theIndex: Graphic3d_ZLayerId): gp_Dir; - Normal_2(theIndex: Graphic3d_ZLayerId, theVec3: gp_Vec3f): void; - SetNormal_1(theIndex: Graphic3d_ZLayerId, theNormal: gp_Vec3f): void; - SetNormal_2(theIndex: Graphic3d_ZLayerId, theNormal: gp_Dir): void; - MeshPurpose(): Poly_MeshPurpose; - SetMeshPurpose(thePurpose: Poly_MeshPurpose): void; - CachedMinMax(): Bnd_Box; - SetCachedMinMax(theBox: Bnd_Box): void; - HasCachedMinMax(): Standard_Boolean; - UpdateCachedMinMax(): void; - MinMax(theBox: Bnd_Box, theTrsf: gp_Trsf, theIsAccurate: Standard_Boolean): Standard_Boolean; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - IsDoublePrecision(): Standard_Boolean; - SetDoublePrecision(theIsDouble: Standard_Boolean): void; - ResizeNodes(theNbNodes: Graphic3d_ZLayerId, theToCopyOld: Standard_Boolean): void; - ResizeTriangles(theNbTriangles: Graphic3d_ZLayerId, theToCopyOld: Standard_Boolean): void; - AddUVNodes(): void; - RemoveUVNodes(): void; - AddNormals(): void; - RemoveNormals(): void; - ComputeNormals(): void; - MapNodeArray(): Handle_TColgp_HArray1OfPnt; - MapTriangleArray(): Handle_Poly_HArray1OfTriangle; - MapUVNodeArray(): Handle_TColgp_HArray1OfPnt2d; - MapNormalArray(): Handle_TShort_HArray1OfShortReal; - InternalTriangles(): Poly_Array1OfTriangle; - InternalNodes(): Poly_ArrayOfNodes; - InternalUVNodes(): Poly_ArrayOfUVNodes; - InternalNormals(): any; - SetNormals(theNormals: Handle_TShort_HArray1OfShortReal): void; - Triangles(): Poly_Array1OfTriangle; - ChangeTriangles(): Poly_Array1OfTriangle; - ChangeTriangle(theIndex: Graphic3d_ZLayerId): Poly_Triangle; - NbDeferredNodes(): Graphic3d_ZLayerId; - NbDeferredTriangles(): Graphic3d_ZLayerId; - HasDeferredData(): Standard_Boolean; - LoadDeferredData(theFileSystem: any): Standard_Boolean; - DetachedLoadDeferredData(theFileSystem: any): Handle_Poly_Triangulation; - UnloadDeferredData(): Standard_Boolean; - delete(): void; -} - - export declare class Poly_Triangulation_1 extends Poly_Triangulation { - constructor(); - } - - export declare class Poly_Triangulation_2 extends Poly_Triangulation { - constructor(theNbNodes: Graphic3d_ZLayerId, theNbTriangles: Graphic3d_ZLayerId, theHasUVNodes: Standard_Boolean, theHasNormals: Standard_Boolean); - } - - export declare class Poly_Triangulation_3 extends Poly_Triangulation { - constructor(Nodes: TColgp_Array1OfPnt, Triangles: Poly_Array1OfTriangle); - } - - export declare class Poly_Triangulation_4 extends Poly_Triangulation { - constructor(Nodes: TColgp_Array1OfPnt, UVNodes: TColgp_Array1OfPnt2d, Triangles: Poly_Array1OfTriangle); - } - - export declare class Poly_Triangulation_5 extends Poly_Triangulation { - constructor(theTriangulation: Handle_Poly_Triangulation); - } - -export declare class Precision { - constructor(); - static Angular(): Standard_Real; - static Confusion(): Standard_Real; - static SquareConfusion(): Standard_Real; - static Intersection(): Standard_Real; - static Approximation(): Standard_Real; - static Parametric_1(P: Standard_Real, T: Standard_Real): Standard_Real; - static PConfusion_1(T: Standard_Real): Standard_Real; - static SquarePConfusion(): Standard_Real; - static PIntersection_1(T: Standard_Real): Standard_Real; - static PApproximation_1(T: Standard_Real): Standard_Real; - static Parametric_2(P: Standard_Real): Standard_Real; - static PConfusion_2(): Standard_Real; - static PIntersection_2(): Standard_Real; - static PApproximation_2(): Standard_Real; - static IsInfinite(R: Standard_Real): Standard_Boolean; - static IsPositiveInfinite(R: Standard_Real): Standard_Boolean; - static IsNegativeInfinite(R: Standard_Real): Standard_Boolean; - static Infinite(): Standard_Real; - delete(): void; -} - -export declare class Quantity_Color { - Name_1(): Quantity_NameOfColor; - SetValues_1(theName: Quantity_NameOfColor): void; - Rgb(): any; - Values(theC1: Standard_Real, theC2: Standard_Real, theC3: Standard_Real, theType: Quantity_TypeOfColor): void; - SetValues_2(theC1: Standard_Real, theC2: Standard_Real, theC3: Standard_Real, theType: Quantity_TypeOfColor): void; - Red(): Standard_Real; - Green(): Standard_Real; - Blue(): Standard_Real; - Hue(): Standard_Real; - Light(): Standard_Real; - ChangeIntensity(theDelta: Standard_Real): void; - Saturation(): Standard_Real; - ChangeContrast(theDelta: Standard_Real): void; - IsDifferent(theOther: Quantity_Color): Standard_Boolean; - IsEqual(theOther: Quantity_Color): Standard_Boolean; - Distance(theColor: Quantity_Color): Standard_Real; - SquareDistance(theColor: Quantity_Color): Standard_Real; - Delta(theColor: Quantity_Color, DC: Standard_Real, DI: Standard_Real): void; - DeltaE2000(theOther: Quantity_Color): Standard_Real; - static Name_2(theR: Standard_Real, theG: Standard_Real, theB: Standard_Real): Quantity_NameOfColor; - static StringName(theColor: Quantity_NameOfColor): Standard_CString; - static ColorFromName_1(theName: Standard_CString, theColor: Quantity_NameOfColor): Standard_Boolean; - static ColorFromName_2(theColorNameString: Standard_CString, theColor: Quantity_Color): Standard_Boolean; - static ColorFromHex(theHexColorString: Standard_CString, theColor: Quantity_Color): Standard_Boolean; - static ColorToHex(theColor: Quantity_Color, theToPrefixHash: Standard_Boolean): XCAFDoc_PartId; - static Convert_sRGB_To_HLS(theRgb: NCollection_Vec3): any; - static Convert_HLS_To_sRGB(theHls: NCollection_Vec3): any; - static Convert_LinearRGB_To_HLS(theRgb: NCollection_Vec3): any; - static Convert_HLS_To_LinearRGB(theHls: NCollection_Vec3): any; - static Convert_LinearRGB_To_Lab(theRgb: NCollection_Vec3): any; - static Convert_Lab_To_Lch(theLab: NCollection_Vec3): any; - static Convert_Lab_To_LinearRGB(theLab: NCollection_Vec3): any; - static Convert_Lch_To_Lab(theLch: NCollection_Vec3): any; - static Color2argb(theColor: Quantity_Color, theARGB: Graphic3d_ZLayerId): void; - static Argb2color(theARGB: Graphic3d_ZLayerId, theColor: Quantity_Color): void; - static Convert_LinearRGB_To_sRGB_1(theLinearValue: Standard_Real): Standard_Real; - static Convert_LinearRGB_To_sRGB_2(theLinearValue: Standard_ShortReal): Standard_ShortReal; - static Convert_sRGB_To_LinearRGB_1(thesRGBValue: Standard_Real): Standard_Real; - static Convert_sRGB_To_LinearRGB_2(thesRGBValue: Standard_ShortReal): Standard_ShortReal; - static Convert_LinearRGB_To_sRGB_approx22_1(theLinearValue: Standard_ShortReal): Standard_ShortReal; - static Convert_sRGB_To_LinearRGB_approx22_1(thesRGBValue: Standard_ShortReal): Standard_ShortReal; - static Convert_LinearRGB_To_sRGB_approx22_2(theRGB: NCollection_Vec3): any; - static Convert_sRGB_To_LinearRGB_approx22_2(theRGB: NCollection_Vec3): any; - static HlsRgb(theH: Standard_Real, theL: Standard_Real, theS: Standard_Real, theR: Standard_Real, theG: Standard_Real, theB: Standard_Real): void; - static RgbHls(theR: Standard_Real, theG: Standard_Real, theB: Standard_Real, theH: Standard_Real, theL: Standard_Real, theS: Standard_Real): void; - static Epsilon(): Standard_Real; - static SetEpsilon(theEpsilon: Standard_Real): void; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - InitFromJson(theSStream: Standard_SStream, theStreamPos: Graphic3d_ZLayerId): Standard_Boolean; - delete(): void; -} - - export declare class Quantity_Color_1 extends Quantity_Color { - constructor(); - } - - export declare class Quantity_Color_2 extends Quantity_Color { - constructor(theName: Quantity_NameOfColor); - } - - export declare class Quantity_Color_3 extends Quantity_Color { - constructor(theC1: Standard_Real, theC2: Standard_Real, theC3: Standard_Real, theType: Quantity_TypeOfColor); - } - - export declare class Quantity_Color_4 extends Quantity_Color { - constructor(theRgb: NCollection_Vec3); - } - -export declare class Quantity_ColorRGBA { - SetValues(theRed: Standard_ShortReal, theGreen: Standard_ShortReal, theBlue: Standard_ShortReal, theAlpha: Standard_ShortReal): void; - GetRGB(): Quantity_Color; - ChangeRGB(): Quantity_Color; - SetRGB(theRgb: Quantity_Color): void; - Alpha(): Standard_ShortReal; - SetAlpha(theAlpha: Standard_ShortReal): void; - IsDifferent(theOther: Quantity_ColorRGBA): Standard_Boolean; - IsEqual(theOther: Quantity_ColorRGBA): Standard_Boolean; - static ColorFromName(theColorNameString: Standard_CString, theColor: Quantity_ColorRGBA): Standard_Boolean; - static ColorFromHex(theHexColorString: Standard_Character, theColor: Quantity_ColorRGBA, theAlphaComponentIsOff: Standard_Boolean): Standard_Boolean; - static ColorToHex(theColor: Quantity_ColorRGBA, theToPrefixHash: Standard_Boolean): XCAFDoc_PartId; - static Convert_LinearRGB_To_sRGB(theRGB: NCollection_Vec4): any; - static Convert_sRGB_To_LinearRGB(theRGB: NCollection_Vec4): any; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - InitFromJson(theSStream: Standard_SStream, theStreamPos: Graphic3d_ZLayerId): Standard_Boolean; - delete(): void; -} - - export declare class Quantity_ColorRGBA_1 extends Quantity_ColorRGBA { - constructor(); - } - - export declare class Quantity_ColorRGBA_2 extends Quantity_ColorRGBA { - constructor(theRgb: Quantity_Color); - } - - export declare class Quantity_ColorRGBA_3 extends Quantity_ColorRGBA { - constructor(theRgb: Quantity_Color, theAlpha: Standard_ShortReal); - } - - export declare class Quantity_ColorRGBA_4 extends Quantity_ColorRGBA { - constructor(theRgba: NCollection_Vec4); - } - - export declare class Quantity_ColorRGBA_5 extends Quantity_ColorRGBA { - constructor(theRed: Standard_ShortReal, theGreen: Standard_ShortReal, theBlue: Standard_ShortReal, theAlpha: Standard_ShortReal); - } - -export declare class STEPCAFControl_Writer { - Init(WS: Handle_XSControl_WorkSession, scratch: Standard_Boolean): void; - Write(filename: Standard_CString): IFSelect_ReturnStatus; - Transfer_1(doc: Handle_TDocStd_Document, mode: STEPControl_StepModelType, multi: Standard_CString, theProgress: Message_ProgressRange): Standard_Boolean; - Transfer_2(L: TDF_Label, mode: STEPControl_StepModelType, multi: Standard_CString, theProgress: Message_ProgressRange): Standard_Boolean; - Transfer_3(L: TDF_LabelSequence, mode: STEPControl_StepModelType, multi: Standard_CString, theProgress: Message_ProgressRange): Standard_Boolean; - Perform_1(doc: Handle_TDocStd_Document, filename: XCAFDoc_PartId, theProgress: Message_ProgressRange): Standard_Boolean; - Perform_2(doc: Handle_TDocStd_Document, filename: Standard_CString, theProgress: Message_ProgressRange): Standard_Boolean; - ExternFiles(): any; - ExternFile_1(L: TDF_Label, ef: Handle_STEPCAFControl_ExternFile): Standard_Boolean; - ExternFile_2(name: Standard_CString, ef: Handle_STEPCAFControl_ExternFile): Standard_Boolean; - ChangeWriter(): STEPControl_Writer; - Writer(): STEPControl_Writer; - SetColorMode(colormode: Standard_Boolean): void; - GetColorMode(): Standard_Boolean; - SetNameMode(namemode: Standard_Boolean): void; - GetNameMode(): Standard_Boolean; - SetLayerMode(layermode: Standard_Boolean): void; - GetLayerMode(): Standard_Boolean; - SetPropsMode(propsmode: Standard_Boolean): void; - GetPropsMode(): Standard_Boolean; - SetSHUOMode(shuomode: Standard_Boolean): void; - GetSHUOMode(): Standard_Boolean; - SetDimTolMode(dimtolmode: Standard_Boolean): void; - GetDimTolMode(): Standard_Boolean; - SetMaterialMode(matmode: Standard_Boolean): void; - GetMaterialMode(): Standard_Boolean; - delete(): void; -} - - export declare class STEPCAFControl_Writer_1 extends STEPCAFControl_Writer { - constructor(); - } - - export declare class STEPCAFControl_Writer_2 extends STEPCAFControl_Writer { - constructor(WS: Handle_XSControl_WorkSession, scratch: Standard_Boolean); - } - -export declare class STEPControl_Reader extends XSControl_Reader { - StepModel(): Handle_StepData_StepModel; - TransferRoot(num: Graphic3d_ZLayerId, theProgress: Message_ProgressRange): Standard_Boolean; - NbRootsForTransfer(): Graphic3d_ZLayerId; - FileUnits(theUnitLengthNames: TColStd_SequenceOfAsciiString, theUnitAngleNames: TColStd_SequenceOfAsciiString, theUnitSolidAngleNames: TColStd_SequenceOfAsciiString): void; - SetSystemLengthUnit(theLengthUnit: Standard_Real): void; - SystemLengthUnit(): Standard_Real; - delete(): void; -} - - export declare class STEPControl_Reader_1 extends STEPControl_Reader { - constructor(); - } - - export declare class STEPControl_Reader_2 extends STEPControl_Reader { - constructor(WS: Handle_XSControl_WorkSession, scratch: Standard_Boolean); - } - -export declare type STEPControl_StepModelType = { - STEPControl_AsIs: {}; - STEPControl_ManifoldSolidBrep: {}; - STEPControl_BrepWithVoids: {}; - STEPControl_FacetedBrep: {}; - STEPControl_FacetedBrepAndBrepWithVoids: {}; - STEPControl_ShellBasedSurfaceModel: {}; - STEPControl_GeometricCurveSet: {}; - STEPControl_Hybrid: {}; -} - -export declare class STEPControl_Writer { - SetTolerance(Tol: Standard_Real): void; - UnsetTolerance(): void; - SetWS(WS: Handle_XSControl_WorkSession, scratch: Standard_Boolean): void; - WS(): Handle_XSControl_WorkSession; - Model(newone: Standard_Boolean): Handle_StepData_StepModel; - Transfer(sh: TopoDS_Shape, mode: STEPControl_StepModelType, compgraph: Standard_Boolean, theProgress: Message_ProgressRange): IFSelect_ReturnStatus; - Write(filename: Standard_CString): IFSelect_ReturnStatus; - PrintStatsTransfer(what: Graphic3d_ZLayerId, mode: Graphic3d_ZLayerId): void; - delete(): void; -} - - export declare class STEPControl_Writer_1 extends STEPControl_Writer { - constructor(); - } - - export declare class STEPControl_Writer_2 extends STEPControl_Writer { - constructor(WS: Handle_XSControl_WorkSession, scratch: Standard_Boolean); - } - -export declare class ShapeFix_EdgeConnect { - constructor() - Add_1(aFirst: TopoDS_Edge, aSecond: TopoDS_Edge): void; - Add_2(aShape: TopoDS_Shape): void; - Build(): void; - Clear(): void; - delete(): void; -} - -export declare class ShapeFix_Face extends ShapeFix_Root { - ClearModes(): void; - Init_1(face: TopoDS_Face): void; - Init_2(surf: Handle_Geom_Surface, preci: Standard_Real, fwd: Standard_Boolean): void; - Init_3(surf: Handle_ShapeAnalysis_Surface, preci: Standard_Real, fwd: Standard_Boolean): void; - SetMsgRegistrator(msgreg: Handle_ShapeExtend_BasicMsgRegistrator): void; - SetPrecision(preci: Standard_Real): void; - SetMinTolerance(mintol: Standard_Real): void; - SetMaxTolerance(maxtol: Standard_Real): void; - FixWireMode(): Graphic3d_ZLayerId; - FixOrientationMode(): Graphic3d_ZLayerId; - FixAddNaturalBoundMode(): Graphic3d_ZLayerId; - FixMissingSeamMode(): Graphic3d_ZLayerId; - FixSmallAreaWireMode(): Graphic3d_ZLayerId; - RemoveSmallAreaFaceMode(): Graphic3d_ZLayerId; - FixIntersectingWiresMode(): Graphic3d_ZLayerId; - FixLoopWiresMode(): Graphic3d_ZLayerId; - FixSplitFaceMode(): Graphic3d_ZLayerId; - AutoCorrectPrecisionMode(): Graphic3d_ZLayerId; - FixPeriodicDegeneratedMode(): Graphic3d_ZLayerId; - Face(): TopoDS_Face; - Result(): TopoDS_Shape; - Add(wire: TopoDS_Wire): void; - Perform(): Standard_Boolean; - FixOrientation_1(): Standard_Boolean; - FixOrientation_2(MapWires: TopTools_DataMapOfShapeListOfShape): Standard_Boolean; - FixAddNaturalBound(): Standard_Boolean; - FixMissingSeam(): Standard_Boolean; - FixSmallAreaWire(theIsRemoveSmallFace: Standard_Boolean): Standard_Boolean; - FixLoopWire(aResWires: TopTools_SequenceOfShape): Standard_Boolean; - FixIntersectingWires(): Standard_Boolean; - FixWiresTwoCoincEdges(): Standard_Boolean; - FixSplitFace(MapWires: TopTools_DataMapOfShapeListOfShape): Standard_Boolean; - FixPeriodicDegenerated(): Standard_Boolean; - Status(status: ShapeExtend_Status): Standard_Boolean; - FixWireTool(): Handle_ShapeFix_Wire; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class ShapeFix_Face_1 extends ShapeFix_Face { - constructor(); - } - - export declare class ShapeFix_Face_2 extends ShapeFix_Face { - constructor(face: TopoDS_Face); - } - -export declare class ShapeFix_Root extends Standard_Transient { - constructor() - Set(Root: Handle_ShapeFix_Root): void; - SetContext(context: Handle_ShapeBuild_ReShape): void; - Context(): Handle_ShapeBuild_ReShape; - SetMsgRegistrator(msgreg: Handle_ShapeExtend_BasicMsgRegistrator): void; - MsgRegistrator(): Handle_ShapeExtend_BasicMsgRegistrator; - SetPrecision(preci: Standard_Real): void; - Precision(): Standard_Real; - SetMinTolerance(mintol: Standard_Real): void; - MinTolerance(): Standard_Real; - SetMaxTolerance(maxtol: Standard_Real): void; - MaxTolerance(): Standard_Real; - LimitTolerance(toler: Standard_Real): Standard_Real; - SendMsg_1(shape: TopoDS_Shape, message: Message_Msg, gravity: Message_Gravity): void; - SendMsg_2(message: Message_Msg, gravity: Message_Gravity): void; - SendWarning_1(shape: TopoDS_Shape, message: Message_Msg): void; - SendWarning_2(message: Message_Msg): void; - SendFail_1(shape: TopoDS_Shape, message: Message_Msg): void; - SendFail_2(message: Message_Msg): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class ShapeFix_Solid extends ShapeFix_Root { - Init(solid: TopoDS_Solid): void; - Perform(theProgress: Message_ProgressRange): Standard_Boolean; - SolidFromShell(shell: TopoDS_Shell): TopoDS_Solid; - Status(status: ShapeExtend_Status): Standard_Boolean; - Solid(): TopoDS_Shape; - FixShellTool(): Handle_ShapeFix_Shell; - SetMsgRegistrator(msgreg: Handle_ShapeExtend_BasicMsgRegistrator): void; - SetPrecision(preci: Standard_Real): void; - SetMinTolerance(mintol: Standard_Real): void; - SetMaxTolerance(maxtol: Standard_Real): void; - FixShellMode(): Graphic3d_ZLayerId; - FixShellOrientationMode(): Graphic3d_ZLayerId; - CreateOpenSolidMode(): Standard_Boolean; - Shape(): TopoDS_Shape; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class ShapeFix_Solid_1 extends ShapeFix_Solid { - constructor(); - } - - export declare class ShapeFix_Solid_2 extends ShapeFix_Solid { - constructor(solid: TopoDS_Solid); - } - -export declare class ShapeFix_Wire extends ShapeFix_Root { - ClearModes(): void; - ClearStatuses(): void; - Init_1(wire: TopoDS_Wire, face: TopoDS_Face, prec: Standard_Real): void; - Init_2(saw: Handle_ShapeAnalysis_Wire): void; - Load_1(wire: TopoDS_Wire): void; - Load_2(sbwd: Handle_ShapeExtend_WireData): void; - SetFace(face: TopoDS_Face): void; - SetSurface_1(surf: Handle_Geom_Surface): void; - SetSurface_2(surf: Handle_Geom_Surface, loc: TopLoc_Location): void; - SetPrecision(prec: Standard_Real): void; - SetMaxTailAngle(theMaxTailAngle: Standard_Real): void; - SetMaxTailWidth(theMaxTailWidth: Standard_Real): void; - IsLoaded(): Standard_Boolean; - IsReady(): Standard_Boolean; - NbEdges(): Graphic3d_ZLayerId; - Wire(): TopoDS_Wire; - WireAPIMake(): TopoDS_Wire; - Analyzer(): Handle_ShapeAnalysis_Wire; - WireData(): Handle_ShapeExtend_WireData; - Face(): TopoDS_Face; - ModifyTopologyMode(): Standard_Boolean; - ModifyGeometryMode(): Standard_Boolean; - ModifyRemoveLoopMode(): Graphic3d_ZLayerId; - ClosedWireMode(): Standard_Boolean; - PreferencePCurveMode(): Standard_Boolean; - FixGapsByRangesMode(): Standard_Boolean; - FixReorderMode(): Graphic3d_ZLayerId; - FixSmallMode(): Graphic3d_ZLayerId; - FixConnectedMode(): Graphic3d_ZLayerId; - FixEdgeCurvesMode(): Graphic3d_ZLayerId; - FixDegeneratedMode(): Graphic3d_ZLayerId; - FixSelfIntersectionMode(): Graphic3d_ZLayerId; - FixLackingMode(): Graphic3d_ZLayerId; - FixGaps3dMode(): Graphic3d_ZLayerId; - FixGaps2dMode(): Graphic3d_ZLayerId; - FixReversed2dMode(): Graphic3d_ZLayerId; - FixRemovePCurveMode(): Graphic3d_ZLayerId; - FixAddPCurveMode(): Graphic3d_ZLayerId; - FixRemoveCurve3dMode(): Graphic3d_ZLayerId; - FixAddCurve3dMode(): Graphic3d_ZLayerId; - FixSeamMode(): Graphic3d_ZLayerId; - FixShiftedMode(): Graphic3d_ZLayerId; - FixSameParameterMode(): Graphic3d_ZLayerId; - FixVertexToleranceMode(): Graphic3d_ZLayerId; - FixNotchedEdgesMode(): Graphic3d_ZLayerId; - FixSelfIntersectingEdgeMode(): Graphic3d_ZLayerId; - FixIntersectingEdgesMode(): Graphic3d_ZLayerId; - FixNonAdjacentIntersectingEdgesMode(): Graphic3d_ZLayerId; - FixTailMode(): Graphic3d_ZLayerId; - Perform(): Standard_Boolean; - FixReorder_1(): Standard_Boolean; - FixSmall_1(lockvtx: Standard_Boolean, precsmall: Standard_Real): Graphic3d_ZLayerId; - FixConnected_1(prec: Standard_Real): Standard_Boolean; - FixEdgeCurves(): Standard_Boolean; - FixDegenerated_1(): Standard_Boolean; - FixSelfIntersection(): Standard_Boolean; - FixLacking_1(force: Standard_Boolean): Standard_Boolean; - FixClosed(prec: Standard_Real): Standard_Boolean; - FixGaps3d(): Standard_Boolean; - FixGaps2d(): Standard_Boolean; - FixReorder_2(wi: ShapeAnalysis_WireOrder): Standard_Boolean; - FixSmall_2(num: Graphic3d_ZLayerId, lockvtx: Standard_Boolean, precsmall: Standard_Real): Standard_Boolean; - FixConnected_2(num: Graphic3d_ZLayerId, prec: Standard_Real): Standard_Boolean; - FixSeam(num: Graphic3d_ZLayerId): Standard_Boolean; - FixShifted(): Standard_Boolean; - FixDegenerated_2(num: Graphic3d_ZLayerId): Standard_Boolean; - FixLacking_2(num: Graphic3d_ZLayerId, force: Standard_Boolean): Standard_Boolean; - FixNotchedEdges(): Standard_Boolean; - FixGap3d(num: Graphic3d_ZLayerId, convert: Standard_Boolean): Standard_Boolean; - FixGap2d(num: Graphic3d_ZLayerId, convert: Standard_Boolean): Standard_Boolean; - FixTails(): Standard_Boolean; - StatusReorder(status: ShapeExtend_Status): Standard_Boolean; - StatusSmall(status: ShapeExtend_Status): Standard_Boolean; - StatusConnected(status: ShapeExtend_Status): Standard_Boolean; - StatusEdgeCurves(status: ShapeExtend_Status): Standard_Boolean; - StatusDegenerated(status: ShapeExtend_Status): Standard_Boolean; - StatusSelfIntersection(status: ShapeExtend_Status): Standard_Boolean; - StatusLacking(status: ShapeExtend_Status): Standard_Boolean; - StatusClosed(status: ShapeExtend_Status): Standard_Boolean; - StatusGaps3d(status: ShapeExtend_Status): Standard_Boolean; - StatusGaps2d(status: ShapeExtend_Status): Standard_Boolean; - StatusNotches(status: ShapeExtend_Status): Standard_Boolean; - StatusRemovedSegment(): Standard_Boolean; - StatusFixTails(status: ShapeExtend_Status): Standard_Boolean; - LastFixStatus(status: ShapeExtend_Status): Standard_Boolean; - FixEdgeTool(): Handle_ShapeFix_Edge; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class ShapeFix_Wire_1 extends ShapeFix_Wire { - constructor(); - } - - export declare class ShapeFix_Wire_2 extends ShapeFix_Wire { - constructor(wire: TopoDS_Wire, face: TopoDS_Face, prec: Standard_Real); - } - -export declare class ShapeUpgrade_UnifySameDomain extends Standard_Transient { - Initialize(aShape: TopoDS_Shape, UnifyEdges: Standard_Boolean, UnifyFaces: Standard_Boolean, ConcatBSplines: Standard_Boolean): void; - AllowInternalEdges(theValue: Standard_Boolean): void; - KeepShape(theShape: TopoDS_Shape): void; - KeepShapes(theShapes: TopTools_MapOfShape): void; - SetSafeInputMode(theValue: Standard_Boolean): void; - SetLinearTolerance(theValue: Standard_Real): void; - SetAngularTolerance(theValue: Standard_Real): void; - Build(): void; - Shape(): TopoDS_Shape; - History_1(): Handle_BRepTools_History; - History_2(): Handle_BRepTools_History; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - - export declare class ShapeUpgrade_UnifySameDomain_1 extends ShapeUpgrade_UnifySameDomain { - constructor(); - } - - export declare class ShapeUpgrade_UnifySameDomain_2 extends ShapeUpgrade_UnifySameDomain { - constructor(aShape: TopoDS_Shape, UnifyEdges: Standard_Boolean, UnifyFaces: Standard_Boolean, ConcatBSplines: Standard_Boolean); - } - -export declare class Standard_Transient { - Delete(): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - IsInstance_1(theType: Handle_Standard_Type): Standard_Boolean; - IsInstance_2(theTypeName: Standard_CString): Standard_Boolean; - IsKind_1(theType: Handle_Standard_Type): Standard_Boolean; - IsKind_2(theTypeName: Standard_CString): Standard_Boolean; - This(): Standard_Transient; - GetRefCount(): Graphic3d_ZLayerId; - IncrementRefCounter(): void; - DecrementRefCounter(): Graphic3d_ZLayerId; - delete(): void; -} - - export declare class Standard_Transient_1 extends Standard_Transient { - constructor(); - } - - export declare class Standard_Transient_2 extends Standard_Transient { - constructor(a: Standard_Transient); - } - -export declare class StdPrs_ToolTriangulatedShape { - constructor(); - static IsTriangulated(theShape: TopoDS_Shape): Standard_Boolean; - static IsClosed(theShape: TopoDS_Shape): Standard_Boolean; - static ComputeNormals_1(theFace: TopoDS_Face, theTris: Handle_Poly_Triangulation): void; - static ComputeNormals_2(theFace: TopoDS_Face, theTris: Handle_Poly_Triangulation, thePolyConnect: Poly_Connect): void; - static Normal(theFace: TopoDS_Face, thePolyConnect: Poly_Connect, theNormals: TColgp_Array1OfDir): void; - static GetDeflection(theShape: TopoDS_Shape, theDrawer: Handle_Prs3d_Drawer): Standard_Real; - static IsTessellated(theShape: TopoDS_Shape, theDrawer: Handle_Prs3d_Drawer): Standard_Boolean; - static Tessellate(theShape: TopoDS_Shape, theDrawer: Handle_Prs3d_Drawer): Standard_Boolean; - static ClearOnOwnDeflectionChange(theShape: TopoDS_Shape, theDrawer: Handle_Prs3d_Drawer, theToResetCoeff: Standard_Boolean): void; - delete(): void; -} - -export declare class Handle_StepData_StepModel { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: StepData_StepModel): void; - get(): StepData_StepModel; - delete(): void; -} - - export declare class Handle_StepData_StepModel_1 extends Handle_StepData_StepModel { - constructor(); - } - - export declare class Handle_StepData_StepModel_2 extends Handle_StepData_StepModel { - constructor(thePtr: StepData_StepModel); - } - - export declare class Handle_StepData_StepModel_3 extends Handle_StepData_StepModel { - constructor(theHandle: Handle_StepData_StepModel); - } - - export declare class Handle_StepData_StepModel_4 extends Handle_StepData_StepModel { - constructor(theHandle: Handle_StepData_StepModel); - } - -export declare class StlAPI { - constructor(); - static Write(theShape: TopoDS_Shape, theFile: Standard_CString, theAsciiMode: Standard_Boolean): Standard_Boolean; - static Read(theShape: TopoDS_Shape, aFile: Standard_CString): Standard_Boolean; - delete(): void; -} - -export declare class StlAPI_Reader { - constructor(); - Read(theShape: TopoDS_Shape, theFileName: Standard_CString): Standard_Boolean; - delete(): void; -} - -export declare class StlAPI_Writer { - constructor() - ASCIIMode(): Standard_Boolean; - Write(theShape: TopoDS_Shape, theFileName: Standard_CString, theProgress: Message_ProgressRange): Standard_Boolean; - delete(): void; -} - -export declare class TColStd_Array1OfBoolean { - begin(): any; - end(): any; - cbegin(): any; - cend(): any; - Init(theValue: Standard_Boolean): void; - Size(): Standard_Integer; - Length(): Standard_Integer; - IsEmpty(): Standard_Boolean; - Lower(): Standard_Integer; - Upper(): Standard_Integer; - IsDeletable(): Standard_Boolean; - IsAllocated(): Standard_Boolean; - Assign(theOther: TColStd_Array1OfBoolean): TColStd_Array1OfBoolean; - Move(theOther: TColStd_Array1OfBoolean): TColStd_Array1OfBoolean; - First(): Standard_Boolean; - ChangeFirst(): Standard_Boolean; - Last(): Standard_Boolean; - ChangeLast(): Standard_Boolean; - Value(theIndex: Standard_Integer): Standard_Boolean; - ChangeValue(theIndex: Standard_Integer): Standard_Boolean; - SetValue(theIndex: Standard_Integer, theItem: Standard_Boolean): void; - Resize(theLower: Standard_Integer, theUpper: Standard_Integer, theToCopyData: Standard_Boolean): void; - delete(): void; -} - - export declare class TColStd_Array1OfBoolean_1 extends TColStd_Array1OfBoolean { - constructor(); - } - - export declare class TColStd_Array1OfBoolean_2 extends TColStd_Array1OfBoolean { - constructor(theLower: Standard_Integer, theUpper: Standard_Integer); - } - - export declare class TColStd_Array1OfBoolean_3 extends TColStd_Array1OfBoolean { - constructor(theOther: TColStd_Array1OfBoolean); - } - - export declare class TColStd_Array1OfBoolean_4 extends TColStd_Array1OfBoolean { - constructor(theOther: TColStd_Array1OfBoolean); - } - - export declare class TColStd_Array1OfBoolean_5 extends TColStd_Array1OfBoolean { - constructor(theBegin: Standard_Boolean, theLower: Standard_Integer, theUpper: Standard_Integer); - } - -export declare class TColStd_Array1OfInteger { - begin(): any; - end(): any; - cbegin(): any; - cend(): any; - Init(theValue: Standard_Integer): void; - Size(): Standard_Integer; - Length(): Standard_Integer; - IsEmpty(): Standard_Boolean; - Lower(): Standard_Integer; - Upper(): Standard_Integer; - IsDeletable(): Standard_Boolean; - IsAllocated(): Standard_Boolean; - Assign(theOther: TColStd_Array1OfInteger): TColStd_Array1OfInteger; - Move(theOther: TColStd_Array1OfInteger): TColStd_Array1OfInteger; - First(): Standard_Integer; - ChangeFirst(): Standard_Integer; - Last(): Standard_Integer; - ChangeLast(): Standard_Integer; - Value(theIndex: Standard_Integer): Standard_Integer; - ChangeValue(theIndex: Standard_Integer): Standard_Integer; - SetValue(theIndex: Standard_Integer, theItem: Standard_Integer): void; - Resize(theLower: Standard_Integer, theUpper: Standard_Integer, theToCopyData: Standard_Boolean): void; - delete(): void; -} - - export declare class TColStd_Array1OfInteger_1 extends TColStd_Array1OfInteger { - constructor(); - } - - export declare class TColStd_Array1OfInteger_2 extends TColStd_Array1OfInteger { - constructor(theLower: Standard_Integer, theUpper: Standard_Integer); - } - - export declare class TColStd_Array1OfInteger_3 extends TColStd_Array1OfInteger { - constructor(theOther: TColStd_Array1OfInteger); - } - - export declare class TColStd_Array1OfInteger_4 extends TColStd_Array1OfInteger { - constructor(theOther: TColStd_Array1OfInteger); - } - - export declare class TColStd_Array1OfInteger_5 extends TColStd_Array1OfInteger { - constructor(theBegin: Standard_Integer, theLower: Standard_Integer, theUpper: Standard_Integer); - } - -export declare class TColStd_Array1OfReal { - begin(): any; - end(): any; - cbegin(): any; - cend(): any; - Init(theValue: Standard_Real): void; - Size(): Standard_Integer; - Length(): Standard_Integer; - IsEmpty(): Standard_Boolean; - Lower(): Standard_Integer; - Upper(): Standard_Integer; - IsDeletable(): Standard_Boolean; - IsAllocated(): Standard_Boolean; - Assign(theOther: TColStd_Array1OfReal): TColStd_Array1OfReal; - Move(theOther: TColStd_Array1OfReal): TColStd_Array1OfReal; - First(): Standard_Real; - ChangeFirst(): Standard_Real; - Last(): Standard_Real; - ChangeLast(): Standard_Real; - Value(theIndex: Standard_Integer): Standard_Real; - ChangeValue(theIndex: Standard_Integer): Standard_Real; - SetValue(theIndex: Standard_Integer, theItem: Standard_Real): void; - Resize(theLower: Standard_Integer, theUpper: Standard_Integer, theToCopyData: Standard_Boolean): void; - delete(): void; -} - - export declare class TColStd_Array1OfReal_1 extends TColStd_Array1OfReal { - constructor(); - } - - export declare class TColStd_Array1OfReal_2 extends TColStd_Array1OfReal { - constructor(theLower: Standard_Integer, theUpper: Standard_Integer); - } - - export declare class TColStd_Array1OfReal_3 extends TColStd_Array1OfReal { - constructor(theOther: TColStd_Array1OfReal); - } - - export declare class TColStd_Array1OfReal_4 extends TColStd_Array1OfReal { - constructor(theOther: TColStd_Array1OfReal); - } - - export declare class TColStd_Array1OfReal_5 extends TColStd_Array1OfReal { - constructor(theBegin: Standard_Real, theLower: Standard_Integer, theUpper: Standard_Integer); - } - -export declare class TColgp_Array1OfDir { - begin(): any; - end(): any; - cbegin(): any; - cend(): any; - Init(theValue: gp_Dir): void; - Size(): Standard_Integer; - Length(): Standard_Integer; - IsEmpty(): Standard_Boolean; - Lower(): Standard_Integer; - Upper(): Standard_Integer; - IsDeletable(): Standard_Boolean; - IsAllocated(): Standard_Boolean; - Assign(theOther: TColgp_Array1OfDir): TColgp_Array1OfDir; - Move(theOther: TColgp_Array1OfDir): TColgp_Array1OfDir; - First(): gp_Dir; - ChangeFirst(): gp_Dir; - Last(): gp_Dir; - ChangeLast(): gp_Dir; - Value(theIndex: Standard_Integer): gp_Dir; - ChangeValue(theIndex: Standard_Integer): gp_Dir; - SetValue(theIndex: Standard_Integer, theItem: gp_Dir): void; - Resize(theLower: Standard_Integer, theUpper: Standard_Integer, theToCopyData: Standard_Boolean): void; - delete(): void; -} - - export declare class TColgp_Array1OfDir_1 extends TColgp_Array1OfDir { - constructor(); - } - - export declare class TColgp_Array1OfDir_2 extends TColgp_Array1OfDir { - constructor(theLower: Standard_Integer, theUpper: Standard_Integer); - } - - export declare class TColgp_Array1OfDir_3 extends TColgp_Array1OfDir { - constructor(theOther: TColgp_Array1OfDir); - } - - export declare class TColgp_Array1OfDir_4 extends TColgp_Array1OfDir { - constructor(theOther: TColgp_Array1OfDir); - } - - export declare class TColgp_Array1OfDir_5 extends TColgp_Array1OfDir { - constructor(theBegin: gp_Dir, theLower: Standard_Integer, theUpper: Standard_Integer); - } - -export declare class TColgp_Array1OfPnt { - begin(): any; - end(): any; - cbegin(): any; - cend(): any; - Init(theValue: gp_Pnt): void; - Size(): Standard_Integer; - Length(): Standard_Integer; - IsEmpty(): Standard_Boolean; - Lower(): Standard_Integer; - Upper(): Standard_Integer; - IsDeletable(): Standard_Boolean; - IsAllocated(): Standard_Boolean; - Assign(theOther: TColgp_Array1OfPnt): TColgp_Array1OfPnt; - Move(theOther: TColgp_Array1OfPnt): TColgp_Array1OfPnt; - First(): gp_Pnt; - ChangeFirst(): gp_Pnt; - Last(): gp_Pnt; - ChangeLast(): gp_Pnt; - Value(theIndex: Standard_Integer): gp_Pnt; - ChangeValue(theIndex: Standard_Integer): gp_Pnt; - SetValue(theIndex: Standard_Integer, theItem: gp_Pnt): void; - Resize(theLower: Standard_Integer, theUpper: Standard_Integer, theToCopyData: Standard_Boolean): void; - delete(): void; -} - - export declare class TColgp_Array1OfPnt_1 extends TColgp_Array1OfPnt { - constructor(); - } - - export declare class TColgp_Array1OfPnt_2 extends TColgp_Array1OfPnt { - constructor(theLower: Standard_Integer, theUpper: Standard_Integer); - } - - export declare class TColgp_Array1OfPnt_3 extends TColgp_Array1OfPnt { - constructor(theOther: TColgp_Array1OfPnt); - } - - export declare class TColgp_Array1OfPnt_4 extends TColgp_Array1OfPnt { - constructor(theOther: TColgp_Array1OfPnt); - } - - export declare class TColgp_Array1OfPnt_5 extends TColgp_Array1OfPnt { - constructor(theBegin: gp_Pnt, theLower: Standard_Integer, theUpper: Standard_Integer); - } - -export declare class TColgp_Array1OfPnt2d { - begin(): any; - end(): any; - cbegin(): any; - cend(): any; - Init(theValue: gp_Pnt2d): void; - Size(): Standard_Integer; - Length(): Standard_Integer; - IsEmpty(): Standard_Boolean; - Lower(): Standard_Integer; - Upper(): Standard_Integer; - IsDeletable(): Standard_Boolean; - IsAllocated(): Standard_Boolean; - Assign(theOther: TColgp_Array1OfPnt2d): TColgp_Array1OfPnt2d; - Move(theOther: TColgp_Array1OfPnt2d): TColgp_Array1OfPnt2d; - First(): gp_Pnt2d; - ChangeFirst(): gp_Pnt2d; - Last(): gp_Pnt2d; - ChangeLast(): gp_Pnt2d; - Value(theIndex: Standard_Integer): gp_Pnt2d; - ChangeValue(theIndex: Standard_Integer): gp_Pnt2d; - SetValue(theIndex: Standard_Integer, theItem: gp_Pnt2d): void; - Resize(theLower: Standard_Integer, theUpper: Standard_Integer, theToCopyData: Standard_Boolean): void; - delete(): void; -} - - export declare class TColgp_Array1OfPnt2d_1 extends TColgp_Array1OfPnt2d { - constructor(); - } - - export declare class TColgp_Array1OfPnt2d_2 extends TColgp_Array1OfPnt2d { - constructor(theLower: Standard_Integer, theUpper: Standard_Integer); - } - - export declare class TColgp_Array1OfPnt2d_3 extends TColgp_Array1OfPnt2d { - constructor(theOther: TColgp_Array1OfPnt2d); - } - - export declare class TColgp_Array1OfPnt2d_4 extends TColgp_Array1OfPnt2d { - constructor(theOther: TColgp_Array1OfPnt2d); - } - - export declare class TColgp_Array1OfPnt2d_5 extends TColgp_Array1OfPnt2d { - constructor(theBegin: gp_Pnt2d, theLower: Standard_Integer, theUpper: Standard_Integer); - } - -export declare class TColgp_Array1OfVec { - begin(): any; - end(): any; - cbegin(): any; - cend(): any; - Init(theValue: gp_Vec): void; - Size(): Standard_Integer; - Length(): Standard_Integer; - IsEmpty(): Standard_Boolean; - Lower(): Standard_Integer; - Upper(): Standard_Integer; - IsDeletable(): Standard_Boolean; - IsAllocated(): Standard_Boolean; - Assign(theOther: TColgp_Array1OfVec): TColgp_Array1OfVec; - Move(theOther: TColgp_Array1OfVec): TColgp_Array1OfVec; - First(): gp_Vec; - ChangeFirst(): gp_Vec; - Last(): gp_Vec; - ChangeLast(): gp_Vec; - Value(theIndex: Standard_Integer): gp_Vec; - ChangeValue(theIndex: Standard_Integer): gp_Vec; - SetValue(theIndex: Standard_Integer, theItem: gp_Vec): void; - Resize(theLower: Standard_Integer, theUpper: Standard_Integer, theToCopyData: Standard_Boolean): void; - delete(): void; -} - - export declare class TColgp_Array1OfVec_1 extends TColgp_Array1OfVec { - constructor(); - } - - export declare class TColgp_Array1OfVec_2 extends TColgp_Array1OfVec { - constructor(theLower: Standard_Integer, theUpper: Standard_Integer); - } - - export declare class TColgp_Array1OfVec_3 extends TColgp_Array1OfVec { - constructor(theOther: TColgp_Array1OfVec); - } - - export declare class TColgp_Array1OfVec_4 extends TColgp_Array1OfVec { - constructor(theOther: TColgp_Array1OfVec); - } - - export declare class TColgp_Array1OfVec_5 extends TColgp_Array1OfVec { - constructor(theBegin: gp_Vec, theLower: Standard_Integer, theUpper: Standard_Integer); - } - -export declare class TColgp_Array2OfPnt { - Init(theValue: gp_Pnt): void; - Size(): Standard_Integer; - Length(): Standard_Integer; - NbRows(): Standard_Integer; - NbColumns(): Standard_Integer; - RowLength(): Standard_Integer; - ColLength(): Standard_Integer; - LowerRow(): Standard_Integer; - UpperRow(): Standard_Integer; - LowerCol(): Standard_Integer; - UpperCol(): Standard_Integer; - IsDeletable(): Standard_Boolean; - Assign(theOther: TColgp_Array2OfPnt): TColgp_Array2OfPnt; - Move(theOther: TColgp_Array2OfPnt): TColgp_Array2OfPnt; - Value(theRow: Standard_Integer, theCol: Standard_Integer): gp_Pnt; - ChangeValue(theRow: Standard_Integer, theCol: Standard_Integer): gp_Pnt; - SetValue(theRow: Standard_Integer, theCol: Standard_Integer, theItem: gp_Pnt): void; - Resize(theRowLower: Standard_Integer, theRowUpper: Standard_Integer, theColLower: Standard_Integer, theColUpper: Standard_Integer, theToCopyData: Standard_Boolean): void; - delete(): void; -} - - export declare class TColgp_Array2OfPnt_1 extends TColgp_Array2OfPnt { - constructor(); - } - - export declare class TColgp_Array2OfPnt_2 extends TColgp_Array2OfPnt { - constructor(theRowLower: Standard_Integer, theRowUpper: Standard_Integer, theColLower: Standard_Integer, theColUpper: Standard_Integer); - } - - export declare class TColgp_Array2OfPnt_3 extends TColgp_Array2OfPnt { - constructor(theOther: TColgp_Array2OfPnt); - } - - export declare class TColgp_Array2OfPnt_4 extends TColgp_Array2OfPnt { - constructor(theOther: TColgp_Array2OfPnt); - } - - export declare class TColgp_Array2OfPnt_5 extends TColgp_Array2OfPnt { - constructor(theBegin: gp_Pnt, theRowLower: Standard_Integer, theRowUpper: Standard_Integer, theColLower: Standard_Integer, theColUpper: Standard_Integer); - } - -export declare class TCollection_ExtendedString { - AssignCat_1(other: TCollection_ExtendedString): void; - AssignCat_2(theChar: Standard_Utf16Char): void; - Cat(other: TCollection_ExtendedString): TCollection_ExtendedString; - ChangeAll(aChar: Standard_ExtCharacter, NewChar: Standard_ExtCharacter): void; - Clear(): void; - Copy(fromwhere: TCollection_ExtendedString): void; - Swap(theOther: TCollection_ExtendedString): void; - Insert_1(where: Graphic3d_ZLayerId, what: Standard_ExtCharacter): void; - Insert_2(where: Graphic3d_ZLayerId, what: TCollection_ExtendedString): void; - IsEmpty(): Standard_Boolean; - IsEqual_1(other: Standard_ExtString): Standard_Boolean; - IsEqual_2(other: TCollection_ExtendedString): Standard_Boolean; - IsDifferent_1(other: Standard_ExtString): Standard_Boolean; - IsDifferent_2(other: TCollection_ExtendedString): Standard_Boolean; - IsLess_1(other: Standard_ExtString): Standard_Boolean; - IsLess_2(other: TCollection_ExtendedString): Standard_Boolean; - IsGreater_1(other: Standard_ExtString): Standard_Boolean; - IsGreater_2(other: TCollection_ExtendedString): Standard_Boolean; - StartsWith(theStartString: TCollection_ExtendedString): Standard_Boolean; - EndsWith(theEndString: TCollection_ExtendedString): Standard_Boolean; - IsAscii(): Standard_Boolean; - Length(): Graphic3d_ZLayerId; - Print(astream: Standard_OStream): void; - RemoveAll(what: Standard_ExtCharacter): void; - Remove(where: Graphic3d_ZLayerId, ahowmany: Graphic3d_ZLayerId): void; - Search(what: TCollection_ExtendedString): Graphic3d_ZLayerId; - SearchFromEnd(what: TCollection_ExtendedString): Graphic3d_ZLayerId; - SetValue_1(where: Graphic3d_ZLayerId, what: Standard_ExtCharacter): void; - SetValue_2(where: Graphic3d_ZLayerId, what: TCollection_ExtendedString): void; - Split(where: Graphic3d_ZLayerId): TCollection_ExtendedString; - Token(separators: Standard_ExtString, whichone: Graphic3d_ZLayerId): TCollection_ExtendedString; - ToExtString(): Standard_ExtString; - Trunc(ahowmany: Graphic3d_ZLayerId): void; - Value(where: Graphic3d_ZLayerId): Standard_ExtCharacter; - static HashCode(theString: TCollection_ExtendedString, theUpperBound: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - static IsEqual_3(theString1: TCollection_ExtendedString, theString2: TCollection_ExtendedString): Standard_Boolean; - LengthOfCString(): Graphic3d_ZLayerId; - delete(): void; -} - - export declare class TCollection_ExtendedString_1 extends TCollection_ExtendedString { - constructor(); - } - - export declare class TCollection_ExtendedString_2 extends TCollection_ExtendedString { - constructor(astring: Standard_CString, isMultiByte: Standard_Boolean); - } - - export declare class TCollection_ExtendedString_3 extends TCollection_ExtendedString { - constructor(astring: Standard_ExtString); - } - - export declare class TCollection_ExtendedString_4 extends TCollection_ExtendedString { - constructor(theStringUtf: Standard_WideChar); - } - - export declare class TCollection_ExtendedString_5 extends TCollection_ExtendedString { - constructor(aChar: Standard_Character); - } - - export declare class TCollection_ExtendedString_6 extends TCollection_ExtendedString { - constructor(aChar: Standard_ExtCharacter); - } - - export declare class TCollection_ExtendedString_7 extends TCollection_ExtendedString { - constructor(length: Graphic3d_ZLayerId, filler: Standard_ExtCharacter); - } - - export declare class TCollection_ExtendedString_8 extends TCollection_ExtendedString { - constructor(value: Graphic3d_ZLayerId); - } - - export declare class TCollection_ExtendedString_9 extends TCollection_ExtendedString { - constructor(value: Standard_Real); - } - - export declare class TCollection_ExtendedString_10 extends TCollection_ExtendedString { - constructor(astring: TCollection_ExtendedString); - } - - export declare class TCollection_ExtendedString_11 extends TCollection_ExtendedString { - constructor(theOther: TCollection_ExtendedString); - } - - export declare class TCollection_ExtendedString_12 extends TCollection_ExtendedString { - constructor(astring: XCAFDoc_PartId, isMultiByte: Standard_Boolean); - } - -export declare class TDF_Attribute extends Standard_Transient { - ID(): Standard_GUID; - SetID_1(a0: Standard_GUID): void; - SetID_2(): void; - Label(): TDF_Label; - Transaction(): Graphic3d_ZLayerId; - UntilTransaction(): Graphic3d_ZLayerId; - IsValid(): Standard_Boolean; - IsNew(): Standard_Boolean; - IsForgotten(): Standard_Boolean; - IsAttribute(anID: Standard_GUID): Standard_Boolean; - FindAttribute_1(anID: Standard_GUID, anAttribute: Handle_TDF_Attribute): Standard_Boolean; - AddAttribute(other: Handle_TDF_Attribute): void; - ForgetAttribute(aguid: Standard_GUID): Standard_Boolean; - ForgetAllAttributes(clearChildren: Standard_Boolean): void; - AfterAddition(): void; - BeforeRemoval(): void; - BeforeForget(): void; - AfterResume(): void; - AfterRetrieval(forceIt: Standard_Boolean): Standard_Boolean; - BeforeUndo(anAttDelta: Handle_TDF_AttributeDelta, forceIt: Standard_Boolean): Standard_Boolean; - AfterUndo(anAttDelta: Handle_TDF_AttributeDelta, forceIt: Standard_Boolean): Standard_Boolean; - BeforeCommitTransaction(): void; - Backup_1(): void; - IsBackuped(): Standard_Boolean; - BackupCopy(): Handle_TDF_Attribute; - Restore(anAttribute: Handle_TDF_Attribute): void; - DeltaOnAddition(): Handle_TDF_DeltaOnAddition; - DeltaOnForget(): Handle_TDF_DeltaOnForget; - DeltaOnResume(): Handle_TDF_DeltaOnResume; - DeltaOnModification_1(anOldAttribute: Handle_TDF_Attribute): Handle_TDF_DeltaOnModification; - DeltaOnModification_2(aDelta: Handle_TDF_DeltaOnModification): void; - DeltaOnRemoval(): Handle_TDF_DeltaOnRemoval; - NewEmpty(): Handle_TDF_Attribute; - Paste(intoAttribute: Handle_TDF_Attribute, aRelocationTable: Handle_TDF_RelocationTable): void; - References(aDataSet: Handle_TDF_DataSet): void; - ExtendedDump(anOS: Standard_OStream, aFilter: TDF_IDFilter, aMap: TDF_AttributeIndexedMap): void; - Forget(aTransaction: Graphic3d_ZLayerId): void; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class TDF_Label { - constructor() - Nullify(): void; - Data(): Handle_TDF_Data; - Tag(): Graphic3d_ZLayerId; - Father(): TDF_Label; - IsNull(): Standard_Boolean; - Imported(aStatus: Standard_Boolean): void; - IsImported(): Standard_Boolean; - IsEqual(aLabel: TDF_Label): Standard_Boolean; - IsDifferent(aLabel: TDF_Label): Standard_Boolean; - IsRoot(): Standard_Boolean; - IsAttribute(anID: Standard_GUID): Standard_Boolean; - AddAttribute(anAttribute: Handle_TDF_Attribute, append: Standard_Boolean): void; - ForgetAttribute_1(anAttribute: Handle_TDF_Attribute): void; - ForgetAttribute_2(aguid: Standard_GUID): Standard_Boolean; - ForgetAllAttributes(clearChildren: Standard_Boolean): void; - ResumeAttribute(anAttribute: Handle_TDF_Attribute): void; - FindAttribute_1(anID: Standard_GUID, anAttribute: Handle_TDF_Attribute): Standard_Boolean; - FindAttribute_3(anID: Standard_GUID, aTransaction: Graphic3d_ZLayerId, anAttribute: Handle_TDF_Attribute): Standard_Boolean; - MayBeModified(): Standard_Boolean; - AttributesModified(): Standard_Boolean; - HasAttribute(): Standard_Boolean; - NbAttributes(): Graphic3d_ZLayerId; - Depth(): Graphic3d_ZLayerId; - IsDescendant(aLabel: TDF_Label): Standard_Boolean; - Root(): TDF_Label; - HasChild(): Standard_Boolean; - NbChildren(): Graphic3d_ZLayerId; - FindChild(aTag: Graphic3d_ZLayerId, create: Standard_Boolean): TDF_Label; - NewChild(): TDF_Label; - Transaction(): Graphic3d_ZLayerId; - HasLowerNode(otherLabel: TDF_Label): Standard_Boolean; - HasGreaterNode(otherLabel: TDF_Label): Standard_Boolean; - ExtendedDump(anOS: Standard_OStream, aFilter: TDF_IDFilter, aMap: TDF_AttributeIndexedMap): void; - EntryDump(anOS: Standard_OStream): void; - delete(): void; -} - -export declare class TDataStd_GenericEmpty extends TDF_Attribute { - Restore(a0: Handle_TDF_Attribute): void; - Paste(a0: Handle_TDF_Attribute, a1: Handle_TDF_RelocationTable): void; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class TDataStd_GenericExtString extends TDF_Attribute { - Set(S: TCollection_ExtendedString): void; - SetID(guid: Standard_GUID): void; - Get(): TCollection_ExtendedString; - ID(): Standard_GUID; - Restore(with_: Handle_TDF_Attribute): void; - Paste(into: Handle_TDF_Attribute, RT: Handle_TDF_RelocationTable): void; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class Handle_TDataStd_Name { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: TDataStd_Name): void; - get(): TDataStd_Name; - delete(): void; -} - - export declare class Handle_TDataStd_Name_1 extends Handle_TDataStd_Name { - constructor(); - } - - export declare class Handle_TDataStd_Name_2 extends Handle_TDataStd_Name { - constructor(thePtr: TDataStd_Name); - } - - export declare class Handle_TDataStd_Name_3 extends Handle_TDataStd_Name { - constructor(theHandle: Handle_TDataStd_Name); - } - - export declare class Handle_TDataStd_Name_4 extends Handle_TDataStd_Name { - constructor(theHandle: Handle_TDataStd_Name); - } - -export declare class TDataStd_Name extends TDataStd_GenericExtString { - constructor() - static GetID(): Standard_GUID; - static Set_1(label: TDF_Label, string: TCollection_ExtendedString): Handle_TDataStd_Name; - static Set_2(label: TDF_Label, guid: Standard_GUID, string: TCollection_ExtendedString): Handle_TDataStd_Name; - Set_3(S: TCollection_ExtendedString): void; - SetID_1(guid: Standard_GUID): void; - SetID_2(): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - NewEmpty(): Handle_TDF_Attribute; - delete(): void; -} - -export declare class Handle_TDocStd_Document { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: TDocStd_Document): void; - get(): TDocStd_Document; - delete(): void; -} - - export declare class Handle_TDocStd_Document_1 extends Handle_TDocStd_Document { - constructor(); - } - - export declare class Handle_TDocStd_Document_2 extends Handle_TDocStd_Document { - constructor(thePtr: TDocStd_Document); - } - - export declare class Handle_TDocStd_Document_3 extends Handle_TDocStd_Document { - constructor(theHandle: Handle_TDocStd_Document); - } - - export declare class Handle_TDocStd_Document_4 extends Handle_TDocStd_Document { - constructor(theHandle: Handle_TDocStd_Document); - } - -export declare class TDocStd_Document extends CDM_Document { - constructor(astorageformat: TCollection_ExtendedString) - static Get(L: TDF_Label): Handle_TDocStd_Document; - IsSaved(): Standard_Boolean; - IsChanged(): Standard_Boolean; - SetSaved(): void; - SetSavedTime(theTime: Graphic3d_ZLayerId): void; - GetSavedTime(): Graphic3d_ZLayerId; - GetName(): TCollection_ExtendedString; - GetPath(): TCollection_ExtendedString; - SetData(data: Handle_TDF_Data): void; - GetData(): Handle_TDF_Data; - Main(): TDF_Label; - IsEmpty(): Standard_Boolean; - IsValid(): Standard_Boolean; - SetModified(L: TDF_Label): void; - PurgeModified(): void; - GetModified(): TDF_LabelMap; - NewCommand(): void; - HasOpenCommand(): Standard_Boolean; - OpenCommand(): void; - CommitCommand(): Standard_Boolean; - AbortCommand(): void; - GetUndoLimit(): Graphic3d_ZLayerId; - SetUndoLimit(L: Graphic3d_ZLayerId): void; - ClearUndos(): void; - ClearRedos(): void; - GetAvailableUndos(): Graphic3d_ZLayerId; - Undo(): Standard_Boolean; - GetAvailableRedos(): Graphic3d_ZLayerId; - Redo(): Standard_Boolean; - GetUndos(): TDF_DeltaList; - GetRedos(): TDF_DeltaList; - RemoveFirstUndo(): void; - InitDeltaCompaction(): Standard_Boolean; - PerformDeltaCompaction(): Standard_Boolean; - UpdateReferences(aDocEntry: XCAFDoc_PartId): void; - Recompute(): void; - Update(aToDocument: Handle_CDM_Document, aReferenceIdentifier: Graphic3d_ZLayerId, aModifContext: Standard_Address): void; - StorageFormat(): TCollection_ExtendedString; - SetEmptyLabelsSavingMode(isAllowed: Standard_Boolean): void; - EmptyLabelsSavingMode(): Standard_Boolean; - ChangeStorageFormat(newStorageFormat: TCollection_ExtendedString): void; - SetNestedTransactionMode(isAllowed: Standard_Boolean): void; - IsNestedTransactionMode(): Standard_Boolean; - SetModificationMode(theTransactionOnly: Standard_Boolean): void; - ModificationMode(): Standard_Boolean; - BeforeClose(): void; - StorageFormatVersion(): TDocStd_FormatVersion; - ChangeStorageFormatVersion(theVersion: TDocStd_FormatVersion): void; - static CurrentStorageFormatVersion(): TDocStd_FormatVersion; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare type TopAbs_Orientation = { - TopAbs_FORWARD: {}; - TopAbs_REVERSED: {}; - TopAbs_INTERNAL: {}; - TopAbs_EXTERNAL: {}; -} - -export declare type TopAbs_ShapeEnum = { - TopAbs_COMPOUND: {}; - TopAbs_COMPSOLID: {}; - TopAbs_SOLID: {}; - TopAbs_SHELL: {}; - TopAbs_FACE: {}; - TopAbs_WIRE: {}; - TopAbs_EDGE: {}; - TopAbs_VERTEX: {}; - TopAbs_SHAPE: {}; -} - -export declare class TopExp_Explorer { - Init(S: TopoDS_Shape, ToFind: TopAbs_ShapeEnum, ToAvoid: TopAbs_ShapeEnum): void; - More(): Standard_Boolean; - Next(): void; - Value(): TopoDS_Shape; - Current(): TopoDS_Shape; - ReInit(): void; - ExploredShape(): TopoDS_Shape; - Depth(): Graphic3d_ZLayerId; - Clear(): void; - delete(): void; -} - - export declare class TopExp_Explorer_1 extends TopExp_Explorer { - constructor(); - } - - export declare class TopExp_Explorer_2 extends TopExp_Explorer { - constructor(S: TopoDS_Shape, ToFind: TopAbs_ShapeEnum, ToAvoid: TopAbs_ShapeEnum); - } - -export declare class TopLoc_Location { - IsIdentity(): Standard_Boolean; - Identity(): void; - FirstDatum(): Handle_TopLoc_Datum3D; - FirstPower(): Graphic3d_ZLayerId; - NextLocation(): TopLoc_Location; - Transformation(): gp_Trsf; - Inverted(): TopLoc_Location; - Multiplied(Other: TopLoc_Location): TopLoc_Location; - Divided(Other: TopLoc_Location): TopLoc_Location; - Predivided(Other: TopLoc_Location): TopLoc_Location; - Powered(pwr: Graphic3d_ZLayerId): TopLoc_Location; - HashCode(theUpperBound: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - IsEqual(Other: TopLoc_Location): Standard_Boolean; - IsDifferent(Other: TopLoc_Location): Standard_Boolean; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - ShallowDump(S: Standard_OStream): void; - Clear(): void; - static ScalePrec(): Standard_Real; - delete(): void; -} - - export declare class TopLoc_Location_1 extends TopLoc_Location { - constructor(); - } - - export declare class TopLoc_Location_2 extends TopLoc_Location { - constructor(T: gp_Trsf); - } - - export declare class TopLoc_Location_3 extends TopLoc_Location { - constructor(D: Handle_TopLoc_Datum3D); - } - -export declare class TopTools_ListOfShape extends NCollection_BaseList { - begin(): any; - end(): any; - cbegin(): any; - cend(): any; - Size(): Standard_Integer; - Assign(theOther: TopTools_ListOfShape): TopTools_ListOfShape; - Clear(theAllocator: Handle_NCollection_BaseAllocator): void; - First_1(): TopoDS_Shape; - First_2(): TopoDS_Shape; - Last_1(): TopoDS_Shape; - Last_2(): TopoDS_Shape; - Append_1(theItem: TopoDS_Shape): TopoDS_Shape; - Append_3(theOther: TopTools_ListOfShape): void; - Prepend_1(theItem: TopoDS_Shape): TopoDS_Shape; - Prepend_2(theOther: TopTools_ListOfShape): void; - RemoveFirst(): void; - Reverse(): void; - delete(): void; -} - - export declare class TopTools_ListOfShape_1 extends TopTools_ListOfShape { - constructor(); - } - - export declare class TopTools_ListOfShape_2 extends TopTools_ListOfShape { - constructor(theAllocator: Handle_NCollection_BaseAllocator); - } - - export declare class TopTools_ListOfShape_3 extends TopTools_ListOfShape { - constructor(theOther: TopTools_ListOfShape); - } - -export declare class TopoDS { - constructor(); - static Vertex_1(S: TopoDS_Shape): TopoDS_Vertex; - static Vertex_2(a0: TopoDS_Shape): TopoDS_Vertex; - static Edge_1(S: TopoDS_Shape): TopoDS_Edge; - static Edge_2(a0: TopoDS_Shape): TopoDS_Edge; - static Wire_1(S: TopoDS_Shape): TopoDS_Wire; - static Wire_2(a0: TopoDS_Shape): TopoDS_Wire; - static Face_1(S: TopoDS_Shape): TopoDS_Face; - static Face_2(a0: TopoDS_Shape): TopoDS_Face; - static Shell_1(S: TopoDS_Shape): TopoDS_Shell; - static Shell_2(a0: TopoDS_Shape): TopoDS_Shell; - static Solid_1(S: TopoDS_Shape): TopoDS_Solid; - static Solid_2(a0: TopoDS_Shape): TopoDS_Solid; - static CompSolid_1(S: TopoDS_Shape): TopoDS_CompSolid; - static CompSolid_2(a0: TopoDS_Shape): TopoDS_CompSolid; - static Compound_1(S: TopoDS_Shape): TopoDS_Compound; - static Compound_2(a0: TopoDS_Shape): TopoDS_Compound; - delete(): void; -} - -export declare class TopoDS_Builder { - constructor(); - MakeWire(W: TopoDS_Wire): void; - MakeShell(S: TopoDS_Shell): void; - MakeSolid(S: TopoDS_Solid): void; - MakeCompSolid(C: TopoDS_CompSolid): void; - MakeCompound(C: TopoDS_Compound): void; - Add(S: TopoDS_Shape, C: TopoDS_Shape): void; - Remove(S: TopoDS_Shape, C: TopoDS_Shape): void; - delete(): void; -} - -export declare class TopoDS_CompSolid extends TopoDS_Shape { - constructor() - delete(): void; -} - -export declare class TopoDS_Compound extends TopoDS_Shape { - constructor() - delete(): void; -} - -export declare class TopoDS_Edge extends TopoDS_Shape { - constructor() - delete(): void; -} - -export declare class TopoDS_Face extends TopoDS_Shape { - constructor() - delete(): void; -} - -export declare class TopoDS_Shape { - constructor() - IsNull(): Standard_Boolean; - Nullify(): void; - Location_1(): TopLoc_Location; - Location_2(theLoc: TopLoc_Location, theRaiseExc: Standard_Boolean): void; - Located(theLoc: TopLoc_Location, theRaiseExc: Standard_Boolean): TopoDS_Shape; - Orientation_1(): TopAbs_Orientation; - Orientation_2(theOrient: TopAbs_Orientation): void; - Oriented(theOrient: TopAbs_Orientation): TopoDS_Shape; - TShape_1(): Handle_TopoDS_TShape; - ShapeType(): TopAbs_ShapeEnum; - Free_1(): Standard_Boolean; - Free_2(theIsFree: Standard_Boolean): void; - Locked_1(): Standard_Boolean; - Locked_2(theIsLocked: Standard_Boolean): void; - Modified_1(): Standard_Boolean; - Modified_2(theIsModified: Standard_Boolean): void; - Checked_1(): Standard_Boolean; - Checked_2(theIsChecked: Standard_Boolean): void; - Orientable_1(): Standard_Boolean; - Orientable_2(theIsOrientable: Standard_Boolean): void; - Closed_1(): Standard_Boolean; - Closed_2(theIsClosed: Standard_Boolean): void; - Infinite_1(): Standard_Boolean; - Infinite_2(theIsInfinite: Standard_Boolean): void; - Convex_1(): Standard_Boolean; - Convex_2(theIsConvex: Standard_Boolean): void; - Move(thePosition: TopLoc_Location, theRaiseExc: Standard_Boolean): void; - Moved(thePosition: TopLoc_Location, theRaiseExc: Standard_Boolean): TopoDS_Shape; - Reverse(): void; - Reversed(): TopoDS_Shape; - Complement(): void; - Complemented(): TopoDS_Shape; - Compose(theOrient: TopAbs_Orientation): void; - Composed(theOrient: TopAbs_Orientation): TopoDS_Shape; - NbChildren(): Graphic3d_ZLayerId; - IsPartner(theOther: TopoDS_Shape): Standard_Boolean; - IsSame(theOther: TopoDS_Shape): Standard_Boolean; - IsEqual(theOther: TopoDS_Shape): Standard_Boolean; - IsNotEqual(theOther: TopoDS_Shape): Standard_Boolean; - HashCode(theUpperBound: Graphic3d_ZLayerId): Graphic3d_ZLayerId; - EmptyCopy(): void; - EmptyCopied(): TopoDS_Shape; - TShape_2(theTShape: Handle_TopoDS_TShape): void; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - delete(): void; -} - -export declare class TopoDS_Shell extends TopoDS_Shape { - constructor() - delete(): void; -} - -export declare class TopoDS_Solid extends TopoDS_Shape { - constructor() - delete(): void; -} - -export declare class TopoDS_Vertex extends TopoDS_Shape { - constructor() - delete(): void; -} - -export declare class TopoDS_Wire extends TopoDS_Shape { - constructor() - delete(): void; -} - -export declare class Handle_XCAFDoc_ColorTool { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: XCAFDoc_ColorTool): void; - get(): XCAFDoc_ColorTool; - delete(): void; -} - - export declare class Handle_XCAFDoc_ColorTool_1 extends Handle_XCAFDoc_ColorTool { - constructor(); - } - - export declare class Handle_XCAFDoc_ColorTool_2 extends Handle_XCAFDoc_ColorTool { - constructor(thePtr: XCAFDoc_ColorTool); - } - - export declare class Handle_XCAFDoc_ColorTool_3 extends Handle_XCAFDoc_ColorTool { - constructor(theHandle: Handle_XCAFDoc_ColorTool); - } - - export declare class Handle_XCAFDoc_ColorTool_4 extends Handle_XCAFDoc_ColorTool { - constructor(theHandle: Handle_XCAFDoc_ColorTool); - } - -export declare class XCAFDoc_ColorTool extends TDataStd_GenericEmpty { - constructor() - static AutoNaming(): Standard_Boolean; - static SetAutoNaming(theIsAutoNaming: Standard_Boolean): void; - static Set(L: TDF_Label): Handle_XCAFDoc_ColorTool; - static GetID(): Standard_GUID; - BaseLabel(): TDF_Label; - ShapeTool(): Handle_XCAFDoc_ShapeTool; - IsColor(lab: TDF_Label): Standard_Boolean; - GetColor_1(lab: TDF_Label, col: Quantity_Color): Standard_Boolean; - GetColor_2(lab: TDF_Label, col: Quantity_ColorRGBA): Standard_Boolean; - FindColor_1(col: Quantity_Color, lab: TDF_Label): Standard_Boolean; - FindColor_2(col: Quantity_ColorRGBA, lab: TDF_Label): Standard_Boolean; - FindColor_3(col: Quantity_Color): TDF_Label; - FindColor_4(col: Quantity_ColorRGBA): TDF_Label; - AddColor_1(col: Quantity_Color): TDF_Label; - AddColor_2(col: Quantity_ColorRGBA): TDF_Label; - RemoveColor(lab: TDF_Label): void; - GetColors(Labels: TDF_LabelSequence): void; - SetColor_1(L: TDF_Label, colorL: TDF_Label, type: XCAFDoc_ColorType): void; - SetColor_2(L: TDF_Label, Color: Quantity_Color, type: XCAFDoc_ColorType): void; - SetColor_3(L: TDF_Label, Color: Quantity_ColorRGBA, type: XCAFDoc_ColorType): void; - UnSetColor_1(L: TDF_Label, type: XCAFDoc_ColorType): void; - IsSet_1(L: TDF_Label, type: XCAFDoc_ColorType): Standard_Boolean; - static GetColor_3(L: TDF_Label, type: XCAFDoc_ColorType, colorL: TDF_Label): Standard_Boolean; - GetColor_4(L: TDF_Label, type: XCAFDoc_ColorType, color: Quantity_Color): Standard_Boolean; - GetColor_5(L: TDF_Label, type: XCAFDoc_ColorType, color: Quantity_ColorRGBA): Standard_Boolean; - SetColor_4(S: TopoDS_Shape, colorL: TDF_Label, type: XCAFDoc_ColorType): Standard_Boolean; - SetColor_5(S: TopoDS_Shape, Color: Quantity_Color, type: XCAFDoc_ColorType): Standard_Boolean; - SetColor_6(S: TopoDS_Shape, Color: Quantity_ColorRGBA, type: XCAFDoc_ColorType): Standard_Boolean; - UnSetColor_2(S: TopoDS_Shape, type: XCAFDoc_ColorType): Standard_Boolean; - IsSet_2(S: TopoDS_Shape, type: XCAFDoc_ColorType): Standard_Boolean; - GetColor_6(S: TopoDS_Shape, type: XCAFDoc_ColorType, colorL: TDF_Label): Standard_Boolean; - GetColor_7(S: TopoDS_Shape, type: XCAFDoc_ColorType, color: Quantity_Color): Standard_Boolean; - GetColor_8(S: TopoDS_Shape, type: XCAFDoc_ColorType, color: Quantity_ColorRGBA): Standard_Boolean; - IsVisible(L: TDF_Label): Standard_Boolean; - SetVisibility(shapeLabel: TDF_Label, isvisible: Standard_Boolean): void; - IsColorByLayer(L: TDF_Label): Standard_Boolean; - SetColorByLayer(shapeLabel: TDF_Label, isColorByLayer: Standard_Boolean): void; - SetInstanceColor_1(theShape: TopoDS_Shape, type: XCAFDoc_ColorType, color: Quantity_Color, isCreateSHUO: Standard_Boolean): Standard_Boolean; - SetInstanceColor_2(theShape: TopoDS_Shape, type: XCAFDoc_ColorType, color: Quantity_ColorRGBA, isCreateSHUO: Standard_Boolean): Standard_Boolean; - GetInstanceColor_1(theShape: TopoDS_Shape, type: XCAFDoc_ColorType, color: Quantity_Color): Standard_Boolean; - GetInstanceColor_2(theShape: TopoDS_Shape, type: XCAFDoc_ColorType, color: Quantity_ColorRGBA): Standard_Boolean; - IsInstanceVisible(theShape: TopoDS_Shape): Standard_Boolean; - ReverseChainsOfTreeNodes(): Standard_Boolean; - ID(): Standard_GUID; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - NewEmpty(): Handle_TDF_Attribute; - delete(): void; -} - -export declare type XCAFDoc_ColorType = { - XCAFDoc_ColorGen: {}; - XCAFDoc_ColorSurf: {}; - XCAFDoc_ColorCurv: {}; -} - -export declare class XCAFDoc_DocumentTool extends TDataStd_GenericEmpty { - constructor() - static GetID(): Standard_GUID; - static Set(L: TDF_Label, IsAcces: Standard_Boolean): Handle_XCAFDoc_DocumentTool; - static IsXCAFDocument(Doc: Handle_TDocStd_Document): Standard_Boolean; - static DocLabel(acces: TDF_Label): TDF_Label; - static ShapesLabel(acces: TDF_Label): TDF_Label; - static ColorsLabel(acces: TDF_Label): TDF_Label; - static LayersLabel(acces: TDF_Label): TDF_Label; - static DGTsLabel(acces: TDF_Label): TDF_Label; - static MaterialsLabel(acces: TDF_Label): TDF_Label; - static ViewsLabel(acces: TDF_Label): TDF_Label; - static ClippingPlanesLabel(acces: TDF_Label): TDF_Label; - static NotesLabel(acces: TDF_Label): TDF_Label; - static VisMaterialLabel(theLabel: TDF_Label): TDF_Label; - static ShapeTool(acces: TDF_Label): Handle_XCAFDoc_ShapeTool; - static CheckShapeTool(theAcces: TDF_Label): Standard_Boolean; - static ColorTool(acces: TDF_Label): Handle_XCAFDoc_ColorTool; - static CheckColorTool(theAcces: TDF_Label): Standard_Boolean; - static VisMaterialTool(theLabel: TDF_Label): Handle_XCAFDoc_VisMaterialTool; - static CheckVisMaterialTool(theAcces: TDF_Label): Standard_Boolean; - static LayerTool(acces: TDF_Label): Handle_XCAFDoc_LayerTool; - static CheckLayerTool(theAcces: TDF_Label): Standard_Boolean; - static DimTolTool(acces: TDF_Label): Handle_XCAFDoc_DimTolTool; - static CheckDimTolTool(theAcces: TDF_Label): Standard_Boolean; - static MaterialTool(acces: TDF_Label): Handle_XCAFDoc_MaterialTool; - static CheckMaterialTool(theAcces: TDF_Label): Standard_Boolean; - static ViewTool(acces: TDF_Label): Handle_XCAFDoc_ViewTool; - static CheckViewTool(theAcces: TDF_Label): Standard_Boolean; - static ClippingPlaneTool(acces: TDF_Label): Handle_XCAFDoc_ClippingPlaneTool; - static CheckClippingPlaneTool(theAcces: TDF_Label): Standard_Boolean; - static NotesTool(acces: TDF_Label): Handle_XCAFDoc_NotesTool; - static CheckNotesTool(theAcces: TDF_Label): Standard_Boolean; - static GetLengthUnit_1(theDoc: Handle_TDocStd_Document, theResut: Standard_Real, theBaseUnit: UnitsMethods_LengthUnit): Standard_Boolean; - static GetLengthUnit_2(theDoc: Handle_TDocStd_Document, theResut: Standard_Real): Standard_Boolean; - static SetLengthUnit_1(theDoc: Handle_TDocStd_Document, theUnitValue: Standard_Real): void; - static SetLengthUnit_2(theDoc: Handle_TDocStd_Document, theUnitValue: Standard_Real, theBaseUnit: UnitsMethods_LengthUnit): void; - Init(): void; - ID(): Standard_GUID; - AfterRetrieval(forceIt: Standard_Boolean): Standard_Boolean; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - NewEmpty(): Handle_TDF_Attribute; - delete(): void; -} - -export declare class XCAFDoc_LengthUnit extends TDF_Attribute { - constructor() - static GetID(): Standard_GUID; - static Set_1(theLabel: TDF_Label, theUnitName: XCAFDoc_PartId, theUnitValue: Standard_Real): Handle_XCAFDoc_LengthUnit; - static Set_2(theLabel: TDF_Label, theUnitValue: Standard_Real): Handle_XCAFDoc_LengthUnit; - static Set_3(theLabel: TDF_Label, theGUID: Standard_GUID, theUnitName: XCAFDoc_PartId, theUnitValue: Standard_Real): Handle_XCAFDoc_LengthUnit; - Set_4(theUnitName: XCAFDoc_PartId, theUnitValue: Standard_Real): void; - GetUnitName(): XCAFDoc_PartId; - GetUnitValue(): Standard_Real; - IsEmpty(): Standard_Boolean; - ID(): Standard_GUID; - Restore(theWith: Handle_TDF_Attribute): void; - Paste(theInto: Handle_TDF_Attribute, theRT: Handle_TDF_RelocationTable): void; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - NewEmpty(): Handle_TDF_Attribute; - delete(): void; -} - -export declare class Handle_XCAFDoc_ShapeTool { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: XCAFDoc_ShapeTool): void; - get(): XCAFDoc_ShapeTool; - delete(): void; -} - - export declare class Handle_XCAFDoc_ShapeTool_1 extends Handle_XCAFDoc_ShapeTool { - constructor(); - } - - export declare class Handle_XCAFDoc_ShapeTool_2 extends Handle_XCAFDoc_ShapeTool { - constructor(thePtr: XCAFDoc_ShapeTool); - } - - export declare class Handle_XCAFDoc_ShapeTool_3 extends Handle_XCAFDoc_ShapeTool { - constructor(theHandle: Handle_XCAFDoc_ShapeTool); - } - - export declare class Handle_XCAFDoc_ShapeTool_4 extends Handle_XCAFDoc_ShapeTool { - constructor(theHandle: Handle_XCAFDoc_ShapeTool); - } - -export declare class XCAFDoc_ShapeTool extends TDataStd_GenericEmpty { - constructor() - static GetID(): Standard_GUID; - static Set(L: TDF_Label): Handle_XCAFDoc_ShapeTool; - IsTopLevel(L: TDF_Label): Standard_Boolean; - static IsFree(L: TDF_Label): Standard_Boolean; - static IsShape(L: TDF_Label): Standard_Boolean; - static IsSimpleShape(L: TDF_Label): Standard_Boolean; - static IsReference(L: TDF_Label): Standard_Boolean; - static IsAssembly(L: TDF_Label): Standard_Boolean; - static IsComponent(L: TDF_Label): Standard_Boolean; - static IsCompound(L: TDF_Label): Standard_Boolean; - static IsSubShape_1(L: TDF_Label): Standard_Boolean; - IsSubShape_2(shapeL: TDF_Label, sub: TopoDS_Shape): Standard_Boolean; - SearchUsingMap(S: TopoDS_Shape, L: TDF_Label, findWithoutLoc: Standard_Boolean, findSubshape: Standard_Boolean): Standard_Boolean; - Search(S: TopoDS_Shape, L: TDF_Label, findInstance: Standard_Boolean, findComponent: Standard_Boolean, findSubshape: Standard_Boolean): Standard_Boolean; - FindShape_1(S: TopoDS_Shape, L: TDF_Label, findInstance: Standard_Boolean): Standard_Boolean; - FindShape_2(S: TopoDS_Shape, findInstance: Standard_Boolean): TDF_Label; - static GetShape_1(L: TDF_Label, S: TopoDS_Shape): Standard_Boolean; - static GetShape_2(L: TDF_Label): TopoDS_Shape; - NewShape(): TDF_Label; - SetShape(L: TDF_Label, S: TopoDS_Shape): void; - AddShape(S: TopoDS_Shape, makeAssembly: Standard_Boolean, makePrepare: Standard_Boolean): TDF_Label; - RemoveShape(L: TDF_Label, removeCompletely: Standard_Boolean): Standard_Boolean; - Init(): void; - static SetAutoNaming(V: Standard_Boolean): void; - static AutoNaming(): Standard_Boolean; - ComputeShapes(L: TDF_Label): void; - ComputeSimpleShapes(): void; - GetShapes(Labels: TDF_LabelSequence): void; - GetFreeShapes(FreeLabels: TDF_LabelSequence): void; - static GetUsers(L: TDF_Label, Labels: TDF_LabelSequence, getsubchilds: Standard_Boolean): Graphic3d_ZLayerId; - static GetLocation(L: TDF_Label): TopLoc_Location; - static GetReferredShape(L: TDF_Label, Label: TDF_Label): Standard_Boolean; - static NbComponents(L: TDF_Label, getsubchilds: Standard_Boolean): Graphic3d_ZLayerId; - static GetComponents(L: TDF_Label, Labels: TDF_LabelSequence, getsubchilds: Standard_Boolean): Standard_Boolean; - AddComponent_1(assembly: TDF_Label, comp: TDF_Label, Loc: TopLoc_Location): TDF_Label; - AddComponent_2(assembly: TDF_Label, comp: TopoDS_Shape, expand: Standard_Boolean): TDF_Label; - RemoveComponent(comp: TDF_Label): void; - UpdateAssemblies(): void; - FindSubShape(shapeL: TDF_Label, sub: TopoDS_Shape, L: TDF_Label): Standard_Boolean; - AddSubShape_1(shapeL: TDF_Label, sub: TopoDS_Shape): TDF_Label; - AddSubShape_2(shapeL: TDF_Label, sub: TopoDS_Shape, addedSubShapeL: TDF_Label): Standard_Boolean; - FindMainShapeUsingMap(sub: TopoDS_Shape): TDF_Label; - FindMainShape(sub: TopoDS_Shape): TDF_Label; - static GetSubShapes(L: TDF_Label, Labels: TDF_LabelSequence): Standard_Boolean; - BaseLabel(): TDF_Label; - static DumpShape(theDumpLog: Standard_OStream, L: TDF_Label, level: Graphic3d_ZLayerId, deep: Standard_Boolean): void; - ID(): Standard_GUID; - static IsExternRef(L: TDF_Label): Standard_Boolean; - SetExternRefs_1(SHAS: TColStd_SequenceOfHAsciiString): TDF_Label; - SetExternRefs_2(L: TDF_Label, SHAS: TColStd_SequenceOfHAsciiString): void; - static GetExternRefs(L: TDF_Label, SHAS: TColStd_SequenceOfHAsciiString): void; - SetSHUO(Labels: TDF_LabelSequence, MainSHUOAttr: Handle_XCAFDoc_GraphNode): Standard_Boolean; - static GetSHUO(SHUOLabel: TDF_Label, aSHUOAttr: Handle_XCAFDoc_GraphNode): Standard_Boolean; - static GetAllComponentSHUO(CompLabel: TDF_Label, SHUOAttrs: TDF_AttributeSequence): Standard_Boolean; - static GetSHUOUpperUsage(NextUsageL: TDF_Label, Labels: TDF_LabelSequence): Standard_Boolean; - static GetSHUONextUsage(UpperUsageL: TDF_Label, Labels: TDF_LabelSequence): Standard_Boolean; - RemoveSHUO(SHUOLabel: TDF_Label): Standard_Boolean; - FindComponent(theShape: TopoDS_Shape, Labels: TDF_LabelSequence): Standard_Boolean; - GetSHUOInstance(theSHUO: Handle_XCAFDoc_GraphNode): TopoDS_Shape; - SetInstanceSHUO(theShape: TopoDS_Shape): Handle_XCAFDoc_GraphNode; - GetAllSHUOInstances(theSHUO: Handle_XCAFDoc_GraphNode, theSHUOShapeSeq: TopTools_SequenceOfShape): Standard_Boolean; - static FindSHUO(Labels: TDF_LabelSequence, theSHUOAttr: Handle_XCAFDoc_GraphNode): Standard_Boolean; - Expand(Shape: TDF_Label): Standard_Boolean; - GetNamedProperties_1(theLabel: TDF_Label, theToCreate: Standard_Boolean): Handle_TDataStd_NamedData; - GetNamedProperties_2(theShape: TopoDS_Shape, theToCreate: Standard_Boolean): Handle_TDataStd_NamedData; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - NewEmpty(): Handle_TDF_Attribute; - delete(): void; -} - -export declare class XSControl_Reader { - SetNorm(norm: Standard_CString): Standard_Boolean; - SetWS(WS: Handle_XSControl_WorkSession, scratch: Standard_Boolean): void; - WS(): Handle_XSControl_WorkSession; - ReadFile(filename: Standard_CString): IFSelect_ReturnStatus; - ReadStream(theName: Standard_CString, theIStream: Standard_IStream): IFSelect_ReturnStatus; - Model(): Handle_Interface_InterfaceModel; - GiveList_1(first: Standard_CString, second: Standard_CString): Handle_TColStd_HSequenceOfTransient; - GiveList_2(first: Standard_CString, ent: Handle_Standard_Transient): Handle_TColStd_HSequenceOfTransient; - NbRootsForTransfer(): Graphic3d_ZLayerId; - RootForTransfer(num: Graphic3d_ZLayerId): Handle_Standard_Transient; - TransferOneRoot(num: Graphic3d_ZLayerId, theProgress: Message_ProgressRange): Standard_Boolean; - TransferOne(num: Graphic3d_ZLayerId, theProgress: Message_ProgressRange): Standard_Boolean; - TransferEntity(start: Handle_Standard_Transient, theProgress: Message_ProgressRange): Standard_Boolean; - TransferList(list: Handle_TColStd_HSequenceOfTransient, theProgress: Message_ProgressRange): Graphic3d_ZLayerId; - TransferRoots(theProgress: Message_ProgressRange): Graphic3d_ZLayerId; - ClearShapes(): void; - NbShapes(): Graphic3d_ZLayerId; - Shape(num: Graphic3d_ZLayerId): TopoDS_Shape; - OneShape(): TopoDS_Shape; - PrintCheckLoad_1(failsonly: Standard_Boolean, mode: IFSelect_PrintCount): void; - PrintCheckLoad_2(theStream: Standard_OStream, failsonly: Standard_Boolean, mode: IFSelect_PrintCount): void; - PrintCheckTransfer_1(failsonly: Standard_Boolean, mode: IFSelect_PrintCount): void; - PrintCheckTransfer_2(theStream: Standard_OStream, failsonly: Standard_Boolean, mode: IFSelect_PrintCount): void; - PrintStatsTransfer_1(what: Graphic3d_ZLayerId, mode: Graphic3d_ZLayerId): void; - PrintStatsTransfer_2(theStream: Standard_OStream, what: Graphic3d_ZLayerId, mode: Graphic3d_ZLayerId): void; - GetStatsTransfer(list: Handle_TColStd_HSequenceOfTransient, nbMapped: Graphic3d_ZLayerId, nbWithResult: Graphic3d_ZLayerId, nbWithFail: Graphic3d_ZLayerId): void; - delete(): void; -} - - export declare class XSControl_Reader_1 extends XSControl_Reader { - constructor(); - } - - export declare class XSControl_Reader_2 extends XSControl_Reader { - constructor(norm: Standard_CString); - } - - export declare class XSControl_Reader_3 extends XSControl_Reader { - constructor(WS: Handle_XSControl_WorkSession, scratch: Standard_Boolean); - } - -export declare class Handle_XSControl_WorkSession { - Nullify(): void; - IsNull(): boolean; - reset(thePtr: XSControl_WorkSession): void; - get(): XSControl_WorkSession; - delete(): void; -} - - export declare class Handle_XSControl_WorkSession_1 extends Handle_XSControl_WorkSession { - constructor(); - } - - export declare class Handle_XSControl_WorkSession_2 extends Handle_XSControl_WorkSession { - constructor(thePtr: XSControl_WorkSession); - } - - export declare class Handle_XSControl_WorkSession_3 extends Handle_XSControl_WorkSession { - constructor(theHandle: Handle_XSControl_WorkSession); - } - - export declare class Handle_XSControl_WorkSession_4 extends Handle_XSControl_WorkSession { - constructor(theHandle: Handle_XSControl_WorkSession); - } - -export declare class XSControl_WorkSession extends IFSelect_WorkSession { - constructor() - ClearData(theMode: Graphic3d_ZLayerId): void; - SelectNorm(theNormName: Standard_CString): Standard_Boolean; - SetController(theCtl: Handle_XSControl_Controller): void; - SelectedNorm(theRsc: Standard_Boolean): Standard_CString; - NormAdaptor(): Handle_XSControl_Controller; - Context(): any; - SetAllContext(theContext: any): void; - ClearContext(): void; - PrintTransferStatus(theNum: Graphic3d_ZLayerId, theWri: Standard_Boolean, theS: Standard_OStream): Standard_Boolean; - InitTransferReader(theMode: Graphic3d_ZLayerId): void; - SetTransferReader(theTR: Handle_XSControl_TransferReader): void; - TransferReader(): Handle_XSControl_TransferReader; - MapReader(): Handle_Transfer_TransientProcess; - SetMapReader(theTP: Handle_Transfer_TransientProcess): Standard_Boolean; - Result(theEnt: Handle_Standard_Transient, theMode: Graphic3d_ZLayerId): Handle_Standard_Transient; - TransferReadOne(theEnts: Handle_Standard_Transient, theProgress: Message_ProgressRange): Graphic3d_ZLayerId; - TransferReadRoots(theProgress: Message_ProgressRange): Graphic3d_ZLayerId; - NewModel(): Handle_Interface_InterfaceModel; - TransferWriter(): Handle_XSControl_TransferWriter; - SetMapWriter(theFP: Handle_Transfer_FinderProcess): Standard_Boolean; - TransferWriteShape(theShape: TopoDS_Shape, theCompGraph: Standard_Boolean, theProgress: Message_ProgressRange): IFSelect_ReturnStatus; - TransferWriteCheckList(): Interface_CheckIterator; - Vars(): Handle_XSControl_Vars; - SetVars(theVars: Handle_XSControl_Vars): void; - static get_type_name(): Standard_Character; - static get_type_descriptor(): Handle_Standard_Type; - DynamicType(): Handle_Standard_Type; - delete(): void; -} - -export declare class gp_Ax1 { - SetDirection(theV: gp_Dir): void; - SetLocation(theP: gp_Pnt): void; - Direction(): gp_Dir; - Location(): gp_Pnt; - IsCoaxial(Other: gp_Ax1, AngularTolerance: Standard_Real, LinearTolerance: Standard_Real): Standard_Boolean; - IsNormal(theOther: gp_Ax1, theAngularTolerance: Standard_Real): Standard_Boolean; - IsOpposite(theOther: gp_Ax1, theAngularTolerance: Standard_Real): Standard_Boolean; - IsParallel(theOther: gp_Ax1, theAngularTolerance: Standard_Real): Standard_Boolean; - Angle(theOther: gp_Ax1): Standard_Real; - Reverse(): void; - Reversed(): gp_Ax1; - Mirror_1(P: gp_Pnt): void; - Mirrored_1(P: gp_Pnt): gp_Ax1; - Mirror_2(A1: gp_Ax1): void; - Mirrored_2(A1: gp_Ax1): gp_Ax1; - Mirror_3(A2: gp_Ax2): void; - Mirrored_3(A2: gp_Ax2): gp_Ax1; - Rotate(theA1: gp_Ax1, theAngRad: Standard_Real): void; - Rotated(theA1: gp_Ax1, theAngRad: Standard_Real): gp_Ax1; - Scale(theP: gp_Pnt, theS: Standard_Real): void; - Scaled(theP: gp_Pnt, theS: Standard_Real): gp_Ax1; - Transform(theT: gp_Trsf): void; - Transformed(theT: gp_Trsf): gp_Ax1; - Translate_1(theV: gp_Vec): void; - Translated_1(theV: gp_Vec): gp_Ax1; - Translate_2(theP1: gp_Pnt, theP2: gp_Pnt): void; - Translated_2(theP1: gp_Pnt, theP2: gp_Pnt): gp_Ax1; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - InitFromJson(theSStream: Standard_SStream, theStreamPos: Graphic3d_ZLayerId): Standard_Boolean; - delete(): void; -} - - export declare class gp_Ax1_1 extends gp_Ax1 { - constructor(); - } - - export declare class gp_Ax1_2 extends gp_Ax1 { - constructor(theP: gp_Pnt, theV: gp_Dir); - } - -export declare class gp_Ax2 { - SetAxis(A1: gp_Ax1): void; - SetDirection(V: gp_Dir): void; - SetLocation(theP: gp_Pnt): void; - SetXDirection(theVx: gp_Dir): void; - SetYDirection(theVy: gp_Dir): void; - Angle(theOther: gp_Ax2): Standard_Real; - Axis(): gp_Ax1; - Direction(): gp_Dir; - Location(): gp_Pnt; - XDirection(): gp_Dir; - YDirection(): gp_Dir; - IsCoplanar_1(Other: gp_Ax2, LinearTolerance: Standard_Real, AngularTolerance: Standard_Real): Standard_Boolean; - IsCoplanar_2(A1: gp_Ax1, LinearTolerance: Standard_Real, AngularTolerance: Standard_Real): Standard_Boolean; - Mirror_1(P: gp_Pnt): void; - Mirrored_1(P: gp_Pnt): gp_Ax2; - Mirror_2(A1: gp_Ax1): void; - Mirrored_2(A1: gp_Ax1): gp_Ax2; - Mirror_3(A2: gp_Ax2): void; - Mirrored_3(A2: gp_Ax2): gp_Ax2; - Rotate(theA1: gp_Ax1, theAng: Standard_Real): void; - Rotated(theA1: gp_Ax1, theAng: Standard_Real): gp_Ax2; - Scale(theP: gp_Pnt, theS: Standard_Real): void; - Scaled(theP: gp_Pnt, theS: Standard_Real): gp_Ax2; - Transform(theT: gp_Trsf): void; - Transformed(theT: gp_Trsf): gp_Ax2; - Translate_1(theV: gp_Vec): void; - Translated_1(theV: gp_Vec): gp_Ax2; - Translate_2(theP1: gp_Pnt, theP2: gp_Pnt): void; - Translated_2(theP1: gp_Pnt, theP2: gp_Pnt): gp_Ax2; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - InitFromJson(theSStream: Standard_SStream, theStreamPos: Graphic3d_ZLayerId): Standard_Boolean; - delete(): void; -} - - export declare class gp_Ax2_1 extends gp_Ax2 { - constructor(); - } - - export declare class gp_Ax2_2 extends gp_Ax2 { - constructor(P: gp_Pnt, N: gp_Dir, Vx: gp_Dir); - } - - export declare class gp_Ax2_3 extends gp_Ax2 { - constructor(P: gp_Pnt, V: gp_Dir); - } - -export declare class gp_Ax22d { - SetAxis(theA1: gp_Ax22d): void; - SetXAxis(theA1: gp_Ax2d): void; - SetYAxis(theA1: gp_Ax2d): void; - SetLocation(theP: gp_Pnt2d): void; - SetXDirection(theVx: gp_Dir2d): void; - SetYDirection(theVy: gp_Dir2d): void; - XAxis(): gp_Ax2d; - YAxis(): gp_Ax2d; - Location(): gp_Pnt2d; - XDirection(): gp_Dir2d; - YDirection(): gp_Dir2d; - Mirror_1(theP: gp_Pnt2d): void; - Mirrored_1(theP: gp_Pnt2d): gp_Ax22d; - Mirror_2(theA: gp_Ax2d): void; - Mirrored_2(theA: gp_Ax2d): gp_Ax22d; - Rotate(theP: gp_Pnt2d, theAng: Standard_Real): void; - Rotated(theP: gp_Pnt2d, theAng: Standard_Real): gp_Ax22d; - Scale(theP: gp_Pnt2d, theS: Standard_Real): void; - Scaled(theP: gp_Pnt2d, theS: Standard_Real): gp_Ax22d; - Transform(theT: gp_Trsf2d): void; - Transformed(theT: gp_Trsf2d): gp_Ax22d; - Translate_1(theV: gp_Vec2d): void; - Translated_1(theV: gp_Vec2d): gp_Ax22d; - Translate_2(theP1: gp_Pnt2d, theP2: gp_Pnt2d): void; - Translated_2(theP1: gp_Pnt2d, theP2: gp_Pnt2d): gp_Ax22d; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - delete(): void; -} - - export declare class gp_Ax22d_1 extends gp_Ax22d { - constructor(); - } - - export declare class gp_Ax22d_2 extends gp_Ax22d { - constructor(theP: gp_Pnt2d, theVx: gp_Dir2d, theVy: gp_Dir2d); - } - - export declare class gp_Ax22d_3 extends gp_Ax22d { - constructor(theP: gp_Pnt2d, theV: gp_Dir2d, theIsSense: Standard_Boolean); - } - - export declare class gp_Ax22d_4 extends gp_Ax22d { - constructor(theA: gp_Ax2d, theIsSense: Standard_Boolean); - } - -export declare class gp_Ax2d { - SetLocation(theP: gp_Pnt2d): void; - SetDirection(theV: gp_Dir2d): void; - Location(): gp_Pnt2d; - Direction(): gp_Dir2d; - IsCoaxial(Other: gp_Ax2d, AngularTolerance: Standard_Real, LinearTolerance: Standard_Real): Standard_Boolean; - IsNormal(theOther: gp_Ax2d, theAngularTolerance: Standard_Real): Standard_Boolean; - IsOpposite(theOther: gp_Ax2d, theAngularTolerance: Standard_Real): Standard_Boolean; - IsParallel(theOther: gp_Ax2d, theAngularTolerance: Standard_Real): Standard_Boolean; - Angle(theOther: gp_Ax2d): Standard_Real; - Reverse(): void; - Reversed(): gp_Ax2d; - Mirror_1(P: gp_Pnt2d): void; - Mirrored_1(P: gp_Pnt2d): gp_Ax2d; - Mirror_2(A: gp_Ax2d): void; - Mirrored_2(A: gp_Ax2d): gp_Ax2d; - Rotate(theP: gp_Pnt2d, theAng: Standard_Real): void; - Rotated(theP: gp_Pnt2d, theAng: Standard_Real): gp_Ax2d; - Scale(P: gp_Pnt2d, S: Standard_Real): void; - Scaled(theP: gp_Pnt2d, theS: Standard_Real): gp_Ax2d; - Transform(theT: gp_Trsf2d): void; - Transformed(theT: gp_Trsf2d): gp_Ax2d; - Translate_1(theV: gp_Vec2d): void; - Translated_1(theV: gp_Vec2d): gp_Ax2d; - Translate_2(theP1: gp_Pnt2d, theP2: gp_Pnt2d): void; - Translated_2(theP1: gp_Pnt2d, theP2: gp_Pnt2d): gp_Ax2d; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - delete(): void; -} - - export declare class gp_Ax2d_1 extends gp_Ax2d { - constructor(); - } - - export declare class gp_Ax2d_2 extends gp_Ax2d { - constructor(theP: gp_Pnt2d, theV: gp_Dir2d); - } - -export declare class gp_Ax3 { - XReverse(): void; - YReverse(): void; - ZReverse(): void; - SetAxis(theA1: gp_Ax1): void; - SetDirection(theV: gp_Dir): void; - SetLocation(theP: gp_Pnt): void; - SetXDirection(theVx: gp_Dir): void; - SetYDirection(theVy: gp_Dir): void; - Angle(theOther: gp_Ax3): Standard_Real; - Axis(): gp_Ax1; - Ax2(): gp_Ax2; - Direction(): gp_Dir; - Location(): gp_Pnt; - XDirection(): gp_Dir; - YDirection(): gp_Dir; - Direct(): Standard_Boolean; - IsCoplanar_1(theOther: gp_Ax3, theLinearTolerance: Standard_Real, theAngularTolerance: Standard_Real): Standard_Boolean; - IsCoplanar_2(theA1: gp_Ax1, theLinearTolerance: Standard_Real, theAngularTolerance: Standard_Real): Standard_Boolean; - Mirror_1(theP: gp_Pnt): void; - Mirrored_1(theP: gp_Pnt): gp_Ax3; - Mirror_2(theA1: gp_Ax1): void; - Mirrored_2(theA1: gp_Ax1): gp_Ax3; - Mirror_3(theA2: gp_Ax2): void; - Mirrored_3(theA2: gp_Ax2): gp_Ax3; - Rotate(theA1: gp_Ax1, theAng: Standard_Real): void; - Rotated(theA1: gp_Ax1, theAng: Standard_Real): gp_Ax3; - Scale(theP: gp_Pnt, theS: Standard_Real): void; - Scaled(theP: gp_Pnt, theS: Standard_Real): gp_Ax3; - Transform(theT: gp_Trsf): void; - Transformed(theT: gp_Trsf): gp_Ax3; - Translate_1(theV: gp_Vec): void; - Translated_1(theV: gp_Vec): gp_Ax3; - Translate_2(theP1: gp_Pnt, theP2: gp_Pnt): void; - Translated_2(theP1: gp_Pnt, theP2: gp_Pnt): gp_Ax3; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - InitFromJson(theSStream: Standard_SStream, theStreamPos: Graphic3d_ZLayerId): Standard_Boolean; - delete(): void; -} - - export declare class gp_Ax3_1 extends gp_Ax3 { - constructor(); - } - - export declare class gp_Ax3_2 extends gp_Ax3 { - constructor(theA: gp_Ax2); - } - - export declare class gp_Ax3_3 extends gp_Ax3 { - constructor(theP: gp_Pnt, theN: gp_Dir, theVx: gp_Dir); - } - - export declare class gp_Ax3_4 extends gp_Ax3 { - constructor(theP: gp_Pnt, theV: gp_Dir); - } - -export declare class gp_Circ { - SetAxis(theA1: gp_Ax1): void; - SetLocation(theP: gp_Pnt): void; - SetPosition(theA2: gp_Ax2): void; - SetRadius(theRadius: Standard_Real): void; - Area(): Standard_Real; - Axis(): gp_Ax1; - Length(): Standard_Real; - Location(): gp_Pnt; - Position(): gp_Ax2; - Radius(): Standard_Real; - XAxis(): gp_Ax1; - YAxis(): gp_Ax1; - Distance(theP: gp_Pnt): Standard_Real; - SquareDistance(theP: gp_Pnt): Standard_Real; - Contains(theP: gp_Pnt, theLinearTolerance: Standard_Real): Standard_Boolean; - Mirror_1(theP: gp_Pnt): void; - Mirrored_1(theP: gp_Pnt): gp_Circ; - Mirror_2(theA1: gp_Ax1): void; - Mirrored_2(theA1: gp_Ax1): gp_Circ; - Mirror_3(theA2: gp_Ax2): void; - Mirrored_3(theA2: gp_Ax2): gp_Circ; - Rotate(theA1: gp_Ax1, theAng: Standard_Real): void; - Rotated(theA1: gp_Ax1, theAng: Standard_Real): gp_Circ; - Scale(theP: gp_Pnt, theS: Standard_Real): void; - Scaled(theP: gp_Pnt, theS: Standard_Real): gp_Circ; - Transform(theT: gp_Trsf): void; - Transformed(theT: gp_Trsf): gp_Circ; - Translate_1(theV: gp_Vec): void; - Translated_1(theV: gp_Vec): gp_Circ; - Translate_2(theP1: gp_Pnt, theP2: gp_Pnt): void; - Translated_2(theP1: gp_Pnt, theP2: gp_Pnt): gp_Circ; - delete(): void; -} - - export declare class gp_Circ_1 extends gp_Circ { - constructor(); - } - - export declare class gp_Circ_2 extends gp_Circ { - constructor(theA2: gp_Ax2, theRadius: Standard_Real); - } - -export declare class gp_Circ2d { - SetLocation(theP: gp_Pnt2d): void; - SetXAxis(theA: gp_Ax2d): void; - SetAxis(theA: gp_Ax22d): void; - SetYAxis(theA: gp_Ax2d): void; - SetRadius(theRadius: Standard_Real): void; - Area(): Standard_Real; - Coefficients(theA: Standard_Real, theB: Standard_Real, theC: Standard_Real, theD: Standard_Real, theE: Standard_Real, theF: Standard_Real): void; - Contains(theP: gp_Pnt2d, theLinearTolerance: Standard_Real): Standard_Boolean; - Distance(theP: gp_Pnt2d): Standard_Real; - SquareDistance(theP: gp_Pnt2d): Standard_Real; - Length(): Standard_Real; - Location(): gp_Pnt2d; - Radius(): Standard_Real; - Axis(): gp_Ax22d; - Position(): gp_Ax22d; - XAxis(): gp_Ax2d; - YAxis(): gp_Ax2d; - Reverse(): void; - Reversed(): gp_Circ2d; - IsDirect(): Standard_Boolean; - Mirror_1(theP: gp_Pnt2d): void; - Mirrored_1(theP: gp_Pnt2d): gp_Circ2d; - Mirror_2(theA: gp_Ax2d): void; - Mirrored_2(theA: gp_Ax2d): gp_Circ2d; - Rotate(theP: gp_Pnt2d, theAng: Standard_Real): void; - Rotated(theP: gp_Pnt2d, theAng: Standard_Real): gp_Circ2d; - Scale(theP: gp_Pnt2d, theS: Standard_Real): void; - Scaled(theP: gp_Pnt2d, theS: Standard_Real): gp_Circ2d; - Transform(theT: gp_Trsf2d): void; - Transformed(theT: gp_Trsf2d): gp_Circ2d; - Translate_1(theV: gp_Vec2d): void; - Translated_1(theV: gp_Vec2d): gp_Circ2d; - Translate_2(theP1: gp_Pnt2d, theP2: gp_Pnt2d): void; - Translated_2(theP1: gp_Pnt2d, theP2: gp_Pnt2d): gp_Circ2d; - delete(): void; -} - - export declare class gp_Circ2d_1 extends gp_Circ2d { - constructor(); - } - - export declare class gp_Circ2d_2 extends gp_Circ2d { - constructor(theXAxis: gp_Ax2d, theRadius: Standard_Real, theIsSense: Standard_Boolean); - } - - export declare class gp_Circ2d_3 extends gp_Circ2d { - constructor(theAxis: gp_Ax22d, theRadius: Standard_Real); - } - -export declare class gp_Cylinder { - SetAxis(theA1: gp_Ax1): void; - SetLocation(theLoc: gp_Pnt): void; - SetPosition(theA3: gp_Ax3): void; - SetRadius(theR: Standard_Real): void; - UReverse(): void; - VReverse(): void; - Direct(): Standard_Boolean; - Axis(): gp_Ax1; - Coefficients(theA1: Standard_Real, theA2: Standard_Real, theA3: Standard_Real, theB1: Standard_Real, theB2: Standard_Real, theB3: Standard_Real, theC1: Standard_Real, theC2: Standard_Real, theC3: Standard_Real, theD: Standard_Real): void; - Location(): gp_Pnt; - Position(): gp_Ax3; - Radius(): Standard_Real; - XAxis(): gp_Ax1; - YAxis(): gp_Ax1; - Mirror_1(theP: gp_Pnt): void; - Mirrored_1(theP: gp_Pnt): gp_Cylinder; - Mirror_2(theA1: gp_Ax1): void; - Mirrored_2(theA1: gp_Ax1): gp_Cylinder; - Mirror_3(theA2: gp_Ax2): void; - Mirrored_3(theA2: gp_Ax2): gp_Cylinder; - Rotate(theA1: gp_Ax1, theAng: Standard_Real): void; - Rotated(theA1: gp_Ax1, theAng: Standard_Real): gp_Cylinder; - Scale(theP: gp_Pnt, theS: Standard_Real): void; - Scaled(theP: gp_Pnt, theS: Standard_Real): gp_Cylinder; - Transform(theT: gp_Trsf): void; - Transformed(theT: gp_Trsf): gp_Cylinder; - Translate_1(theV: gp_Vec): void; - Translated_1(theV: gp_Vec): gp_Cylinder; - Translate_2(theP1: gp_Pnt, theP2: gp_Pnt): void; - Translated_2(theP1: gp_Pnt, theP2: gp_Pnt): gp_Cylinder; - delete(): void; -} - - export declare class gp_Cylinder_1 extends gp_Cylinder { - constructor(); - } - - export declare class gp_Cylinder_2 extends gp_Cylinder { - constructor(theA3: gp_Ax3, theRadius: Standard_Real); - } - -export declare class gp_Dir { - SetCoord_1(theIndex: Graphic3d_ZLayerId, theXi: Standard_Real): void; - SetCoord_2(theXv: Standard_Real, theYv: Standard_Real, theZv: Standard_Real): void; - SetX(theX: Standard_Real): void; - SetY(theY: Standard_Real): void; - SetZ(theZ: Standard_Real): void; - SetXYZ(theCoord: gp_XYZ): void; - Coord_1(theIndex: Graphic3d_ZLayerId): Standard_Real; - Coord_2(theXv: Standard_Real, theYv: Standard_Real, theZv: Standard_Real): void; - X(): Standard_Real; - Y(): Standard_Real; - Z(): Standard_Real; - XYZ(): gp_XYZ; - IsEqual(theOther: gp_Dir, theAngularTolerance: Standard_Real): Standard_Boolean; - IsNormal(theOther: gp_Dir, theAngularTolerance: Standard_Real): Standard_Boolean; - IsOpposite(theOther: gp_Dir, theAngularTolerance: Standard_Real): Standard_Boolean; - IsParallel(theOther: gp_Dir, theAngularTolerance: Standard_Real): Standard_Boolean; - Angle(theOther: gp_Dir): Standard_Real; - AngleWithRef(theOther: gp_Dir, theVRef: gp_Dir): Standard_Real; - Cross(theRight: gp_Dir): void; - Crossed(theRight: gp_Dir): gp_Dir; - CrossCross(theV1: gp_Dir, theV2: gp_Dir): void; - CrossCrossed(theV1: gp_Dir, theV2: gp_Dir): gp_Dir; - Dot(theOther: gp_Dir): Standard_Real; - DotCross(theV1: gp_Dir, theV2: gp_Dir): Standard_Real; - Reverse(): void; - Reversed(): gp_Dir; - Mirror_1(theV: gp_Dir): void; - Mirrored_1(theV: gp_Dir): gp_Dir; - Mirror_2(theA1: gp_Ax1): void; - Mirrored_2(theA1: gp_Ax1): gp_Dir; - Mirror_3(theA2: gp_Ax2): void; - Mirrored_3(theA2: gp_Ax2): gp_Dir; - Rotate(theA1: gp_Ax1, theAng: Standard_Real): void; - Rotated(theA1: gp_Ax1, theAng: Standard_Real): gp_Dir; - Transform(theT: gp_Trsf): void; - Transformed(theT: gp_Trsf): gp_Dir; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - InitFromJson(theSStream: Standard_SStream, theStreamPos: Graphic3d_ZLayerId): Standard_Boolean; - delete(): void; -} - - export declare class gp_Dir_1 extends gp_Dir { - constructor(); - } - - export declare class gp_Dir_2 extends gp_Dir { - constructor(theV: gp_Vec); - } - - export declare class gp_Dir_3 extends gp_Dir { - constructor(theCoord: gp_XYZ); - } - - export declare class gp_Dir_4 extends gp_Dir { - constructor(theXv: Standard_Real, theYv: Standard_Real, theZv: Standard_Real); - } - -export declare class gp_Dir2d { - SetCoord_1(theIndex: Graphic3d_ZLayerId, theXi: Standard_Real): void; - SetCoord_2(theXv: Standard_Real, theYv: Standard_Real): void; - SetX(theX: Standard_Real): void; - SetY(theY: Standard_Real): void; - SetXY(theCoord: gp_XY): void; - Coord_1(theIndex: Graphic3d_ZLayerId): Standard_Real; - Coord_2(theXv: Standard_Real, theYv: Standard_Real): void; - X(): Standard_Real; - Y(): Standard_Real; - XY(): gp_XY; - IsEqual(theOther: gp_Dir2d, theAngularTolerance: Standard_Real): Standard_Boolean; - IsNormal(theOther: gp_Dir2d, theAngularTolerance: Standard_Real): Standard_Boolean; - IsOpposite(theOther: gp_Dir2d, theAngularTolerance: Standard_Real): Standard_Boolean; - IsParallel(theOther: gp_Dir2d, theAngularTolerance: Standard_Real): Standard_Boolean; - Angle(theOther: gp_Dir2d): Standard_Real; - Crossed(theRight: gp_Dir2d): Standard_Real; - Dot(theOther: gp_Dir2d): Standard_Real; - Reverse(): void; - Reversed(): gp_Dir2d; - Mirror_1(theV: gp_Dir2d): void; - Mirrored_1(theV: gp_Dir2d): gp_Dir2d; - Mirror_2(theA: gp_Ax2d): void; - Mirrored_2(theA: gp_Ax2d): gp_Dir2d; - Rotate(Ang: Standard_Real): void; - Rotated(theAng: Standard_Real): gp_Dir2d; - Transform(theT: gp_Trsf2d): void; - Transformed(theT: gp_Trsf2d): gp_Dir2d; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - delete(): void; -} - - export declare class gp_Dir2d_1 extends gp_Dir2d { - constructor(); - } - - export declare class gp_Dir2d_2 extends gp_Dir2d { - constructor(theV: gp_Vec2d); - } - - export declare class gp_Dir2d_3 extends gp_Dir2d { - constructor(theCoord: gp_XY); - } - - export declare class gp_Dir2d_4 extends gp_Dir2d { - constructor(theXv: Standard_Real, theYv: Standard_Real); - } - -export declare class gp_Elips { - SetAxis(theA1: gp_Ax1): void; - SetLocation(theP: gp_Pnt): void; - SetMajorRadius(theMajorRadius: Standard_Real): void; - SetMinorRadius(theMinorRadius: Standard_Real): void; - SetPosition(theA2: gp_Ax2): void; - Area(): Standard_Real; - Axis(): gp_Ax1; - Directrix1(): gp_Ax1; - Directrix2(): gp_Ax1; - Eccentricity(): Standard_Real; - Focal(): Standard_Real; - Focus1(): gp_Pnt; - Focus2(): gp_Pnt; - Location(): gp_Pnt; - MajorRadius(): Standard_Real; - MinorRadius(): Standard_Real; - Parameter(): Standard_Real; - Position(): gp_Ax2; - XAxis(): gp_Ax1; - YAxis(): gp_Ax1; - Mirror_1(theP: gp_Pnt): void; - Mirrored_1(theP: gp_Pnt): gp_Elips; - Mirror_2(theA1: gp_Ax1): void; - Mirrored_2(theA1: gp_Ax1): gp_Elips; - Mirror_3(theA2: gp_Ax2): void; - Mirrored_3(theA2: gp_Ax2): gp_Elips; - Rotate(theA1: gp_Ax1, theAng: Standard_Real): void; - Rotated(theA1: gp_Ax1, theAng: Standard_Real): gp_Elips; - Scale(theP: gp_Pnt, theS: Standard_Real): void; - Scaled(theP: gp_Pnt, theS: Standard_Real): gp_Elips; - Transform(theT: gp_Trsf): void; - Transformed(theT: gp_Trsf): gp_Elips; - Translate_1(theV: gp_Vec): void; - Translated_1(theV: gp_Vec): gp_Elips; - Translate_2(theP1: gp_Pnt, theP2: gp_Pnt): void; - Translated_2(theP1: gp_Pnt, theP2: gp_Pnt): gp_Elips; - delete(): void; -} - - export declare class gp_Elips_1 extends gp_Elips { - constructor(); - } - - export declare class gp_Elips_2 extends gp_Elips { - constructor(theA2: gp_Ax2, theMajorRadius: Standard_Real, theMinorRadius: Standard_Real); - } - -export declare class gp_Elips2d { - SetLocation(theP: gp_Pnt2d): void; - SetMajorRadius(theMajorRadius: Standard_Real): void; - SetMinorRadius(theMinorRadius: Standard_Real): void; - SetAxis(theA: gp_Ax22d): void; - SetXAxis(theA: gp_Ax2d): void; - SetYAxis(theA: gp_Ax2d): void; - Area(): Standard_Real; - Coefficients(theA: Standard_Real, theB: Standard_Real, theC: Standard_Real, theD: Standard_Real, theE: Standard_Real, theF: Standard_Real): void; - Directrix1(): gp_Ax2d; - Directrix2(): gp_Ax2d; - Eccentricity(): Standard_Real; - Focal(): Standard_Real; - Focus1(): gp_Pnt2d; - Focus2(): gp_Pnt2d; - Location(): gp_Pnt2d; - MajorRadius(): Standard_Real; - MinorRadius(): Standard_Real; - Parameter(): Standard_Real; - Axis(): gp_Ax22d; - XAxis(): gp_Ax2d; - YAxis(): gp_Ax2d; - Reverse(): void; - Reversed(): gp_Elips2d; - IsDirect(): Standard_Boolean; - Mirror_1(theP: gp_Pnt2d): void; - Mirrored_1(theP: gp_Pnt2d): gp_Elips2d; - Mirror_2(theA: gp_Ax2d): void; - Mirrored_2(theA: gp_Ax2d): gp_Elips2d; - Rotate(theP: gp_Pnt2d, theAng: Standard_Real): void; - Rotated(theP: gp_Pnt2d, theAng: Standard_Real): gp_Elips2d; - Scale(theP: gp_Pnt2d, theS: Standard_Real): void; - Scaled(theP: gp_Pnt2d, theS: Standard_Real): gp_Elips2d; - Transform(theT: gp_Trsf2d): void; - Transformed(theT: gp_Trsf2d): gp_Elips2d; - Translate_1(theV: gp_Vec2d): void; - Translated_1(theV: gp_Vec2d): gp_Elips2d; - Translate_2(theP1: gp_Pnt2d, theP2: gp_Pnt2d): void; - Translated_2(theP1: gp_Pnt2d, theP2: gp_Pnt2d): gp_Elips2d; - delete(): void; -} - - export declare class gp_Elips2d_1 extends gp_Elips2d { - constructor(); - } - - export declare class gp_Elips2d_2 extends gp_Elips2d { - constructor(theMajorAxis: gp_Ax2d, theMajorRadius: Standard_Real, theMinorRadius: Standard_Real, theIsSense: Standard_Boolean); - } - - export declare class gp_Elips2d_3 extends gp_Elips2d { - constructor(theA: gp_Ax22d, theMajorRadius: Standard_Real, theMinorRadius: Standard_Real); - } - -export declare class gp_GTrsf { - SetAffinity_1(theA1: gp_Ax1, theRatio: Standard_Real): void; - SetAffinity_2(theA2: gp_Ax2, theRatio: Standard_Real): void; - SetValue(theRow: Graphic3d_ZLayerId, theCol: Graphic3d_ZLayerId, theValue: Standard_Real): void; - SetVectorialPart(theMatrix: gp_Mat): void; - SetTranslationPart(theCoord: gp_XYZ): void; - SetTrsf(theT: gp_Trsf): void; - IsNegative(): Standard_Boolean; - IsSingular(): Standard_Boolean; - Form(): gp_TrsfForm; - SetForm(): void; - TranslationPart(): gp_XYZ; - VectorialPart(): gp_Mat; - Value(theRow: Graphic3d_ZLayerId, theCol: Graphic3d_ZLayerId): Standard_Real; - Invert(): void; - Inverted(): gp_GTrsf; - Multiplied(theT: gp_GTrsf): gp_GTrsf; - Multiply(theT: gp_GTrsf): void; - PreMultiply(theT: gp_GTrsf): void; - Power(theN: Graphic3d_ZLayerId): void; - Powered(theN: Graphic3d_ZLayerId): gp_GTrsf; - Transforms_1(theCoord: gp_XYZ): void; - Transforms_2(theX: Standard_Real, theY: Standard_Real, theZ: Standard_Real): void; - Trsf(): gp_Trsf; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - delete(): void; -} - - export declare class gp_GTrsf_1 extends gp_GTrsf { - constructor(); - } - - export declare class gp_GTrsf_2 extends gp_GTrsf { - constructor(theT: gp_Trsf); - } - - export declare class gp_GTrsf_3 extends gp_GTrsf { - constructor(theM: gp_Mat, theV: gp_XYZ); - } - -export declare class gp_GTrsf2d { - SetAffinity(theA: gp_Ax2d, theRatio: Standard_Real): void; - SetValue(theRow: Graphic3d_ZLayerId, theCol: Graphic3d_ZLayerId, theValue: Standard_Real): void; - SetTranslationPart(theCoord: gp_XY): void; - SetTrsf2d(theT: gp_Trsf2d): void; - SetVectorialPart(theMatrix: gp_Mat2d): void; - IsNegative(): Standard_Boolean; - IsSingular(): Standard_Boolean; - Form(): gp_TrsfForm; - TranslationPart(): gp_XY; - VectorialPart(): gp_Mat2d; - Value(theRow: Graphic3d_ZLayerId, theCol: Graphic3d_ZLayerId): Standard_Real; - Invert(): void; - Inverted(): gp_GTrsf2d; - Multiplied(theT: gp_GTrsf2d): gp_GTrsf2d; - Multiply(theT: gp_GTrsf2d): void; - PreMultiply(theT: gp_GTrsf2d): void; - Power(theN: Graphic3d_ZLayerId): void; - Powered(theN: Graphic3d_ZLayerId): gp_GTrsf2d; - Transforms_1(theCoord: gp_XY): void; - Transformed(theCoord: gp_XY): gp_XY; - Transforms_2(theX: Standard_Real, theY: Standard_Real): void; - Trsf2d(): gp_Trsf2d; - delete(): void; -} - - export declare class gp_GTrsf2d_1 extends gp_GTrsf2d { - constructor(); - } - - export declare class gp_GTrsf2d_2 extends gp_GTrsf2d { - constructor(theT: gp_Trsf2d); - } - - export declare class gp_GTrsf2d_3 extends gp_GTrsf2d { - constructor(theM: gp_Mat2d, theV: gp_XY); - } - -export declare class gp_Pnt { - SetCoord_1(theIndex: Graphic3d_ZLayerId, theXi: Standard_Real): void; - SetCoord_2(theXp: Standard_Real, theYp: Standard_Real, theZp: Standard_Real): void; - SetX(theX: Standard_Real): void; - SetY(theY: Standard_Real): void; - SetZ(theZ: Standard_Real): void; - SetXYZ(theCoord: gp_XYZ): void; - Coord_1(theIndex: Graphic3d_ZLayerId): Standard_Real; - Coord_2(theXp: Standard_Real, theYp: Standard_Real, theZp: Standard_Real): void; - X(): Standard_Real; - Y(): Standard_Real; - Z(): Standard_Real; - XYZ(): gp_XYZ; - Coord_3(): gp_XYZ; - ChangeCoord(): gp_XYZ; - BaryCenter(theAlpha: Standard_Real, theP: gp_Pnt, theBeta: Standard_Real): void; - IsEqual(theOther: gp_Pnt, theLinearTolerance: Standard_Real): Standard_Boolean; - Distance(theOther: gp_Pnt): Standard_Real; - SquareDistance(theOther: gp_Pnt): Standard_Real; - Mirror_1(theP: gp_Pnt): void; - Mirrored_1(theP: gp_Pnt): gp_Pnt; - Mirror_2(theA1: gp_Ax1): void; - Mirrored_2(theA1: gp_Ax1): gp_Pnt; - Mirror_3(theA2: gp_Ax2): void; - Mirrored_3(theA2: gp_Ax2): gp_Pnt; - Rotate(theA1: gp_Ax1, theAng: Standard_Real): void; - Rotated(theA1: gp_Ax1, theAng: Standard_Real): gp_Pnt; - Scale(theP: gp_Pnt, theS: Standard_Real): void; - Scaled(theP: gp_Pnt, theS: Standard_Real): gp_Pnt; - Transform(theT: gp_Trsf): void; - Transformed(theT: gp_Trsf): gp_Pnt; - Translate_1(theV: gp_Vec): void; - Translated_1(theV: gp_Vec): gp_Pnt; - Translate_2(theP1: gp_Pnt, theP2: gp_Pnt): void; - Translated_2(theP1: gp_Pnt, theP2: gp_Pnt): gp_Pnt; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - InitFromJson(theSStream: Standard_SStream, theStreamPos: Graphic3d_ZLayerId): Standard_Boolean; - delete(): void; -} - - export declare class gp_Pnt_1 extends gp_Pnt { - constructor(); - } - - export declare class gp_Pnt_2 extends gp_Pnt { - constructor(theCoord: gp_XYZ); - } - - export declare class gp_Pnt_3 extends gp_Pnt { - constructor(theXp: Standard_Real, theYp: Standard_Real, theZp: Standard_Real); - } - -export declare class gp_Pnt2d { - SetCoord_1(theIndex: Graphic3d_ZLayerId, theXi: Standard_Real): void; - SetCoord_2(theXp: Standard_Real, theYp: Standard_Real): void; - SetX(theX: Standard_Real): void; - SetY(theY: Standard_Real): void; - SetXY(theCoord: gp_XY): void; - Coord_1(theIndex: Graphic3d_ZLayerId): Standard_Real; - Coord_2(theXp: Standard_Real, theYp: Standard_Real): void; - X(): Standard_Real; - Y(): Standard_Real; - XY(): gp_XY; - Coord_3(): gp_XY; - ChangeCoord(): gp_XY; - IsEqual(theOther: gp_Pnt2d, theLinearTolerance: Standard_Real): Standard_Boolean; - Distance(theOther: gp_Pnt2d): Standard_Real; - SquareDistance(theOther: gp_Pnt2d): Standard_Real; - Mirror_1(theP: gp_Pnt2d): void; - Mirrored_1(theP: gp_Pnt2d): gp_Pnt2d; - Mirror_2(theA: gp_Ax2d): void; - Mirrored_2(theA: gp_Ax2d): gp_Pnt2d; - Rotate(theP: gp_Pnt2d, theAng: Standard_Real): void; - Rotated(theP: gp_Pnt2d, theAng: Standard_Real): gp_Pnt2d; - Scale(theP: gp_Pnt2d, theS: Standard_Real): void; - Scaled(theP: gp_Pnt2d, theS: Standard_Real): gp_Pnt2d; - Transform(theT: gp_Trsf2d): void; - Transformed(theT: gp_Trsf2d): gp_Pnt2d; - Translate_1(theV: gp_Vec2d): void; - Translated_1(theV: gp_Vec2d): gp_Pnt2d; - Translate_2(theP1: gp_Pnt2d, theP2: gp_Pnt2d): void; - Translated_2(theP1: gp_Pnt2d, theP2: gp_Pnt2d): gp_Pnt2d; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - delete(): void; -} - - export declare class gp_Pnt2d_1 extends gp_Pnt2d { - constructor(); - } - - export declare class gp_Pnt2d_2 extends gp_Pnt2d { - constructor(theCoord: gp_XY); - } - - export declare class gp_Pnt2d_3 extends gp_Pnt2d { - constructor(theXp: Standard_Real, theYp: Standard_Real); - } - -export declare class gp_Trsf { - SetMirror_1(theP: gp_Pnt): void; - SetMirror_2(theA1: gp_Ax1): void; - SetMirror_3(theA2: gp_Ax2): void; - SetRotation_1(theA1: gp_Ax1, theAng: Standard_Real): void; - SetRotation_2(theR: gp_Quaternion): void; - SetRotationPart(theR: gp_Quaternion): void; - SetScale(theP: gp_Pnt, theS: Standard_Real): void; - SetDisplacement(theFromSystem1: gp_Ax3, theToSystem2: gp_Ax3): void; - SetTransformation_1(theFromSystem1: gp_Ax3, theToSystem2: gp_Ax3): void; - SetTransformation_2(theToSystem: gp_Ax3): void; - SetTransformation_3(R: gp_Quaternion, theT: gp_Vec): void; - SetTranslation_1(theV: gp_Vec): void; - SetTranslation_2(theP1: gp_Pnt, theP2: gp_Pnt): void; - SetTranslationPart(theV: gp_Vec): void; - SetScaleFactor(theS: Standard_Real): void; - SetForm(theP: gp_TrsfForm): void; - SetValues(a11: Standard_Real, a12: Standard_Real, a13: Standard_Real, a14: Standard_Real, a21: Standard_Real, a22: Standard_Real, a23: Standard_Real, a24: Standard_Real, a31: Standard_Real, a32: Standard_Real, a33: Standard_Real, a34: Standard_Real): void; - IsNegative(): Standard_Boolean; - Form(): gp_TrsfForm; - ScaleFactor(): Standard_Real; - TranslationPart(): gp_XYZ; - GetRotation_1(theAxis: gp_XYZ, theAngle: Standard_Real): Standard_Boolean; - GetRotation_2(): gp_Quaternion; - VectorialPart(): gp_Mat; - HVectorialPart(): gp_Mat; - Value(theRow: Graphic3d_ZLayerId, theCol: Graphic3d_ZLayerId): Standard_Real; - Invert(): void; - Inverted(): gp_Trsf; - Multiplied(theT: gp_Trsf): gp_Trsf; - Multiply(theT: gp_Trsf): void; - PreMultiply(theT: gp_Trsf): void; - Power(theN: Graphic3d_ZLayerId): void; - Powered(theN: Graphic3d_ZLayerId): gp_Trsf; - Transforms_1(theX: Standard_Real, theY: Standard_Real, theZ: Standard_Real): void; - Transforms_2(theCoord: gp_XYZ): void; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - InitFromJson(theSStream: Standard_SStream, theStreamPos: Graphic3d_ZLayerId): Standard_Boolean; - delete(): void; -} - - export declare class gp_Trsf_1 extends gp_Trsf { - constructor(); - } - - export declare class gp_Trsf_2 extends gp_Trsf { - constructor(theT: gp_Trsf2d); - } - -export declare class gp_Trsf2d { - SetMirror_1(theP: gp_Pnt2d): void; - SetMirror_2(theA: gp_Ax2d): void; - SetRotation(theP: gp_Pnt2d, theAng: Standard_Real): void; - SetScale(theP: gp_Pnt2d, theS: Standard_Real): void; - SetTransformation_1(theFromSystem1: gp_Ax2d, theToSystem2: gp_Ax2d): void; - SetTransformation_2(theToSystem: gp_Ax2d): void; - SetTranslation_1(theV: gp_Vec2d): void; - SetTranslation_2(theP1: gp_Pnt2d, theP2: gp_Pnt2d): void; - SetTranslationPart(theV: gp_Vec2d): void; - SetScaleFactor(theS: Standard_Real): void; - IsNegative(): Standard_Boolean; - Form(): gp_TrsfForm; - ScaleFactor(): Standard_Real; - TranslationPart(): gp_XY; - VectorialPart(): gp_Mat2d; - HVectorialPart(): gp_Mat2d; - RotationPart(): Standard_Real; - Value(theRow: Graphic3d_ZLayerId, theCol: Graphic3d_ZLayerId): Standard_Real; - Invert(): void; - Inverted(): gp_Trsf2d; - Multiplied(theT: gp_Trsf2d): gp_Trsf2d; - Multiply(theT: gp_Trsf2d): void; - PreMultiply(theT: gp_Trsf2d): void; - Power(theN: Graphic3d_ZLayerId): void; - Powered(theN: Graphic3d_ZLayerId): gp_Trsf2d; - Transforms_1(theX: Standard_Real, theY: Standard_Real): void; - Transforms_2(theCoord: gp_XY): void; - SetValues(a11: Standard_Real, a12: Standard_Real, a13: Standard_Real, a21: Standard_Real, a22: Standard_Real, a23: Standard_Real): void; - delete(): void; -} - - export declare class gp_Trsf2d_1 extends gp_Trsf2d { - constructor(); - } - - export declare class gp_Trsf2d_2 extends gp_Trsf2d { - constructor(theT: gp_Trsf); - } - -export declare class gp_Vec { - SetCoord_1(theIndex: Graphic3d_ZLayerId, theXi: Standard_Real): void; - SetCoord_2(theXv: Standard_Real, theYv: Standard_Real, theZv: Standard_Real): void; - SetX(theX: Standard_Real): void; - SetY(theY: Standard_Real): void; - SetZ(theZ: Standard_Real): void; - SetXYZ(theCoord: gp_XYZ): void; - Coord_1(theIndex: Graphic3d_ZLayerId): Standard_Real; - Coord_2(theXv: Standard_Real, theYv: Standard_Real, theZv: Standard_Real): void; - X(): Standard_Real; - Y(): Standard_Real; - Z(): Standard_Real; - XYZ(): gp_XYZ; - IsEqual(theOther: gp_Vec, theLinearTolerance: Standard_Real, theAngularTolerance: Standard_Real): Standard_Boolean; - IsNormal(theOther: gp_Vec, theAngularTolerance: Standard_Real): Standard_Boolean; - IsOpposite(theOther: gp_Vec, theAngularTolerance: Standard_Real): Standard_Boolean; - IsParallel(theOther: gp_Vec, theAngularTolerance: Standard_Real): Standard_Boolean; - Angle(theOther: gp_Vec): Standard_Real; - AngleWithRef(theOther: gp_Vec, theVRef: gp_Vec): Standard_Real; - Magnitude(): Standard_Real; - SquareMagnitude(): Standard_Real; - Add(theOther: gp_Vec): void; - Added(theOther: gp_Vec): gp_Vec; - Subtract(theRight: gp_Vec): void; - Subtracted(theRight: gp_Vec): gp_Vec; - Multiply(theScalar: Standard_Real): void; - Multiplied(theScalar: Standard_Real): gp_Vec; - Divide(theScalar: Standard_Real): void; - Divided(theScalar: Standard_Real): gp_Vec; - Cross(theRight: gp_Vec): void; - Crossed(theRight: gp_Vec): gp_Vec; - CrossMagnitude(theRight: gp_Vec): Standard_Real; - CrossSquareMagnitude(theRight: gp_Vec): Standard_Real; - CrossCross(theV1: gp_Vec, theV2: gp_Vec): void; - CrossCrossed(theV1: gp_Vec, theV2: gp_Vec): gp_Vec; - Dot(theOther: gp_Vec): Standard_Real; - DotCross(theV1: gp_Vec, theV2: gp_Vec): Standard_Real; - Normalize(): void; - Normalized(): gp_Vec; - Reverse(): void; - Reversed(): gp_Vec; - SetLinearForm_1(theA1: Standard_Real, theV1: gp_Vec, theA2: Standard_Real, theV2: gp_Vec, theA3: Standard_Real, theV3: gp_Vec, theV4: gp_Vec): void; - SetLinearForm_2(theA1: Standard_Real, theV1: gp_Vec, theA2: Standard_Real, theV2: gp_Vec, theA3: Standard_Real, theV3: gp_Vec): void; - SetLinearForm_3(theA1: Standard_Real, theV1: gp_Vec, theA2: Standard_Real, theV2: gp_Vec, theV3: gp_Vec): void; - SetLinearForm_4(theA1: Standard_Real, theV1: gp_Vec, theA2: Standard_Real, theV2: gp_Vec): void; - SetLinearForm_5(theA1: Standard_Real, theV1: gp_Vec, theV2: gp_Vec): void; - SetLinearForm_6(theV1: gp_Vec, theV2: gp_Vec): void; - Mirror_1(theV: gp_Vec): void; - Mirrored_1(theV: gp_Vec): gp_Vec; - Mirror_2(theA1: gp_Ax1): void; - Mirrored_2(theA1: gp_Ax1): gp_Vec; - Mirror_3(theA2: gp_Ax2): void; - Mirrored_3(theA2: gp_Ax2): gp_Vec; - Rotate(theA1: gp_Ax1, theAng: Standard_Real): void; - Rotated(theA1: gp_Ax1, theAng: Standard_Real): gp_Vec; - Scale(theS: Standard_Real): void; - Scaled(theS: Standard_Real): gp_Vec; - Transform(theT: gp_Trsf): void; - Transformed(theT: gp_Trsf): gp_Vec; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - delete(): void; -} - - export declare class gp_Vec_1 extends gp_Vec { - constructor(); - } - - export declare class gp_Vec_2 extends gp_Vec { - constructor(theV: gp_Dir); - } - - export declare class gp_Vec_3 extends gp_Vec { - constructor(theCoord: gp_XYZ); - } - - export declare class gp_Vec_4 extends gp_Vec { - constructor(theXv: Standard_Real, theYv: Standard_Real, theZv: Standard_Real); - } - - export declare class gp_Vec_5 extends gp_Vec { - constructor(theP1: gp_Pnt, theP2: gp_Pnt); - } - -export declare class gp_Vec2d { - SetCoord_1(theIndex: Graphic3d_ZLayerId, theXi: Standard_Real): void; - SetCoord_2(theXv: Standard_Real, theYv: Standard_Real): void; - SetX(theX: Standard_Real): void; - SetY(theY: Standard_Real): void; - SetXY(theCoord: gp_XY): void; - Coord_1(theIndex: Graphic3d_ZLayerId): Standard_Real; - Coord_2(theXv: Standard_Real, theYv: Standard_Real): void; - X(): Standard_Real; - Y(): Standard_Real; - XY(): gp_XY; - IsEqual(theOther: gp_Vec2d, theLinearTolerance: Standard_Real, theAngularTolerance: Standard_Real): Standard_Boolean; - IsNormal(theOther: gp_Vec2d, theAngularTolerance: Standard_Real): Standard_Boolean; - IsOpposite(theOther: gp_Vec2d, theAngularTolerance: Standard_Real): Standard_Boolean; - IsParallel(theOther: gp_Vec2d, theAngularTolerance: Standard_Real): Standard_Boolean; - Angle(theOther: gp_Vec2d): Standard_Real; - Magnitude(): Standard_Real; - SquareMagnitude(): Standard_Real; - Add(theOther: gp_Vec2d): void; - Added(theOther: gp_Vec2d): gp_Vec2d; - Crossed(theRight: gp_Vec2d): Standard_Real; - CrossMagnitude(theRight: gp_Vec2d): Standard_Real; - CrossSquareMagnitude(theRight: gp_Vec2d): Standard_Real; - Divide(theScalar: Standard_Real): void; - Divided(theScalar: Standard_Real): gp_Vec2d; - Dot(theOther: gp_Vec2d): Standard_Real; - GetNormal(): gp_Vec2d; - Multiply(theScalar: Standard_Real): void; - Multiplied(theScalar: Standard_Real): gp_Vec2d; - Normalize(): void; - Normalized(): gp_Vec2d; - Reverse(): void; - Reversed(): gp_Vec2d; - Subtract(theRight: gp_Vec2d): void; - Subtracted(theRight: gp_Vec2d): gp_Vec2d; - SetLinearForm_1(theA1: Standard_Real, theV1: gp_Vec2d, theA2: Standard_Real, theV2: gp_Vec2d, theV3: gp_Vec2d): void; - SetLinearForm_2(theA1: Standard_Real, theV1: gp_Vec2d, theA2: Standard_Real, theV2: gp_Vec2d): void; - SetLinearForm_3(theA1: Standard_Real, theV1: gp_Vec2d, theV2: gp_Vec2d): void; - SetLinearForm_4(theV1: gp_Vec2d, theV2: gp_Vec2d): void; - Mirror_1(theV: gp_Vec2d): void; - Mirrored_1(theV: gp_Vec2d): gp_Vec2d; - Mirror_2(theA1: gp_Ax2d): void; - Mirrored_2(theA1: gp_Ax2d): gp_Vec2d; - Rotate(theAng: Standard_Real): void; - Rotated(theAng: Standard_Real): gp_Vec2d; - Scale(theS: Standard_Real): void; - Scaled(theS: Standard_Real): gp_Vec2d; - Transform(theT: gp_Trsf2d): void; - Transformed(theT: gp_Trsf2d): gp_Vec2d; - delete(): void; -} - - export declare class gp_Vec2d_1 extends gp_Vec2d { - constructor(); - } - - export declare class gp_Vec2d_2 extends gp_Vec2d { - constructor(theV: gp_Dir2d); - } - - export declare class gp_Vec2d_3 extends gp_Vec2d { - constructor(theCoord: gp_XY); - } - - export declare class gp_Vec2d_4 extends gp_Vec2d { - constructor(theXv: Standard_Real, theYv: Standard_Real); - } - - export declare class gp_Vec2d_5 extends gp_Vec2d { - constructor(theP1: gp_Pnt2d, theP2: gp_Pnt2d); - } - -export declare class gp_XY { - SetCoord_1(theIndex: Graphic3d_ZLayerId, theXi: Standard_Real): void; - SetCoord_2(theX: Standard_Real, theY: Standard_Real): void; - SetX(theX: Standard_Real): void; - SetY(theY: Standard_Real): void; - Coord_1(theIndex: Graphic3d_ZLayerId): Standard_Real; - ChangeCoord(theIndex: Graphic3d_ZLayerId): Standard_Real; - Coord_2(theX: Standard_Real, theY: Standard_Real): void; - X(): Standard_Real; - Y(): Standard_Real; - Modulus(): Standard_Real; - SquareModulus(): Standard_Real; - IsEqual(theOther: gp_XY, theTolerance: Standard_Real): Standard_Boolean; - Add(theOther: gp_XY): void; - Added(theOther: gp_XY): gp_XY; - Crossed(theOther: gp_XY): Standard_Real; - CrossMagnitude(theRight: gp_XY): Standard_Real; - CrossSquareMagnitude(theRight: gp_XY): Standard_Real; - Divide(theScalar: Standard_Real): void; - Divided(theScalar: Standard_Real): gp_XY; - Dot(theOther: gp_XY): Standard_Real; - Multiply_1(theScalar: Standard_Real): void; - Multiply_2(theOther: gp_XY): void; - Multiply_3(theMatrix: gp_Mat2d): void; - Multiplied_1(theScalar: Standard_Real): gp_XY; - Multiplied_2(theOther: gp_XY): gp_XY; - Multiplied_3(theMatrix: gp_Mat2d): gp_XY; - Normalize(): void; - Normalized(): gp_XY; - Reverse(): void; - Reversed(): gp_XY; - SetLinearForm_1(theA1: Standard_Real, theXY1: gp_XY, theA2: Standard_Real, theXY2: gp_XY): void; - SetLinearForm_2(theA1: Standard_Real, theXY1: gp_XY, theA2: Standard_Real, theXY2: gp_XY, theXY3: gp_XY): void; - SetLinearForm_3(theA1: Standard_Real, theXY1: gp_XY, theXY2: gp_XY): void; - SetLinearForm_4(theXY1: gp_XY, theXY2: gp_XY): void; - Subtract(theOther: gp_XY): void; - Subtracted(theOther: gp_XY): gp_XY; - delete(): void; -} - - export declare class gp_XY_1 extends gp_XY { - constructor(); - } - - export declare class gp_XY_2 extends gp_XY { - constructor(theX: Standard_Real, theY: Standard_Real); - } - -export declare class gp_XYZ { - SetCoord_1(theX: Standard_Real, theY: Standard_Real, theZ: Standard_Real): void; - SetCoord_2(theIndex: Graphic3d_ZLayerId, theXi: Standard_Real): void; - SetX(theX: Standard_Real): void; - SetY(theY: Standard_Real): void; - SetZ(theZ: Standard_Real): void; - Coord_1(theIndex: Graphic3d_ZLayerId): Standard_Real; - ChangeCoord(theIndex: Graphic3d_ZLayerId): Standard_Real; - Coord_2(theX: Standard_Real, theY: Standard_Real, theZ: Standard_Real): void; - GetData(): Standard_Real; - ChangeData(): Standard_Real; - X(): Standard_Real; - Y(): Standard_Real; - Z(): Standard_Real; - Modulus(): Standard_Real; - SquareModulus(): Standard_Real; - IsEqual(theOther: gp_XYZ, theTolerance: Standard_Real): Standard_Boolean; - Add(theOther: gp_XYZ): void; - Added(theOther: gp_XYZ): gp_XYZ; - Cross(theOther: gp_XYZ): void; - Crossed(theOther: gp_XYZ): gp_XYZ; - CrossMagnitude(theRight: gp_XYZ): Standard_Real; - CrossSquareMagnitude(theRight: gp_XYZ): Standard_Real; - CrossCross(theCoord1: gp_XYZ, theCoord2: gp_XYZ): void; - CrossCrossed(theCoord1: gp_XYZ, theCoord2: gp_XYZ): gp_XYZ; - Divide(theScalar: Standard_Real): void; - Divided(theScalar: Standard_Real): gp_XYZ; - Dot(theOther: gp_XYZ): Standard_Real; - DotCross(theCoord1: gp_XYZ, theCoord2: gp_XYZ): Standard_Real; - Multiply_1(theScalar: Standard_Real): void; - Multiply_2(theOther: gp_XYZ): void; - Multiply_3(theMatrix: gp_Mat): void; - Multiplied_1(theScalar: Standard_Real): gp_XYZ; - Multiplied_2(theOther: gp_XYZ): gp_XYZ; - Multiplied_3(theMatrix: gp_Mat): gp_XYZ; - Normalize(): void; - Normalized(): gp_XYZ; - Reverse(): void; - Reversed(): gp_XYZ; - Subtract(theOther: gp_XYZ): void; - Subtracted(theOther: gp_XYZ): gp_XYZ; - SetLinearForm_1(theA1: Standard_Real, theXYZ1: gp_XYZ, theA2: Standard_Real, theXYZ2: gp_XYZ, theA3: Standard_Real, theXYZ3: gp_XYZ, theXYZ4: gp_XYZ): void; - SetLinearForm_2(theA1: Standard_Real, theXYZ1: gp_XYZ, theA2: Standard_Real, theXYZ2: gp_XYZ, theA3: Standard_Real, theXYZ3: gp_XYZ): void; - SetLinearForm_3(theA1: Standard_Real, theXYZ1: gp_XYZ, theA2: Standard_Real, theXYZ2: gp_XYZ, theXYZ3: gp_XYZ): void; - SetLinearForm_4(theA1: Standard_Real, theXYZ1: gp_XYZ, theA2: Standard_Real, theXYZ2: gp_XYZ): void; - SetLinearForm_5(theA1: Standard_Real, theXYZ1: gp_XYZ, theXYZ2: gp_XYZ): void; - SetLinearForm_6(theXYZ1: gp_XYZ, theXYZ2: gp_XYZ): void; - DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void; - InitFromJson(theSStream: Standard_SStream, theStreamPos: Graphic3d_ZLayerId): Standard_Boolean; - delete(): void; -} - - export declare class gp_XYZ_1 extends gp_XYZ { - constructor(); - } - - export declare class gp_XYZ_2 extends gp_XYZ { - constructor(theX: Standard_Real, theY: Standard_Real, theZ: Standard_Real); - } - -type Standard_Boolean = boolean; -type Standard_Byte = number; -type Standard_Character = number; -type Standard_CString = string; -type Standard_Integer = number; -type Standard_Real = number; -type Standard_ShortReal = number; -type Standard_Size = number; - -declare namespace FS { - interface Lookup { - path: string; - node: FSNode; - } - - interface FSStream {} - interface FSNode {} - interface ErrnoError {} - - let ignorePermissions: boolean; - let trackingDelegate: any; - let tracking: any; - let genericErrors: any; - - // - // paths - // - function lookupPath(path: string, opts: any): Lookup; - function getPath(node: FSNode): string; - - // - // nodes - // - function isFile(mode: number): boolean; - function isDir(mode: number): boolean; - function isLink(mode: number): boolean; - function isChrdev(mode: number): boolean; - function isBlkdev(mode: number): boolean; - function isFIFO(mode: number): boolean; - function isSocket(mode: number): boolean; - - // - // devices - // - function major(dev: number): number; - function minor(dev: number): number; - function makedev(ma: number, mi: number): number; - function registerDevice(dev: number, ops: any): void; - - // - // core - // - function syncfs(populate: boolean, callback: (e: any) => any): void; - function syncfs(callback: (e: any) => any, populate?: boolean): void; - function mount(type: any, opts: any, mountpoint: string): any; - function unmount(mountpoint: string): void; - - function mkdir(path: string, mode?: number): any; - function mkdev(path: string, mode?: number, dev?: number): any; - function symlink(oldpath: string, newpath: string): any; - function rename(old_path: string, new_path: string): void; - function rmdir(path: string): void; - function readdir(path: string): any; - function unlink(path: string): void; - function readlink(path: string): string; - function stat(path: string, dontFollow?: boolean): any; - function lstat(path: string): any; - function chmod(path: string, mode: number, dontFollow?: boolean): void; - function lchmod(path: string, mode: number): void; - function fchmod(fd: number, mode: number): void; - function chown(path: string, uid: number, gid: number, dontFollow?: boolean): void; - function lchown(path: string, uid: number, gid: number): void; - function fchown(fd: number, uid: number, gid: number): void; - function truncate(path: string, len: number): void; - function ftruncate(fd: number, len: number): void; - function utime(path: string, atime: number, mtime: number): void; - function open(path: string, flags: string, mode?: number, fd_start?: number, fd_end?: number): FSStream; - function close(stream: FSStream): void; - function llseek(stream: FSStream, offset: number, whence: number): any; - function read(stream: FSStream, buffer: ArrayBufferView, offset: number, length: number, position?: number): number; - function write( - stream: FSStream, - buffer: ArrayBufferView, - offset: number, - length: number, - position?: number, - canOwn?: boolean, - ): number; - function allocate(stream: FSStream, offset: number, length: number): void; - function mmap( - stream: FSStream, - buffer: ArrayBufferView, - offset: number, - length: number, - position: number, - prot: number, - flags: number, - ): any; - function ioctl(stream: FSStream, cmd: any, arg: any): any; - function readFile(path: string, opts: { encoding: 'binary'; flags?: string }): Uint8Array; - function readFile(path: string, opts: { encoding: 'utf8'; flags?: string }): string; - function readFile(path: string, opts?: { flags?: string }): Uint8Array; - function writeFile(path: string, data: string | ArrayBufferView, opts?: { flags?: string }): void; - - // - // module-level FS code - // - function cwd(): string; - function chdir(path: string): void; - function init( - input: null | (() => number | null), - output: null | ((c: number) => any), - error: null | ((c: number) => any), - ): void; - - function createLazyFile( - parent: string | FSNode, - name: string, - url: string, - canRead: boolean, - canWrite: boolean, - ): FSNode; - function createPreloadedFile( - parent: string | FSNode, - name: string, - url: string, - canRead: boolean, - canWrite: boolean, - onload?: () => void, - onerror?: () => void, - dontCreateFile?: boolean, - canOwn?: boolean, - ): void; - function createDataFile( - parent: string | FSNode, - name: string, - data: ArrayBufferView | string, - canRead: boolean, - canWrite: boolean, - canOwn: boolean, - ): FSNode; - interface AnalysisResults { - isRoot: boolean, - exists: boolean, - error: Error, - name: string, - path: any, - object: any, - parentExists: boolean, - parentPath: any, - parentObject: any - } - function analyzePath(path: string): AnalysisResults; -} - - -export type OpenCascadeInstance = {FS: typeof FS} & { - Adaptor2d_Curve2d: typeof Adaptor2d_Curve2d; - Handle_Adaptor2d_Curve2d: typeof Handle_Adaptor2d_Curve2d; - Handle_Adaptor2d_Curve2d_1: typeof Handle_Adaptor2d_Curve2d_1; - Handle_Adaptor2d_Curve2d_2: typeof Handle_Adaptor2d_Curve2d_2; - Handle_Adaptor2d_Curve2d_3: typeof Handle_Adaptor2d_Curve2d_3; - Handle_Adaptor2d_Curve2d_4: typeof Handle_Adaptor2d_Curve2d_4; - Adaptor3d_Curve: typeof Adaptor3d_Curve; - Adaptor3d_Surface: typeof Adaptor3d_Surface; - BOPAlgo_GlueEnum: BOPAlgo_GlueEnum; - BOPAlgo_Options: typeof BOPAlgo_Options; - BOPAlgo_Options_1: typeof BOPAlgo_Options_1; - BOPAlgo_Options_2: typeof BOPAlgo_Options_2; - BRep_Tool: typeof BRep_Tool; - BRepAdaptor_CompCurve: typeof BRepAdaptor_CompCurve; - BRepAdaptor_CompCurve_1: typeof BRepAdaptor_CompCurve_1; - BRepAdaptor_CompCurve_2: typeof BRepAdaptor_CompCurve_2; - BRepAdaptor_CompCurve_3: typeof BRepAdaptor_CompCurve_3; - BRepAdaptor_Curve: typeof BRepAdaptor_Curve; - BRepAdaptor_Curve_1: typeof BRepAdaptor_Curve_1; - BRepAdaptor_Curve_2: typeof BRepAdaptor_Curve_2; - BRepAdaptor_Curve_3: typeof BRepAdaptor_Curve_3; - BRepAdaptor_Curve2d: typeof BRepAdaptor_Curve2d; - BRepAdaptor_Curve2d_1: typeof BRepAdaptor_Curve2d_1; - BRepAdaptor_Curve2d_2: typeof BRepAdaptor_Curve2d_2; - BRepAdaptor_Surface: typeof BRepAdaptor_Surface; - BRepAdaptor_Surface_1: typeof BRepAdaptor_Surface_1; - BRepAdaptor_Surface_2: typeof BRepAdaptor_Surface_2; - BRepAlgoAPI_Algo: typeof BRepAlgoAPI_Algo; - BRepAlgoAPI_BooleanOperation: typeof BRepAlgoAPI_BooleanOperation; - BRepAlgoAPI_BooleanOperation_1: typeof BRepAlgoAPI_BooleanOperation_1; - BRepAlgoAPI_BooleanOperation_2: typeof BRepAlgoAPI_BooleanOperation_2; - BRepAlgoAPI_BuilderAlgo: typeof BRepAlgoAPI_BuilderAlgo; - BRepAlgoAPI_BuilderAlgo_1: typeof BRepAlgoAPI_BuilderAlgo_1; - BRepAlgoAPI_BuilderAlgo_2: typeof BRepAlgoAPI_BuilderAlgo_2; - BRepAlgoAPI_Common: typeof BRepAlgoAPI_Common; - BRepAlgoAPI_Common_1: typeof BRepAlgoAPI_Common_1; - BRepAlgoAPI_Common_2: typeof BRepAlgoAPI_Common_2; - BRepAlgoAPI_Common_3: typeof BRepAlgoAPI_Common_3; - BRepAlgoAPI_Common_4: typeof BRepAlgoAPI_Common_4; - BRepAlgoAPI_Cut: typeof BRepAlgoAPI_Cut; - BRepAlgoAPI_Cut_1: typeof BRepAlgoAPI_Cut_1; - BRepAlgoAPI_Cut_2: typeof BRepAlgoAPI_Cut_2; - BRepAlgoAPI_Cut_3: typeof BRepAlgoAPI_Cut_3; - BRepAlgoAPI_Cut_4: typeof BRepAlgoAPI_Cut_4; - BRepAlgoAPI_Fuse: typeof BRepAlgoAPI_Fuse; - BRepAlgoAPI_Fuse_1: typeof BRepAlgoAPI_Fuse_1; - BRepAlgoAPI_Fuse_2: typeof BRepAlgoAPI_Fuse_2; - BRepAlgoAPI_Fuse_3: typeof BRepAlgoAPI_Fuse_3; - BRepAlgoAPI_Fuse_4: typeof BRepAlgoAPI_Fuse_4; - BRepAlgoAPI_Section: typeof BRepAlgoAPI_Section; - BRepAlgoAPI_Section_1: typeof BRepAlgoAPI_Section_1; - BRepAlgoAPI_Section_2: typeof BRepAlgoAPI_Section_2; - BRepAlgoAPI_Section_3: typeof BRepAlgoAPI_Section_3; - BRepAlgoAPI_Section_4: typeof BRepAlgoAPI_Section_4; - BRepAlgoAPI_Section_5: typeof BRepAlgoAPI_Section_5; - BRepAlgoAPI_Section_6: typeof BRepAlgoAPI_Section_6; - BRepAlgoAPI_Section_7: typeof BRepAlgoAPI_Section_7; - BRepAlgoAPI_Section_8: typeof BRepAlgoAPI_Section_8; - BRepBndLib: typeof BRepBndLib; - BRepBuilderAPI_Command: typeof BRepBuilderAPI_Command; - BRepBuilderAPI_MakeEdge: typeof BRepBuilderAPI_MakeEdge; - BRepBuilderAPI_MakeEdge_1: typeof BRepBuilderAPI_MakeEdge_1; - BRepBuilderAPI_MakeEdge_2: typeof BRepBuilderAPI_MakeEdge_2; - BRepBuilderAPI_MakeEdge_3: typeof BRepBuilderAPI_MakeEdge_3; - BRepBuilderAPI_MakeEdge_4: typeof BRepBuilderAPI_MakeEdge_4; - BRepBuilderAPI_MakeEdge_5: typeof BRepBuilderAPI_MakeEdge_5; - BRepBuilderAPI_MakeEdge_6: typeof BRepBuilderAPI_MakeEdge_6; - BRepBuilderAPI_MakeEdge_7: typeof BRepBuilderAPI_MakeEdge_7; - BRepBuilderAPI_MakeEdge_8: typeof BRepBuilderAPI_MakeEdge_8; - BRepBuilderAPI_MakeEdge_9: typeof BRepBuilderAPI_MakeEdge_9; - BRepBuilderAPI_MakeEdge_10: typeof BRepBuilderAPI_MakeEdge_10; - BRepBuilderAPI_MakeEdge_11: typeof BRepBuilderAPI_MakeEdge_11; - BRepBuilderAPI_MakeEdge_12: typeof BRepBuilderAPI_MakeEdge_12; - BRepBuilderAPI_MakeEdge_13: typeof BRepBuilderAPI_MakeEdge_13; - BRepBuilderAPI_MakeEdge_14: typeof BRepBuilderAPI_MakeEdge_14; - BRepBuilderAPI_MakeEdge_15: typeof BRepBuilderAPI_MakeEdge_15; - BRepBuilderAPI_MakeEdge_16: typeof BRepBuilderAPI_MakeEdge_16; - BRepBuilderAPI_MakeEdge_17: typeof BRepBuilderAPI_MakeEdge_17; - BRepBuilderAPI_MakeEdge_18: typeof BRepBuilderAPI_MakeEdge_18; - BRepBuilderAPI_MakeEdge_19: typeof BRepBuilderAPI_MakeEdge_19; - BRepBuilderAPI_MakeEdge_20: typeof BRepBuilderAPI_MakeEdge_20; - BRepBuilderAPI_MakeEdge_21: typeof BRepBuilderAPI_MakeEdge_21; - BRepBuilderAPI_MakeEdge_22: typeof BRepBuilderAPI_MakeEdge_22; - BRepBuilderAPI_MakeEdge_23: typeof BRepBuilderAPI_MakeEdge_23; - BRepBuilderAPI_MakeEdge_24: typeof BRepBuilderAPI_MakeEdge_24; - BRepBuilderAPI_MakeEdge_25: typeof BRepBuilderAPI_MakeEdge_25; - BRepBuilderAPI_MakeEdge_26: typeof BRepBuilderAPI_MakeEdge_26; - BRepBuilderAPI_MakeEdge_27: typeof BRepBuilderAPI_MakeEdge_27; - BRepBuilderAPI_MakeEdge_28: typeof BRepBuilderAPI_MakeEdge_28; - BRepBuilderAPI_MakeEdge_29: typeof BRepBuilderAPI_MakeEdge_29; - BRepBuilderAPI_MakeEdge_30: typeof BRepBuilderAPI_MakeEdge_30; - BRepBuilderAPI_MakeEdge_31: typeof BRepBuilderAPI_MakeEdge_31; - BRepBuilderAPI_MakeEdge_32: typeof BRepBuilderAPI_MakeEdge_32; - BRepBuilderAPI_MakeEdge_33: typeof BRepBuilderAPI_MakeEdge_33; - BRepBuilderAPI_MakeEdge_34: typeof BRepBuilderAPI_MakeEdge_34; - BRepBuilderAPI_MakeEdge_35: typeof BRepBuilderAPI_MakeEdge_35; - BRepBuilderAPI_MakeFace: typeof BRepBuilderAPI_MakeFace; - BRepBuilderAPI_MakeFace_1: typeof BRepBuilderAPI_MakeFace_1; - BRepBuilderAPI_MakeFace_2: typeof BRepBuilderAPI_MakeFace_2; - BRepBuilderAPI_MakeFace_3: typeof BRepBuilderAPI_MakeFace_3; - BRepBuilderAPI_MakeFace_4: typeof BRepBuilderAPI_MakeFace_4; - BRepBuilderAPI_MakeFace_5: typeof BRepBuilderAPI_MakeFace_5; - BRepBuilderAPI_MakeFace_6: typeof BRepBuilderAPI_MakeFace_6; - BRepBuilderAPI_MakeFace_7: typeof BRepBuilderAPI_MakeFace_7; - BRepBuilderAPI_MakeFace_8: typeof BRepBuilderAPI_MakeFace_8; - BRepBuilderAPI_MakeFace_9: typeof BRepBuilderAPI_MakeFace_9; - BRepBuilderAPI_MakeFace_10: typeof BRepBuilderAPI_MakeFace_10; - BRepBuilderAPI_MakeFace_11: typeof BRepBuilderAPI_MakeFace_11; - BRepBuilderAPI_MakeFace_12: typeof BRepBuilderAPI_MakeFace_12; - BRepBuilderAPI_MakeFace_13: typeof BRepBuilderAPI_MakeFace_13; - BRepBuilderAPI_MakeFace_14: typeof BRepBuilderAPI_MakeFace_14; - BRepBuilderAPI_MakeFace_15: typeof BRepBuilderAPI_MakeFace_15; - BRepBuilderAPI_MakeFace_16: typeof BRepBuilderAPI_MakeFace_16; - BRepBuilderAPI_MakeFace_17: typeof BRepBuilderAPI_MakeFace_17; - BRepBuilderAPI_MakeFace_18: typeof BRepBuilderAPI_MakeFace_18; - BRepBuilderAPI_MakeFace_19: typeof BRepBuilderAPI_MakeFace_19; - BRepBuilderAPI_MakeFace_20: typeof BRepBuilderAPI_MakeFace_20; - BRepBuilderAPI_MakeFace_21: typeof BRepBuilderAPI_MakeFace_21; - BRepBuilderAPI_MakeFace_22: typeof BRepBuilderAPI_MakeFace_22; - BRepBuilderAPI_MakeShape: typeof BRepBuilderAPI_MakeShape; - BRepBuilderAPI_MakeSolid: typeof BRepBuilderAPI_MakeSolid; - BRepBuilderAPI_MakeSolid_1: typeof BRepBuilderAPI_MakeSolid_1; - BRepBuilderAPI_MakeSolid_2: typeof BRepBuilderAPI_MakeSolid_2; - BRepBuilderAPI_MakeSolid_3: typeof BRepBuilderAPI_MakeSolid_3; - BRepBuilderAPI_MakeSolid_4: typeof BRepBuilderAPI_MakeSolid_4; - BRepBuilderAPI_MakeSolid_5: typeof BRepBuilderAPI_MakeSolid_5; - BRepBuilderAPI_MakeSolid_6: typeof BRepBuilderAPI_MakeSolid_6; - BRepBuilderAPI_MakeSolid_7: typeof BRepBuilderAPI_MakeSolid_7; - BRepBuilderAPI_MakeVertex: typeof BRepBuilderAPI_MakeVertex; - BRepBuilderAPI_MakeWire: typeof BRepBuilderAPI_MakeWire; - BRepBuilderAPI_MakeWire_1: typeof BRepBuilderAPI_MakeWire_1; - BRepBuilderAPI_MakeWire_2: typeof BRepBuilderAPI_MakeWire_2; - BRepBuilderAPI_MakeWire_3: typeof BRepBuilderAPI_MakeWire_3; - BRepBuilderAPI_MakeWire_4: typeof BRepBuilderAPI_MakeWire_4; - BRepBuilderAPI_MakeWire_5: typeof BRepBuilderAPI_MakeWire_5; - BRepBuilderAPI_MakeWire_6: typeof BRepBuilderAPI_MakeWire_6; - BRepBuilderAPI_MakeWire_7: typeof BRepBuilderAPI_MakeWire_7; - BRepBuilderAPI_ModifyShape: typeof BRepBuilderAPI_ModifyShape; - BRepBuilderAPI_Sewing: typeof BRepBuilderAPI_Sewing; - BRepBuilderAPI_Transform: typeof BRepBuilderAPI_Transform; - BRepBuilderAPI_Transform_1: typeof BRepBuilderAPI_Transform_1; - BRepBuilderAPI_Transform_2: typeof BRepBuilderAPI_Transform_2; - BRepBuilderAPI_TransitionMode: BRepBuilderAPI_TransitionMode; - BRepBuilderAPI_WireError: BRepBuilderAPI_WireError; - BRepCheck_Analyzer: typeof BRepCheck_Analyzer; - BRepExtrema_DistShapeShape: typeof BRepExtrema_DistShapeShape; - BRepExtrema_DistShapeShape_1: typeof BRepExtrema_DistShapeShape_1; - BRepExtrema_DistShapeShape_2: typeof BRepExtrema_DistShapeShape_2; - BRepExtrema_DistShapeShape_3: typeof BRepExtrema_DistShapeShape_3; - BRepFeat_Form: typeof BRepFeat_Form; - BRepFeat_MakeDPrism: typeof BRepFeat_MakeDPrism; - BRepFeat_MakeDPrism_1: typeof BRepFeat_MakeDPrism_1; - BRepFeat_MakeDPrism_2: typeof BRepFeat_MakeDPrism_2; - BRepFill_TypeOfContact: BRepFill_TypeOfContact; - BRepFilletAPI_LocalOperation: typeof BRepFilletAPI_LocalOperation; - BRepFilletAPI_MakeChamfer: typeof BRepFilletAPI_MakeChamfer; - BRepFilletAPI_MakeFillet: typeof BRepFilletAPI_MakeFillet; - BRepGProp: typeof BRepGProp; - BRepGProp_Face: typeof BRepGProp_Face; - BRepGProp_Face_1: typeof BRepGProp_Face_1; - BRepGProp_Face_2: typeof BRepGProp_Face_2; - BRepLib: typeof BRepLib; - BRepMesh_DiscretRoot: typeof BRepMesh_DiscretRoot; - BRepMesh_IncrementalMesh: typeof BRepMesh_IncrementalMesh; - BRepMesh_IncrementalMesh_1: typeof BRepMesh_IncrementalMesh_1; - BRepMesh_IncrementalMesh_2: typeof BRepMesh_IncrementalMesh_2; - BRepMesh_IncrementalMesh_3: typeof BRepMesh_IncrementalMesh_3; - BRepOffset_Mode: BRepOffset_Mode; - BRepOffsetAPI_MakeFilling: typeof BRepOffsetAPI_MakeFilling; - BRepOffsetAPI_MakeOffset: typeof BRepOffsetAPI_MakeOffset; - BRepOffsetAPI_MakeOffset_1: typeof BRepOffsetAPI_MakeOffset_1; - BRepOffsetAPI_MakeOffset_2: typeof BRepOffsetAPI_MakeOffset_2; - BRepOffsetAPI_MakeOffset_3: typeof BRepOffsetAPI_MakeOffset_3; - BRepOffsetAPI_MakeOffsetShape: typeof BRepOffsetAPI_MakeOffsetShape; - BRepOffsetAPI_MakePipe: typeof BRepOffsetAPI_MakePipe; - BRepOffsetAPI_MakePipe_1: typeof BRepOffsetAPI_MakePipe_1; - BRepOffsetAPI_MakePipe_2: typeof BRepOffsetAPI_MakePipe_2; - BRepOffsetAPI_MakePipeShell: typeof BRepOffsetAPI_MakePipeShell; - BRepOffsetAPI_MakeThickSolid: typeof BRepOffsetAPI_MakeThickSolid; - BRepOffsetAPI_ThruSections: typeof BRepOffsetAPI_ThruSections; - BRepPrimAPI_MakeBox: typeof BRepPrimAPI_MakeBox; - BRepPrimAPI_MakeBox_1: typeof BRepPrimAPI_MakeBox_1; - BRepPrimAPI_MakeBox_2: typeof BRepPrimAPI_MakeBox_2; - BRepPrimAPI_MakeBox_3: typeof BRepPrimAPI_MakeBox_3; - BRepPrimAPI_MakeBox_4: typeof BRepPrimAPI_MakeBox_4; - BRepPrimAPI_MakeBox_5: typeof BRepPrimAPI_MakeBox_5; - BRepPrimAPI_MakeCylinder: typeof BRepPrimAPI_MakeCylinder; - BRepPrimAPI_MakeCylinder_1: typeof BRepPrimAPI_MakeCylinder_1; - BRepPrimAPI_MakeCylinder_2: typeof BRepPrimAPI_MakeCylinder_2; - BRepPrimAPI_MakeCylinder_3: typeof BRepPrimAPI_MakeCylinder_3; - BRepPrimAPI_MakeCylinder_4: typeof BRepPrimAPI_MakeCylinder_4; - BRepPrimAPI_MakeOneAxis: typeof BRepPrimAPI_MakeOneAxis; - BRepPrimAPI_MakePrism: typeof BRepPrimAPI_MakePrism; - BRepPrimAPI_MakePrism_1: typeof BRepPrimAPI_MakePrism_1; - BRepPrimAPI_MakePrism_2: typeof BRepPrimAPI_MakePrism_2; - BRepPrimAPI_MakeRevol: typeof BRepPrimAPI_MakeRevol; - BRepPrimAPI_MakeRevol_1: typeof BRepPrimAPI_MakeRevol_1; - BRepPrimAPI_MakeRevol_2: typeof BRepPrimAPI_MakeRevol_2; - BRepPrimAPI_MakeRevolution: typeof BRepPrimAPI_MakeRevolution; - BRepPrimAPI_MakeRevolution_1: typeof BRepPrimAPI_MakeRevolution_1; - BRepPrimAPI_MakeRevolution_2: typeof BRepPrimAPI_MakeRevolution_2; - BRepPrimAPI_MakeRevolution_3: typeof BRepPrimAPI_MakeRevolution_3; - BRepPrimAPI_MakeRevolution_4: typeof BRepPrimAPI_MakeRevolution_4; - BRepPrimAPI_MakeRevolution_5: typeof BRepPrimAPI_MakeRevolution_5; - BRepPrimAPI_MakeRevolution_6: typeof BRepPrimAPI_MakeRevolution_6; - BRepPrimAPI_MakeRevolution_7: typeof BRepPrimAPI_MakeRevolution_7; - BRepPrimAPI_MakeRevolution_8: typeof BRepPrimAPI_MakeRevolution_8; - BRepPrimAPI_MakeSphere: typeof BRepPrimAPI_MakeSphere; - BRepPrimAPI_MakeSphere_1: typeof BRepPrimAPI_MakeSphere_1; - BRepPrimAPI_MakeSphere_2: typeof BRepPrimAPI_MakeSphere_2; - BRepPrimAPI_MakeSphere_3: typeof BRepPrimAPI_MakeSphere_3; - BRepPrimAPI_MakeSphere_4: typeof BRepPrimAPI_MakeSphere_4; - BRepPrimAPI_MakeSphere_5: typeof BRepPrimAPI_MakeSphere_5; - BRepPrimAPI_MakeSphere_6: typeof BRepPrimAPI_MakeSphere_6; - BRepPrimAPI_MakeSphere_7: typeof BRepPrimAPI_MakeSphere_7; - BRepPrimAPI_MakeSphere_8: typeof BRepPrimAPI_MakeSphere_8; - BRepPrimAPI_MakeSphere_9: typeof BRepPrimAPI_MakeSphere_9; - BRepPrimAPI_MakeSphere_10: typeof BRepPrimAPI_MakeSphere_10; - BRepPrimAPI_MakeSphere_11: typeof BRepPrimAPI_MakeSphere_11; - BRepPrimAPI_MakeSphere_12: typeof BRepPrimAPI_MakeSphere_12; - BRepPrimAPI_MakeSweep: typeof BRepPrimAPI_MakeSweep; - BRepPrimAPI_MakeTorus: typeof BRepPrimAPI_MakeTorus; - BRepPrimAPI_MakeTorus_1: typeof BRepPrimAPI_MakeTorus_1; - BRepPrimAPI_MakeTorus_2: typeof BRepPrimAPI_MakeTorus_2; - BRepPrimAPI_MakeTorus_3: typeof BRepPrimAPI_MakeTorus_3; - BRepPrimAPI_MakeTorus_4: typeof BRepPrimAPI_MakeTorus_4; - BRepPrimAPI_MakeTorus_5: typeof BRepPrimAPI_MakeTorus_5; - BRepPrimAPI_MakeTorus_6: typeof BRepPrimAPI_MakeTorus_6; - BRepPrimAPI_MakeTorus_7: typeof BRepPrimAPI_MakeTorus_7; - BRepPrimAPI_MakeTorus_8: typeof BRepPrimAPI_MakeTorus_8; - BRepTools: typeof BRepTools; - Bnd_Box: typeof Bnd_Box; - Bnd_Box_1: typeof Bnd_Box_1; - Bnd_Box_2: typeof Bnd_Box_2; - Bnd_Box2d: typeof Bnd_Box2d; - Bnd_OBB: typeof Bnd_OBB; - Bnd_OBB_1: typeof Bnd_OBB_1; - Bnd_OBB_2: typeof Bnd_OBB_2; - Bnd_OBB_3: typeof Bnd_OBB_3; - BndLib_Add2dCurve: typeof BndLib_Add2dCurve; - CDM_Document: typeof CDM_Document; - ChFi3d_FilletShape: ChFi3d_FilletShape; - ChFiDS_ChamfMode: ChFiDS_ChamfMode; - Convert_ParameterisationType: Convert_ParameterisationType; - Extrema_ExtAlgo: Extrema_ExtAlgo; - GC_MakeArcOfCircle: typeof GC_MakeArcOfCircle; - GC_MakeArcOfCircle_1: typeof GC_MakeArcOfCircle_1; - GC_MakeArcOfCircle_2: typeof GC_MakeArcOfCircle_2; - GC_MakeArcOfCircle_3: typeof GC_MakeArcOfCircle_3; - GC_MakeArcOfCircle_4: typeof GC_MakeArcOfCircle_4; - GC_MakeArcOfCircle_5: typeof GC_MakeArcOfCircle_5; - GC_MakeArcOfEllipse: typeof GC_MakeArcOfEllipse; - GC_MakeArcOfEllipse_1: typeof GC_MakeArcOfEllipse_1; - GC_MakeArcOfEllipse_2: typeof GC_MakeArcOfEllipse_2; - GC_MakeArcOfEllipse_3: typeof GC_MakeArcOfEllipse_3; - GC_Root: typeof GC_Root; - GCE2d_MakeArcOfCircle: typeof GCE2d_MakeArcOfCircle; - GCE2d_MakeArcOfCircle_1: typeof GCE2d_MakeArcOfCircle_1; - GCE2d_MakeArcOfCircle_2: typeof GCE2d_MakeArcOfCircle_2; - GCE2d_MakeArcOfCircle_3: typeof GCE2d_MakeArcOfCircle_3; - GCE2d_MakeArcOfCircle_4: typeof GCE2d_MakeArcOfCircle_4; - GCE2d_MakeArcOfCircle_5: typeof GCE2d_MakeArcOfCircle_5; - GCE2d_MakeArcOfEllipse: typeof GCE2d_MakeArcOfEllipse; - GCE2d_MakeArcOfEllipse_1: typeof GCE2d_MakeArcOfEllipse_1; - GCE2d_MakeArcOfEllipse_2: typeof GCE2d_MakeArcOfEllipse_2; - GCE2d_MakeArcOfEllipse_3: typeof GCE2d_MakeArcOfEllipse_3; - GCE2d_MakeCircle: typeof GCE2d_MakeCircle; - GCE2d_MakeCircle_1: typeof GCE2d_MakeCircle_1; - GCE2d_MakeCircle_2: typeof GCE2d_MakeCircle_2; - GCE2d_MakeCircle_3: typeof GCE2d_MakeCircle_3; - GCE2d_MakeCircle_4: typeof GCE2d_MakeCircle_4; - GCE2d_MakeCircle_5: typeof GCE2d_MakeCircle_5; - GCE2d_MakeCircle_6: typeof GCE2d_MakeCircle_6; - GCE2d_MakeCircle_7: typeof GCE2d_MakeCircle_7; - GCE2d_MakeCircle_8: typeof GCE2d_MakeCircle_8; - GCE2d_MakeEllipse: typeof GCE2d_MakeEllipse; - GCE2d_MakeEllipse_1: typeof GCE2d_MakeEllipse_1; - GCE2d_MakeEllipse_2: typeof GCE2d_MakeEllipse_2; - GCE2d_MakeEllipse_3: typeof GCE2d_MakeEllipse_3; - GCE2d_MakeEllipse_4: typeof GCE2d_MakeEllipse_4; - GCE2d_MakeSegment: typeof GCE2d_MakeSegment; - GCE2d_MakeSegment_1: typeof GCE2d_MakeSegment_1; - GCE2d_MakeSegment_2: typeof GCE2d_MakeSegment_2; - GCE2d_MakeSegment_3: typeof GCE2d_MakeSegment_3; - GCE2d_MakeSegment_4: typeof GCE2d_MakeSegment_4; - GCE2d_MakeSegment_5: typeof GCE2d_MakeSegment_5; - GCE2d_Root: typeof GCE2d_Root; - GCPnts_TangentialDeflection: typeof GCPnts_TangentialDeflection; - GCPnts_TangentialDeflection_1: typeof GCPnts_TangentialDeflection_1; - GCPnts_TangentialDeflection_2: typeof GCPnts_TangentialDeflection_2; - GCPnts_TangentialDeflection_3: typeof GCPnts_TangentialDeflection_3; - GCPnts_TangentialDeflection_4: typeof GCPnts_TangentialDeflection_4; - GCPnts_TangentialDeflection_5: typeof GCPnts_TangentialDeflection_5; - GProp_GProps: typeof GProp_GProps; - GProp_GProps_1: typeof GProp_GProps_1; - GProp_GProps_2: typeof GProp_GProps_2; - Geom_BSplineCurve: typeof Geom_BSplineCurve; - Geom_BSplineCurve_1: typeof Geom_BSplineCurve_1; - Geom_BSplineCurve_2: typeof Geom_BSplineCurve_2; - Handle_Geom_BSplineCurve: typeof Handle_Geom_BSplineCurve; - Handle_Geom_BSplineCurve_1: typeof Handle_Geom_BSplineCurve_1; - Handle_Geom_BSplineCurve_2: typeof Handle_Geom_BSplineCurve_2; - Handle_Geom_BSplineCurve_3: typeof Handle_Geom_BSplineCurve_3; - Handle_Geom_BSplineCurve_4: typeof Handle_Geom_BSplineCurve_4; - Geom_BSplineSurface: typeof Geom_BSplineSurface; - Geom_BSplineSurface_1: typeof Geom_BSplineSurface_1; - Geom_BSplineSurface_2: typeof Geom_BSplineSurface_2; - Handle_Geom_BSplineSurface: typeof Handle_Geom_BSplineSurface; - Handle_Geom_BSplineSurface_1: typeof Handle_Geom_BSplineSurface_1; - Handle_Geom_BSplineSurface_2: typeof Handle_Geom_BSplineSurface_2; - Handle_Geom_BSplineSurface_3: typeof Handle_Geom_BSplineSurface_3; - Handle_Geom_BSplineSurface_4: typeof Handle_Geom_BSplineSurface_4; - Geom_BezierCurve: typeof Geom_BezierCurve; - Geom_BezierCurve_1: typeof Geom_BezierCurve_1; - Geom_BezierCurve_2: typeof Geom_BezierCurve_2; - Handle_Geom_BezierCurve: typeof Handle_Geom_BezierCurve; - Handle_Geom_BezierCurve_1: typeof Handle_Geom_BezierCurve_1; - Handle_Geom_BezierCurve_2: typeof Handle_Geom_BezierCurve_2; - Handle_Geom_BezierCurve_3: typeof Handle_Geom_BezierCurve_3; - Handle_Geom_BezierCurve_4: typeof Handle_Geom_BezierCurve_4; - Geom_BoundedCurve: typeof Geom_BoundedCurve; - Geom_BoundedSurface: typeof Geom_BoundedSurface; - Geom_ConicalSurface: typeof Geom_ConicalSurface; - Geom_ConicalSurface_1: typeof Geom_ConicalSurface_1; - Geom_ConicalSurface_2: typeof Geom_ConicalSurface_2; - Geom_Curve: typeof Geom_Curve; - Handle_Geom_Curve: typeof Handle_Geom_Curve; - Handle_Geom_Curve_1: typeof Handle_Geom_Curve_1; - Handle_Geom_Curve_2: typeof Handle_Geom_Curve_2; - Handle_Geom_Curve_3: typeof Handle_Geom_Curve_3; - Handle_Geom_Curve_4: typeof Handle_Geom_Curve_4; - Geom_CylindricalSurface: typeof Geom_CylindricalSurface; - Geom_CylindricalSurface_1: typeof Geom_CylindricalSurface_1; - Geom_CylindricalSurface_2: typeof Geom_CylindricalSurface_2; - Geom_ElementarySurface: typeof Geom_ElementarySurface; - Geom_Geometry: typeof Geom_Geometry; - Geom_Surface: typeof Geom_Surface; - Handle_Geom_Surface: typeof Handle_Geom_Surface; - Handle_Geom_Surface_1: typeof Handle_Geom_Surface_1; - Handle_Geom_Surface_2: typeof Handle_Geom_Surface_2; - Handle_Geom_Surface_3: typeof Handle_Geom_Surface_3; - Handle_Geom_Surface_4: typeof Handle_Geom_Surface_4; - Geom_TrimmedCurve: typeof Geom_TrimmedCurve; - Handle_Geom_TrimmedCurve: typeof Handle_Geom_TrimmedCurve; - Handle_Geom_TrimmedCurve_1: typeof Handle_Geom_TrimmedCurve_1; - Handle_Geom_TrimmedCurve_2: typeof Handle_Geom_TrimmedCurve_2; - Handle_Geom_TrimmedCurve_3: typeof Handle_Geom_TrimmedCurve_3; - Handle_Geom_TrimmedCurve_4: typeof Handle_Geom_TrimmedCurve_4; - Geom2d_BSplineCurve: typeof Geom2d_BSplineCurve; - Geom2d_BSplineCurve_1: typeof Geom2d_BSplineCurve_1; - Geom2d_BSplineCurve_2: typeof Geom2d_BSplineCurve_2; - Handle_Geom2d_BSplineCurve: typeof Handle_Geom2d_BSplineCurve; - Handle_Geom2d_BSplineCurve_1: typeof Handle_Geom2d_BSplineCurve_1; - Handle_Geom2d_BSplineCurve_2: typeof Handle_Geom2d_BSplineCurve_2; - Handle_Geom2d_BSplineCurve_3: typeof Handle_Geom2d_BSplineCurve_3; - Handle_Geom2d_BSplineCurve_4: typeof Handle_Geom2d_BSplineCurve_4; - Geom2d_BezierCurve: typeof Geom2d_BezierCurve; - Geom2d_BezierCurve_1: typeof Geom2d_BezierCurve_1; - Geom2d_BezierCurve_2: typeof Geom2d_BezierCurve_2; - Handle_Geom2d_BezierCurve: typeof Handle_Geom2d_BezierCurve; - Handle_Geom2d_BezierCurve_1: typeof Handle_Geom2d_BezierCurve_1; - Handle_Geom2d_BezierCurve_2: typeof Handle_Geom2d_BezierCurve_2; - Handle_Geom2d_BezierCurve_3: typeof Handle_Geom2d_BezierCurve_3; - Handle_Geom2d_BezierCurve_4: typeof Handle_Geom2d_BezierCurve_4; - Geom2d_BoundedCurve: typeof Geom2d_BoundedCurve; - Handle_Geom2d_BoundedCurve: typeof Handle_Geom2d_BoundedCurve; - Handle_Geom2d_BoundedCurve_1: typeof Handle_Geom2d_BoundedCurve_1; - Handle_Geom2d_BoundedCurve_2: typeof Handle_Geom2d_BoundedCurve_2; - Handle_Geom2d_BoundedCurve_3: typeof Handle_Geom2d_BoundedCurve_3; - Handle_Geom2d_BoundedCurve_4: typeof Handle_Geom2d_BoundedCurve_4; - Geom2d_Circle: typeof Geom2d_Circle; - Geom2d_Circle_1: typeof Geom2d_Circle_1; - Geom2d_Circle_2: typeof Geom2d_Circle_2; - Geom2d_Circle_3: typeof Geom2d_Circle_3; - Handle_Geom2d_Circle: typeof Handle_Geom2d_Circle; - Handle_Geom2d_Circle_1: typeof Handle_Geom2d_Circle_1; - Handle_Geom2d_Circle_2: typeof Handle_Geom2d_Circle_2; - Handle_Geom2d_Circle_3: typeof Handle_Geom2d_Circle_3; - Handle_Geom2d_Circle_4: typeof Handle_Geom2d_Circle_4; - Geom2d_Conic: typeof Geom2d_Conic; - Geom2d_Curve: typeof Geom2d_Curve; - Handle_Geom2d_Curve: typeof Handle_Geom2d_Curve; - Handle_Geom2d_Curve_1: typeof Handle_Geom2d_Curve_1; - Handle_Geom2d_Curve_2: typeof Handle_Geom2d_Curve_2; - Handle_Geom2d_Curve_3: typeof Handle_Geom2d_Curve_3; - Handle_Geom2d_Curve_4: typeof Handle_Geom2d_Curve_4; - Geom2d_Ellipse: typeof Geom2d_Ellipse; - Geom2d_Ellipse_1: typeof Geom2d_Ellipse_1; - Geom2d_Ellipse_2: typeof Geom2d_Ellipse_2; - Geom2d_Ellipse_3: typeof Geom2d_Ellipse_3; - Handle_Geom2d_Ellipse: typeof Handle_Geom2d_Ellipse; - Handle_Geom2d_Ellipse_1: typeof Handle_Geom2d_Ellipse_1; - Handle_Geom2d_Ellipse_2: typeof Handle_Geom2d_Ellipse_2; - Handle_Geom2d_Ellipse_3: typeof Handle_Geom2d_Ellipse_3; - Handle_Geom2d_Ellipse_4: typeof Handle_Geom2d_Ellipse_4; - Geom2d_Geometry: typeof Geom2d_Geometry; - Handle_Geom2d_Geometry: typeof Handle_Geom2d_Geometry; - Handle_Geom2d_Geometry_1: typeof Handle_Geom2d_Geometry_1; - Handle_Geom2d_Geometry_2: typeof Handle_Geom2d_Geometry_2; - Handle_Geom2d_Geometry_3: typeof Handle_Geom2d_Geometry_3; - Handle_Geom2d_Geometry_4: typeof Handle_Geom2d_Geometry_4; - Geom2d_Line: typeof Geom2d_Line; - Geom2d_Line_1: typeof Geom2d_Line_1; - Geom2d_Line_2: typeof Geom2d_Line_2; - Geom2d_Line_3: typeof Geom2d_Line_3; - Handle_Geom2d_Line: typeof Handle_Geom2d_Line; - Handle_Geom2d_Line_1: typeof Handle_Geom2d_Line_1; - Handle_Geom2d_Line_2: typeof Handle_Geom2d_Line_2; - Handle_Geom2d_Line_3: typeof Handle_Geom2d_Line_3; - Handle_Geom2d_Line_4: typeof Handle_Geom2d_Line_4; - Geom2d_OffsetCurve: typeof Geom2d_OffsetCurve; - Geom2d_TrimmedCurve: typeof Geom2d_TrimmedCurve; - Handle_Geom2d_TrimmedCurve: typeof Handle_Geom2d_TrimmedCurve; - Handle_Geom2d_TrimmedCurve_1: typeof Handle_Geom2d_TrimmedCurve_1; - Handle_Geom2d_TrimmedCurve_2: typeof Handle_Geom2d_TrimmedCurve_2; - Handle_Geom2d_TrimmedCurve_3: typeof Handle_Geom2d_TrimmedCurve_3; - Handle_Geom2d_TrimmedCurve_4: typeof Handle_Geom2d_TrimmedCurve_4; - Geom2dAPI_ExtremaCurveCurve: typeof Geom2dAPI_ExtremaCurveCurve; - Geom2dAPI_InterCurveCurve: typeof Geom2dAPI_InterCurveCurve; - Geom2dAPI_InterCurveCurve_1: typeof Geom2dAPI_InterCurveCurve_1; - Geom2dAPI_InterCurveCurve_2: typeof Geom2dAPI_InterCurveCurve_2; - Geom2dAPI_InterCurveCurve_3: typeof Geom2dAPI_InterCurveCurve_3; - Geom2dAPI_PointsToBSpline: typeof Geom2dAPI_PointsToBSpline; - Geom2dAPI_PointsToBSpline_1: typeof Geom2dAPI_PointsToBSpline_1; - Geom2dAPI_PointsToBSpline_2: typeof Geom2dAPI_PointsToBSpline_2; - Geom2dAPI_PointsToBSpline_3: typeof Geom2dAPI_PointsToBSpline_3; - Geom2dAPI_PointsToBSpline_4: typeof Geom2dAPI_PointsToBSpline_4; - Geom2dAPI_PointsToBSpline_5: typeof Geom2dAPI_PointsToBSpline_5; - Geom2dAPI_PointsToBSpline_6: typeof Geom2dAPI_PointsToBSpline_6; - Geom2dAPI_ProjectPointOnCurve: typeof Geom2dAPI_ProjectPointOnCurve; - Geom2dAPI_ProjectPointOnCurve_1: typeof Geom2dAPI_ProjectPointOnCurve_1; - Geom2dAPI_ProjectPointOnCurve_2: typeof Geom2dAPI_ProjectPointOnCurve_2; - Geom2dAPI_ProjectPointOnCurve_3: typeof Geom2dAPI_ProjectPointOnCurve_3; - Geom2dAdaptor_Curve: typeof Geom2dAdaptor_Curve; - Geom2dAdaptor_Curve_1: typeof Geom2dAdaptor_Curve_1; - Geom2dAdaptor_Curve_2: typeof Geom2dAdaptor_Curve_2; - Geom2dAdaptor_Curve_3: typeof Geom2dAdaptor_Curve_3; - Geom2dConvert: typeof Geom2dConvert; - Geom2dConvert_ApproxCurve: typeof Geom2dConvert_ApproxCurve; - Geom2dConvert_ApproxCurve_1: typeof Geom2dConvert_ApproxCurve_1; - Geom2dConvert_ApproxCurve_2: typeof Geom2dConvert_ApproxCurve_2; - Geom2dConvert_BSplineCurveToBezierCurve: typeof Geom2dConvert_BSplineCurveToBezierCurve; - Geom2dConvert_BSplineCurveToBezierCurve_1: typeof Geom2dConvert_BSplineCurveToBezierCurve_1; - Geom2dConvert_BSplineCurveToBezierCurve_2: typeof Geom2dConvert_BSplineCurveToBezierCurve_2; - GeomAPI_Interpolate: typeof GeomAPI_Interpolate; - GeomAPI_Interpolate_1: typeof GeomAPI_Interpolate_1; - GeomAPI_Interpolate_2: typeof GeomAPI_Interpolate_2; - GeomAPI_PointsToBSpline: typeof GeomAPI_PointsToBSpline; - GeomAPI_PointsToBSpline_1: typeof GeomAPI_PointsToBSpline_1; - GeomAPI_PointsToBSpline_2: typeof GeomAPI_PointsToBSpline_2; - GeomAPI_PointsToBSpline_3: typeof GeomAPI_PointsToBSpline_3; - GeomAPI_PointsToBSpline_4: typeof GeomAPI_PointsToBSpline_4; - GeomAPI_PointsToBSpline_5: typeof GeomAPI_PointsToBSpline_5; - GeomAPI_PointsToBSplineSurface: typeof GeomAPI_PointsToBSplineSurface; - GeomAPI_PointsToBSplineSurface_1: typeof GeomAPI_PointsToBSplineSurface_1; - GeomAPI_PointsToBSplineSurface_2: typeof GeomAPI_PointsToBSplineSurface_2; - GeomAPI_PointsToBSplineSurface_3: typeof GeomAPI_PointsToBSplineSurface_3; - GeomAPI_PointsToBSplineSurface_4: typeof GeomAPI_PointsToBSplineSurface_4; - GeomAPI_PointsToBSplineSurface_5: typeof GeomAPI_PointsToBSplineSurface_5; - GeomAPI_ProjectPointOnSurf: typeof GeomAPI_ProjectPointOnSurf; - GeomAPI_ProjectPointOnSurf_1: typeof GeomAPI_ProjectPointOnSurf_1; - GeomAPI_ProjectPointOnSurf_2: typeof GeomAPI_ProjectPointOnSurf_2; - GeomAPI_ProjectPointOnSurf_3: typeof GeomAPI_ProjectPointOnSurf_3; - GeomAPI_ProjectPointOnSurf_4: typeof GeomAPI_ProjectPointOnSurf_4; - GeomAPI_ProjectPointOnSurf_5: typeof GeomAPI_ProjectPointOnSurf_5; - GeomAbs_CurveType: GeomAbs_CurveType; - GeomAbs_JoinType: GeomAbs_JoinType; - GeomAbs_Shape: GeomAbs_Shape; - GeomAbs_SurfaceType: GeomAbs_SurfaceType; - GeomLib: typeof GeomLib; - HLRAlgo_Projector: typeof HLRAlgo_Projector; - HLRAlgo_Projector_1: typeof HLRAlgo_Projector_1; - HLRAlgo_Projector_2: typeof HLRAlgo_Projector_2; - HLRAlgo_Projector_3: typeof HLRAlgo_Projector_3; - HLRAlgo_Projector_4: typeof HLRAlgo_Projector_4; - HLRAlgo_Projector_5: typeof HLRAlgo_Projector_5; - HLRBRep_Algo: typeof HLRBRep_Algo; - HLRBRep_Algo_1: typeof HLRBRep_Algo_1; - HLRBRep_Algo_2: typeof HLRBRep_Algo_2; - Handle_HLRBRep_Algo: typeof Handle_HLRBRep_Algo; - Handle_HLRBRep_Algo_1: typeof Handle_HLRBRep_Algo_1; - Handle_HLRBRep_Algo_2: typeof Handle_HLRBRep_Algo_2; - Handle_HLRBRep_Algo_3: typeof Handle_HLRBRep_Algo_3; - Handle_HLRBRep_Algo_4: typeof Handle_HLRBRep_Algo_4; - HLRBRep_HLRToShape: typeof HLRBRep_HLRToShape; - HLRBRep_InternalAlgo: typeof HLRBRep_InternalAlgo; - HLRBRep_InternalAlgo_1: typeof HLRBRep_InternalAlgo_1; - HLRBRep_InternalAlgo_2: typeof HLRBRep_InternalAlgo_2; - IFSelect_ReturnStatus: IFSelect_ReturnStatus; - IFSelect_WorkSession: typeof IFSelect_WorkSession; - Interface_Static: typeof Interface_Static; - Interface_Static_1: typeof Interface_Static_1; - Interface_Static_2: typeof Interface_Static_2; - Interface_TypedValue: typeof Interface_TypedValue; - Law_BSpFunc: typeof Law_BSpFunc; - Law_BSpFunc_1: typeof Law_BSpFunc_1; - Law_BSpFunc_2: typeof Law_BSpFunc_2; - Law_Composite: typeof Law_Composite; - Law_Composite_1: typeof Law_Composite_1; - Law_Composite_2: typeof Law_Composite_2; - Handle_Law_Function: typeof Handle_Law_Function; - Handle_Law_Function_1: typeof Handle_Law_Function_1; - Handle_Law_Function_2: typeof Handle_Law_Function_2; - Handle_Law_Function_3: typeof Handle_Law_Function_3; - Handle_Law_Function_4: typeof Handle_Law_Function_4; - Law_Function: typeof Law_Function; - Law_Interpol: typeof Law_Interpol; - Law_Linear: typeof Law_Linear; - Law_S: typeof Law_S; - Message_ProgressRange: typeof Message_ProgressRange; - Message_ProgressRange_1: typeof Message_ProgressRange_1; - Message_ProgressRange_2: typeof Message_ProgressRange_2; - MoniTool_TypedValue: typeof MoniTool_TypedValue; - MoniTool_TypedValue_1: typeof MoniTool_TypedValue_1; - MoniTool_TypedValue_2: typeof MoniTool_TypedValue_2; - NCollection_BaseList: typeof NCollection_BaseList; - Poly_Array1OfTriangle: typeof Poly_Array1OfTriangle; - Poly_Array1OfTriangle_1: typeof Poly_Array1OfTriangle_1; - Poly_Array1OfTriangle_2: typeof Poly_Array1OfTriangle_2; - Poly_Array1OfTriangle_3: typeof Poly_Array1OfTriangle_3; - Poly_Array1OfTriangle_4: typeof Poly_Array1OfTriangle_4; - Poly_Array1OfTriangle_5: typeof Poly_Array1OfTriangle_5; - Poly_Connect: typeof Poly_Connect; - Poly_Connect_1: typeof Poly_Connect_1; - Poly_Connect_2: typeof Poly_Connect_2; - Handle_Poly_PolygonOnTriangulation: typeof Handle_Poly_PolygonOnTriangulation; - Handle_Poly_PolygonOnTriangulation_1: typeof Handle_Poly_PolygonOnTriangulation_1; - Handle_Poly_PolygonOnTriangulation_2: typeof Handle_Poly_PolygonOnTriangulation_2; - Handle_Poly_PolygonOnTriangulation_3: typeof Handle_Poly_PolygonOnTriangulation_3; - Handle_Poly_PolygonOnTriangulation_4: typeof Handle_Poly_PolygonOnTriangulation_4; - Poly_PolygonOnTriangulation: typeof Poly_PolygonOnTriangulation; - Poly_PolygonOnTriangulation_1: typeof Poly_PolygonOnTriangulation_1; - Poly_PolygonOnTriangulation_2: typeof Poly_PolygonOnTriangulation_2; - Poly_PolygonOnTriangulation_3: typeof Poly_PolygonOnTriangulation_3; - Poly_Triangle: typeof Poly_Triangle; - Poly_Triangle_1: typeof Poly_Triangle_1; - Poly_Triangle_2: typeof Poly_Triangle_2; - Handle_Poly_Triangulation: typeof Handle_Poly_Triangulation; - Handle_Poly_Triangulation_1: typeof Handle_Poly_Triangulation_1; - Handle_Poly_Triangulation_2: typeof Handle_Poly_Triangulation_2; - Handle_Poly_Triangulation_3: typeof Handle_Poly_Triangulation_3; - Handle_Poly_Triangulation_4: typeof Handle_Poly_Triangulation_4; - Poly_Triangulation: typeof Poly_Triangulation; - Poly_Triangulation_1: typeof Poly_Triangulation_1; - Poly_Triangulation_2: typeof Poly_Triangulation_2; - Poly_Triangulation_3: typeof Poly_Triangulation_3; - Poly_Triangulation_4: typeof Poly_Triangulation_4; - Poly_Triangulation_5: typeof Poly_Triangulation_5; - Precision: typeof Precision; - Quantity_Color: typeof Quantity_Color; - Quantity_Color_1: typeof Quantity_Color_1; - Quantity_Color_2: typeof Quantity_Color_2; - Quantity_Color_3: typeof Quantity_Color_3; - Quantity_Color_4: typeof Quantity_Color_4; - Quantity_ColorRGBA: typeof Quantity_ColorRGBA; - Quantity_ColorRGBA_1: typeof Quantity_ColorRGBA_1; - Quantity_ColorRGBA_2: typeof Quantity_ColorRGBA_2; - Quantity_ColorRGBA_3: typeof Quantity_ColorRGBA_3; - Quantity_ColorRGBA_4: typeof Quantity_ColorRGBA_4; - Quantity_ColorRGBA_5: typeof Quantity_ColorRGBA_5; - STEPCAFControl_Writer: typeof STEPCAFControl_Writer; - STEPCAFControl_Writer_1: typeof STEPCAFControl_Writer_1; - STEPCAFControl_Writer_2: typeof STEPCAFControl_Writer_2; - STEPControl_Reader: typeof STEPControl_Reader; - STEPControl_Reader_1: typeof STEPControl_Reader_1; - STEPControl_Reader_2: typeof STEPControl_Reader_2; - STEPControl_StepModelType: STEPControl_StepModelType; - STEPControl_Writer: typeof STEPControl_Writer; - STEPControl_Writer_1: typeof STEPControl_Writer_1; - STEPControl_Writer_2: typeof STEPControl_Writer_2; - ShapeFix_EdgeConnect: typeof ShapeFix_EdgeConnect; - ShapeFix_Face: typeof ShapeFix_Face; - ShapeFix_Face_1: typeof ShapeFix_Face_1; - ShapeFix_Face_2: typeof ShapeFix_Face_2; - ShapeFix_Root: typeof ShapeFix_Root; - ShapeFix_Solid: typeof ShapeFix_Solid; - ShapeFix_Solid_1: typeof ShapeFix_Solid_1; - ShapeFix_Solid_2: typeof ShapeFix_Solid_2; - ShapeFix_Wire: typeof ShapeFix_Wire; - ShapeFix_Wire_1: typeof ShapeFix_Wire_1; - ShapeFix_Wire_2: typeof ShapeFix_Wire_2; - ShapeUpgrade_UnifySameDomain: typeof ShapeUpgrade_UnifySameDomain; - ShapeUpgrade_UnifySameDomain_1: typeof ShapeUpgrade_UnifySameDomain_1; - ShapeUpgrade_UnifySameDomain_2: typeof ShapeUpgrade_UnifySameDomain_2; - Standard_Transient: typeof Standard_Transient; - Standard_Transient_1: typeof Standard_Transient_1; - Standard_Transient_2: typeof Standard_Transient_2; - StdPrs_ToolTriangulatedShape: typeof StdPrs_ToolTriangulatedShape; - Handle_StepData_StepModel: typeof Handle_StepData_StepModel; - Handle_StepData_StepModel_1: typeof Handle_StepData_StepModel_1; - Handle_StepData_StepModel_2: typeof Handle_StepData_StepModel_2; - Handle_StepData_StepModel_3: typeof Handle_StepData_StepModel_3; - Handle_StepData_StepModel_4: typeof Handle_StepData_StepModel_4; - StlAPI: typeof StlAPI; - StlAPI_Reader: typeof StlAPI_Reader; - StlAPI_Writer: typeof StlAPI_Writer; - TColStd_Array1OfBoolean: typeof TColStd_Array1OfBoolean; - TColStd_Array1OfBoolean_1: typeof TColStd_Array1OfBoolean_1; - TColStd_Array1OfBoolean_2: typeof TColStd_Array1OfBoolean_2; - TColStd_Array1OfBoolean_3: typeof TColStd_Array1OfBoolean_3; - TColStd_Array1OfBoolean_4: typeof TColStd_Array1OfBoolean_4; - TColStd_Array1OfBoolean_5: typeof TColStd_Array1OfBoolean_5; - TColStd_Array1OfInteger: typeof TColStd_Array1OfInteger; - TColStd_Array1OfInteger_1: typeof TColStd_Array1OfInteger_1; - TColStd_Array1OfInteger_2: typeof TColStd_Array1OfInteger_2; - TColStd_Array1OfInteger_3: typeof TColStd_Array1OfInteger_3; - TColStd_Array1OfInteger_4: typeof TColStd_Array1OfInteger_4; - TColStd_Array1OfInteger_5: typeof TColStd_Array1OfInteger_5; - TColStd_Array1OfReal: typeof TColStd_Array1OfReal; - TColStd_Array1OfReal_1: typeof TColStd_Array1OfReal_1; - TColStd_Array1OfReal_2: typeof TColStd_Array1OfReal_2; - TColStd_Array1OfReal_3: typeof TColStd_Array1OfReal_3; - TColStd_Array1OfReal_4: typeof TColStd_Array1OfReal_4; - TColStd_Array1OfReal_5: typeof TColStd_Array1OfReal_5; - TColgp_Array1OfDir: typeof TColgp_Array1OfDir; - TColgp_Array1OfDir_1: typeof TColgp_Array1OfDir_1; - TColgp_Array1OfDir_2: typeof TColgp_Array1OfDir_2; - TColgp_Array1OfDir_3: typeof TColgp_Array1OfDir_3; - TColgp_Array1OfDir_4: typeof TColgp_Array1OfDir_4; - TColgp_Array1OfDir_5: typeof TColgp_Array1OfDir_5; - TColgp_Array1OfPnt: typeof TColgp_Array1OfPnt; - TColgp_Array1OfPnt_1: typeof TColgp_Array1OfPnt_1; - TColgp_Array1OfPnt_2: typeof TColgp_Array1OfPnt_2; - TColgp_Array1OfPnt_3: typeof TColgp_Array1OfPnt_3; - TColgp_Array1OfPnt_4: typeof TColgp_Array1OfPnt_4; - TColgp_Array1OfPnt_5: typeof TColgp_Array1OfPnt_5; - TColgp_Array1OfPnt2d: typeof TColgp_Array1OfPnt2d; - TColgp_Array1OfPnt2d_1: typeof TColgp_Array1OfPnt2d_1; - TColgp_Array1OfPnt2d_2: typeof TColgp_Array1OfPnt2d_2; - TColgp_Array1OfPnt2d_3: typeof TColgp_Array1OfPnt2d_3; - TColgp_Array1OfPnt2d_4: typeof TColgp_Array1OfPnt2d_4; - TColgp_Array1OfPnt2d_5: typeof TColgp_Array1OfPnt2d_5; - TColgp_Array1OfVec: typeof TColgp_Array1OfVec; - TColgp_Array1OfVec_1: typeof TColgp_Array1OfVec_1; - TColgp_Array1OfVec_2: typeof TColgp_Array1OfVec_2; - TColgp_Array1OfVec_3: typeof TColgp_Array1OfVec_3; - TColgp_Array1OfVec_4: typeof TColgp_Array1OfVec_4; - TColgp_Array1OfVec_5: typeof TColgp_Array1OfVec_5; - TColgp_Array2OfPnt: typeof TColgp_Array2OfPnt; - TColgp_Array2OfPnt_1: typeof TColgp_Array2OfPnt_1; - TColgp_Array2OfPnt_2: typeof TColgp_Array2OfPnt_2; - TColgp_Array2OfPnt_3: typeof TColgp_Array2OfPnt_3; - TColgp_Array2OfPnt_4: typeof TColgp_Array2OfPnt_4; - TColgp_Array2OfPnt_5: typeof TColgp_Array2OfPnt_5; - TCollection_ExtendedString: typeof TCollection_ExtendedString; - TCollection_ExtendedString_1: typeof TCollection_ExtendedString_1; - TCollection_ExtendedString_2: typeof TCollection_ExtendedString_2; - TCollection_ExtendedString_3: typeof TCollection_ExtendedString_3; - TCollection_ExtendedString_4: typeof TCollection_ExtendedString_4; - TCollection_ExtendedString_5: typeof TCollection_ExtendedString_5; - TCollection_ExtendedString_6: typeof TCollection_ExtendedString_6; - TCollection_ExtendedString_7: typeof TCollection_ExtendedString_7; - TCollection_ExtendedString_8: typeof TCollection_ExtendedString_8; - TCollection_ExtendedString_9: typeof TCollection_ExtendedString_9; - TCollection_ExtendedString_10: typeof TCollection_ExtendedString_10; - TCollection_ExtendedString_11: typeof TCollection_ExtendedString_11; - TCollection_ExtendedString_12: typeof TCollection_ExtendedString_12; - TDF_Attribute: typeof TDF_Attribute; - TDF_Label: typeof TDF_Label; - TDataStd_GenericEmpty: typeof TDataStd_GenericEmpty; - TDataStd_GenericExtString: typeof TDataStd_GenericExtString; - Handle_TDataStd_Name: typeof Handle_TDataStd_Name; - Handle_TDataStd_Name_1: typeof Handle_TDataStd_Name_1; - Handle_TDataStd_Name_2: typeof Handle_TDataStd_Name_2; - Handle_TDataStd_Name_3: typeof Handle_TDataStd_Name_3; - Handle_TDataStd_Name_4: typeof Handle_TDataStd_Name_4; - TDataStd_Name: typeof TDataStd_Name; - Handle_TDocStd_Document: typeof Handle_TDocStd_Document; - Handle_TDocStd_Document_1: typeof Handle_TDocStd_Document_1; - Handle_TDocStd_Document_2: typeof Handle_TDocStd_Document_2; - Handle_TDocStd_Document_3: typeof Handle_TDocStd_Document_3; - Handle_TDocStd_Document_4: typeof Handle_TDocStd_Document_4; - TDocStd_Document: typeof TDocStd_Document; - TopAbs_Orientation: TopAbs_Orientation; - TopAbs_ShapeEnum: TopAbs_ShapeEnum; - TopExp_Explorer: typeof TopExp_Explorer; - TopExp_Explorer_1: typeof TopExp_Explorer_1; - TopExp_Explorer_2: typeof TopExp_Explorer_2; - TopLoc_Location: typeof TopLoc_Location; - TopLoc_Location_1: typeof TopLoc_Location_1; - TopLoc_Location_2: typeof TopLoc_Location_2; - TopLoc_Location_3: typeof TopLoc_Location_3; - TopTools_ListOfShape: typeof TopTools_ListOfShape; - TopTools_ListOfShape_1: typeof TopTools_ListOfShape_1; - TopTools_ListOfShape_2: typeof TopTools_ListOfShape_2; - TopTools_ListOfShape_3: typeof TopTools_ListOfShape_3; - TopoDS: typeof TopoDS; - TopoDS_Builder: typeof TopoDS_Builder; - TopoDS_CompSolid: typeof TopoDS_CompSolid; - TopoDS_Compound: typeof TopoDS_Compound; - TopoDS_Edge: typeof TopoDS_Edge; - TopoDS_Face: typeof TopoDS_Face; - TopoDS_Shape: typeof TopoDS_Shape; - TopoDS_Shell: typeof TopoDS_Shell; - TopoDS_Solid: typeof TopoDS_Solid; - TopoDS_Vertex: typeof TopoDS_Vertex; - TopoDS_Wire: typeof TopoDS_Wire; - Handle_XCAFDoc_ColorTool: typeof Handle_XCAFDoc_ColorTool; - Handle_XCAFDoc_ColorTool_1: typeof Handle_XCAFDoc_ColorTool_1; - Handle_XCAFDoc_ColorTool_2: typeof Handle_XCAFDoc_ColorTool_2; - Handle_XCAFDoc_ColorTool_3: typeof Handle_XCAFDoc_ColorTool_3; - Handle_XCAFDoc_ColorTool_4: typeof Handle_XCAFDoc_ColorTool_4; - XCAFDoc_ColorTool: typeof XCAFDoc_ColorTool; - XCAFDoc_ColorType: XCAFDoc_ColorType; - XCAFDoc_DocumentTool: typeof XCAFDoc_DocumentTool; - XCAFDoc_LengthUnit: typeof XCAFDoc_LengthUnit; - Handle_XCAFDoc_ShapeTool: typeof Handle_XCAFDoc_ShapeTool; - Handle_XCAFDoc_ShapeTool_1: typeof Handle_XCAFDoc_ShapeTool_1; - Handle_XCAFDoc_ShapeTool_2: typeof Handle_XCAFDoc_ShapeTool_2; - Handle_XCAFDoc_ShapeTool_3: typeof Handle_XCAFDoc_ShapeTool_3; - Handle_XCAFDoc_ShapeTool_4: typeof Handle_XCAFDoc_ShapeTool_4; - XCAFDoc_ShapeTool: typeof XCAFDoc_ShapeTool; - XSControl_Reader: typeof XSControl_Reader; - XSControl_Reader_1: typeof XSControl_Reader_1; - XSControl_Reader_2: typeof XSControl_Reader_2; - XSControl_Reader_3: typeof XSControl_Reader_3; - Handle_XSControl_WorkSession: typeof Handle_XSControl_WorkSession; - Handle_XSControl_WorkSession_1: typeof Handle_XSControl_WorkSession_1; - Handle_XSControl_WorkSession_2: typeof Handle_XSControl_WorkSession_2; - Handle_XSControl_WorkSession_3: typeof Handle_XSControl_WorkSession_3; - Handle_XSControl_WorkSession_4: typeof Handle_XSControl_WorkSession_4; - XSControl_WorkSession: typeof XSControl_WorkSession; - gp_Ax1: typeof gp_Ax1; - gp_Ax1_1: typeof gp_Ax1_1; - gp_Ax1_2: typeof gp_Ax1_2; - gp_Ax2: typeof gp_Ax2; - gp_Ax2_1: typeof gp_Ax2_1; - gp_Ax2_2: typeof gp_Ax2_2; - gp_Ax2_3: typeof gp_Ax2_3; - gp_Ax22d: typeof gp_Ax22d; - gp_Ax22d_1: typeof gp_Ax22d_1; - gp_Ax22d_2: typeof gp_Ax22d_2; - gp_Ax22d_3: typeof gp_Ax22d_3; - gp_Ax22d_4: typeof gp_Ax22d_4; - gp_Ax2d: typeof gp_Ax2d; - gp_Ax2d_1: typeof gp_Ax2d_1; - gp_Ax2d_2: typeof gp_Ax2d_2; - gp_Ax3: typeof gp_Ax3; - gp_Ax3_1: typeof gp_Ax3_1; - gp_Ax3_2: typeof gp_Ax3_2; - gp_Ax3_3: typeof gp_Ax3_3; - gp_Ax3_4: typeof gp_Ax3_4; - gp_Circ: typeof gp_Circ; - gp_Circ_1: typeof gp_Circ_1; - gp_Circ_2: typeof gp_Circ_2; - gp_Circ2d: typeof gp_Circ2d; - gp_Circ2d_1: typeof gp_Circ2d_1; - gp_Circ2d_2: typeof gp_Circ2d_2; - gp_Circ2d_3: typeof gp_Circ2d_3; - gp_Cylinder: typeof gp_Cylinder; - gp_Cylinder_1: typeof gp_Cylinder_1; - gp_Cylinder_2: typeof gp_Cylinder_2; - gp_Dir: typeof gp_Dir; - gp_Dir_1: typeof gp_Dir_1; - gp_Dir_2: typeof gp_Dir_2; - gp_Dir_3: typeof gp_Dir_3; - gp_Dir_4: typeof gp_Dir_4; - gp_Dir2d: typeof gp_Dir2d; - gp_Dir2d_1: typeof gp_Dir2d_1; - gp_Dir2d_2: typeof gp_Dir2d_2; - gp_Dir2d_3: typeof gp_Dir2d_3; - gp_Dir2d_4: typeof gp_Dir2d_4; - gp_Elips: typeof gp_Elips; - gp_Elips_1: typeof gp_Elips_1; - gp_Elips_2: typeof gp_Elips_2; - gp_Elips2d: typeof gp_Elips2d; - gp_Elips2d_1: typeof gp_Elips2d_1; - gp_Elips2d_2: typeof gp_Elips2d_2; - gp_Elips2d_3: typeof gp_Elips2d_3; - gp_GTrsf: typeof gp_GTrsf; - gp_GTrsf_1: typeof gp_GTrsf_1; - gp_GTrsf_2: typeof gp_GTrsf_2; - gp_GTrsf_3: typeof gp_GTrsf_3; - gp_GTrsf2d: typeof gp_GTrsf2d; - gp_GTrsf2d_1: typeof gp_GTrsf2d_1; - gp_GTrsf2d_2: typeof gp_GTrsf2d_2; - gp_GTrsf2d_3: typeof gp_GTrsf2d_3; - gp_Pnt: typeof gp_Pnt; - gp_Pnt_1: typeof gp_Pnt_1; - gp_Pnt_2: typeof gp_Pnt_2; - gp_Pnt_3: typeof gp_Pnt_3; - gp_Pnt2d: typeof gp_Pnt2d; - gp_Pnt2d_1: typeof gp_Pnt2d_1; - gp_Pnt2d_2: typeof gp_Pnt2d_2; - gp_Pnt2d_3: typeof gp_Pnt2d_3; - gp_Trsf: typeof gp_Trsf; - gp_Trsf_1: typeof gp_Trsf_1; - gp_Trsf_2: typeof gp_Trsf_2; - gp_Trsf2d: typeof gp_Trsf2d; - gp_Trsf2d_1: typeof gp_Trsf2d_1; - gp_Trsf2d_2: typeof gp_Trsf2d_2; - gp_Vec: typeof gp_Vec; - gp_Vec_1: typeof gp_Vec_1; - gp_Vec_2: typeof gp_Vec_2; - gp_Vec_3: typeof gp_Vec_3; - gp_Vec_4: typeof gp_Vec_4; - gp_Vec_5: typeof gp_Vec_5; - gp_Vec2d: typeof gp_Vec2d; - gp_Vec2d_1: typeof gp_Vec2d_1; - gp_Vec2d_2: typeof gp_Vec2d_2; - gp_Vec2d_3: typeof gp_Vec2d_3; - gp_Vec2d_4: typeof gp_Vec2d_4; - gp_Vec2d_5: typeof gp_Vec2d_5; - gp_XY: typeof gp_XY; - gp_XY_1: typeof gp_XY_1; - gp_XY_2: typeof gp_XY_2; - gp_XYZ: typeof gp_XYZ; - gp_XYZ_1: typeof gp_XYZ_1; - gp_XYZ_2: typeof gp_XYZ_2; -}; - -declare function init(): Promise; - -export default init; diff --git a/packages/replicad-opencascadejs/src/replicad_no_exception.js b/packages/replicad-opencascadejs/src/replicad_no_exception.js deleted file mode 100644 index 62e7c27..0000000 --- a/packages/replicad-opencascadejs/src/replicad_no_exception.js +++ /dev/null @@ -1,16 +0,0 @@ - -var Module = (() => { - var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined; - if (typeof __filename !== 'undefined') _scriptDir = _scriptDir || __filename; - return ( -function(Module) { - Module = Module || {}; - -var Module=typeof Module!="undefined"?Module:{};var readyPromiseResolve,readyPromiseReject;Module["ready"]=new Promise(function(resolve,reject){readyPromiseResolve=resolve;readyPromiseReject=reject});var moduleOverrides=Object.assign({},Module);var arguments_=[];var thisProgram="./this.program";var quit_=(status,toThrow)=>{throw toThrow};var ENVIRONMENT_IS_WEB=typeof window=="object";var ENVIRONMENT_IS_WORKER=typeof importScripts=="function";var ENVIRONMENT_IS_NODE=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string";var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;function logExceptionOnExit(e){if(e instanceof ExitStatus)return;let toLog=e;err("exiting due to exception: "+toLog)}var fs;var nodePath;var requireNodeFS;if(ENVIRONMENT_IS_NODE){if(ENVIRONMENT_IS_WORKER){scriptDirectory=require("path").dirname(scriptDirectory)+"/"}else{scriptDirectory=__dirname+"/"}requireNodeFS=()=>{if(!nodePath){fs=require("fs");nodePath=require("path")}};read_=function shell_read(filename,binary){requireNodeFS();filename=nodePath["normalize"](filename);return fs.readFileSync(filename,binary?undefined:"utf8")};readBinary=filename=>{var ret=read_(filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}return ret};readAsync=(filename,onload,onerror)=>{requireNodeFS();filename=nodePath["normalize"](filename);fs.readFile(filename,function(err,data){if(err)onerror(err);else onload(data.buffer)})};if(process["argv"].length>1){thisProgram=process["argv"][1].replace(/\\/g,"/")}arguments_=process["argv"].slice(2);process["on"]("uncaughtException",function(ex){if(!(ex instanceof ExitStatus)){throw ex}});process["on"]("unhandledRejection",function(reason){throw reason});quit_=(status,toThrow)=>{if(keepRuntimeAlive()){process["exitCode"]=status;throw toThrow}logExceptionOnExit(toThrow);process["exit"](status)};Module["inspect"]=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(typeof document!="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(_scriptDir){scriptDirectory=_scriptDir}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=url=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=url=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}}readAsync=(url,onload,onerror)=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=()=>{if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=title=>document.title=title}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);Object.assign(Module,moduleOverrides);moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var POINTER_SIZE=4;var tempRet0=0;var setTempRet0=value=>{tempRet0=value};var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime=Module["noExitRuntime"]||true;if(typeof WebAssembly!="object"){abort("no native wasm support detected")}var wasmMemory;var ABORT=false;var EXITSTATUS;function assert(condition,text){if(!condition){abort(text)}}var UTF8Decoder=typeof TextDecoder!="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(heapOrArray,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heapOrArray[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heapOrArray.buffer&&UTF8Decoder){return UTF8Decoder.decode(heapOrArray.subarray(idx,endPtr))}else{var str="";while(idx>10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,heap,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127)++len;else if(u<=2047)len+=2;else if(u<=65535)len+=3;else len+=4}return len}var UTF16Decoder=typeof TextDecoder!="undefined"?new TextDecoder("utf-16le"):undefined;function UTF16ToString(ptr,maxBytesToRead){var endPtr=ptr;var idx=endPtr>>1;var maxIdx=idx+maxBytesToRead/2;while(!(idx>=maxIdx)&&HEAPU16[idx])++idx;endPtr=idx<<1;if(endPtr-ptr>32&&UTF16Decoder){return UTF16Decoder.decode(HEAPU8.subarray(ptr,endPtr))}else{var str="";for(var i=0;!(i>=maxBytesToRead/2);++i){var codeUnit=HEAP16[ptr+i*2>>1];if(codeUnit==0)break;str+=String.fromCharCode(codeUnit)}return str}}function stringToUTF16(str,outPtr,maxBytesToWrite){if(maxBytesToWrite===undefined){maxBytesToWrite=2147483647}if(maxBytesToWrite<2)return 0;maxBytesToWrite-=2;var startPtr=outPtr;var numCharsToWrite=maxBytesToWrite>1]=codeUnit;outPtr+=2}HEAP16[outPtr>>1]=0;return outPtr-startPtr}function lengthBytesUTF16(str){return str.length*2}function UTF32ToString(ptr,maxBytesToRead){var i=0;var str="";while(!(i>=maxBytesToRead/4)){var utf32=HEAP32[ptr+i*4>>2];if(utf32==0)break;++i;if(utf32>=65536){var ch=utf32-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}else{str+=String.fromCharCode(utf32)}}return str}function stringToUTF32(str,outPtr,maxBytesToWrite){if(maxBytesToWrite===undefined){maxBytesToWrite=2147483647}if(maxBytesToWrite<4)return 0;var startPtr=outPtr;var endPtr=startPtr+maxBytesToWrite-4;for(var i=0;i=55296&&codeUnit<=57343){var trailSurrogate=str.charCodeAt(++i);codeUnit=65536+((codeUnit&1023)<<10)|trailSurrogate&1023}HEAP32[outPtr>>2]=codeUnit;outPtr+=4;if(outPtr+4>endPtr)break}HEAP32[outPtr>>2]=0;return outPtr-startPtr}function lengthBytesUTF32(str){var len=0;for(var i=0;i=55296&&codeUnit<=57343)++i;len+=4}return len}function allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}var buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var INITIAL_MEMORY=Module["INITIAL_MEMORY"]||16777216;var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;function keepRuntimeAlive(){return noExitRuntime}function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=true;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();FS.ignorePermissions=false;TTY.init();callRuntimeCallbacks(__ATINIT__)}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}function addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}function abort(what){{if(Module["onAbort"]){Module["onAbort"](what)}}what="Aborted("+what+")";err(what);ABORT=true;EXITSTATUS=1;what+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(what);readyPromiseReject(e);throw e}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return filename.startsWith(dataURIPrefix)}function isFileURI(filename){return filename.startsWith("file://")}var wasmBinaryFile;wasmBinaryFile="replicad_no_exception.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(file)}else{throw"both async and sync fetching of the wasm failed"}}catch(err){abort(err)}}function getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if(typeof fetch=="function"&&!isFileURI(wasmBinaryFile)){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw"failed to load wasm binary file at '"+wasmBinaryFile+"'"}return response["arrayBuffer"]()}).catch(function(){return getBinary(wasmBinaryFile)})}else{if(readAsync){return new Promise(function(resolve,reject){readAsync(wasmBinaryFile,function(response){resolve(new Uint8Array(response))},reject)})}}}return Promise.resolve().then(function(){return getBinary(wasmBinaryFile)})}function createWasm(){var info={"a":asmLibraryArg};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;wasmMemory=Module["asm"]["oa"];updateGlobalBufferAndViews(wasmMemory.buffer);wasmTable=Module["asm"]["va"];addOnInit(Module["asm"]["pa"]);removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiationResult(result){receiveInstance(result["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(function(instance){return instance}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming=="function"&&!isDataURI(wasmBinaryFile)&&!isFileURI(wasmBinaryFile)&&!ENVIRONMENT_IS_NODE&&typeof fetch=="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiationResult,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(receiveInstantiationResult)})})}else{return instantiateArrayBuffer(receiveInstantiationResult)}}if(Module["instantiateWasm"]){try{var exports=Module["instantiateWasm"](info,receiveInstance);return exports}catch(e){err("Module.instantiateWasm callback failed with error: "+e);return false}}instantiateAsync().catch(readyPromiseReject);return{}}var tempDouble;var tempI64;function OSD_MemInfo_getModuleHeapLength(){return Module.HEAP8.length}function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback(Module);continue}var func=callback.func;if(typeof func=="number"){if(callback.arg===undefined){getWasmTableEntry(func)()}else{getWasmTableEntry(func)(callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}var wasmTableMirror=[];function getWasmTableEntry(funcPtr){var func=wasmTableMirror[funcPtr];if(!func){if(funcPtr>=wasmTableMirror.length)wasmTableMirror.length=funcPtr+1;wasmTableMirror[funcPtr]=func=wasmTable.get(funcPtr)}return func}function ___assert_fail(condition,filename,line,func){abort("Assertion failed: "+UTF8ToString(condition)+", at: "+[filename?UTF8ToString(filename):"unknown filename",line,func?UTF8ToString(func):"unknown function"])}function ___cxa_allocate_exception(size){return _malloc(size+24)+24}function ExceptionInfo(excPtr){this.excPtr=excPtr;this.ptr=excPtr-24;this.set_type=function(type){HEAPU32[this.ptr+4>>2]=type};this.get_type=function(){return HEAPU32[this.ptr+4>>2]};this.set_destructor=function(destructor){HEAPU32[this.ptr+8>>2]=destructor};this.get_destructor=function(){return HEAPU32[this.ptr+8>>2]};this.set_refcount=function(refcount){HEAP32[this.ptr>>2]=refcount};this.set_caught=function(caught){caught=caught?1:0;HEAP8[this.ptr+12>>0]=caught};this.get_caught=function(){return HEAP8[this.ptr+12>>0]!=0};this.set_rethrown=function(rethrown){rethrown=rethrown?1:0;HEAP8[this.ptr+13>>0]=rethrown};this.get_rethrown=function(){return HEAP8[this.ptr+13>>0]!=0};this.init=function(type,destructor){this.set_adjusted_ptr(0);this.set_type(type);this.set_destructor(destructor);this.set_refcount(0);this.set_caught(false);this.set_rethrown(false)};this.add_ref=function(){var value=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=value+1};this.release_ref=function(){var prev=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=prev-1;return prev===1};this.set_adjusted_ptr=function(adjustedPtr){HEAPU32[this.ptr+16>>2]=adjustedPtr};this.get_adjusted_ptr=function(){return HEAPU32[this.ptr+16>>2]};this.get_exception_ptr=function(){var isPointer=___cxa_is_pointer_type(this.get_type());if(isPointer){return HEAPU32[this.excPtr>>2]}var adjusted=this.get_adjusted_ptr();if(adjusted!==0)return adjusted;return this.excPtr}}var exceptionLast=0;var uncaughtExceptionCount=0;function ___cxa_throw(ptr,type,destructor){var info=new ExceptionInfo(ptr);info.init(type,destructor);exceptionLast=ptr;uncaughtExceptionCount++;throw ptr}var PATH={isAbs:path=>path.charAt(0)==="/",splitPath:filename=>{var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)},normalizeArray:(parts,allowAboveRoot)=>{var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up;up--){parts.unshift("..")}}return parts},normalize:path=>{var isAbsolute=PATH.isAbs(path),trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter(p=>!!p),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path},dirname:path=>{var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir},basename:path=>{if(path==="/")return"/";path=PATH.normalize(path);path=path.replace(/\/$/,"");var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)},join:function(){var paths=Array.prototype.slice.call(arguments,0);return PATH.normalize(paths.join("/"))},join2:(l,r)=>{return PATH.normalize(l+"/"+r)}};function getRandomDevice(){if(typeof crypto=="object"&&typeof crypto["getRandomValues"]=="function"){var randomBuffer=new Uint8Array(1);return function(){crypto.getRandomValues(randomBuffer);return randomBuffer[0]}}else if(ENVIRONMENT_IS_NODE){try{var crypto_module=require("crypto");return function(){return crypto_module["randomBytes"](1)[0]}}catch(e){}}return function(){abort("randomDevice")}}var PATH_FS={resolve:function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=PATH.isAbs(path)}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(p=>!!p),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:(from,to)=>{from=PATH_FS.resolve(from).substr(1);to=PATH_FS.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()},put_char:function(tty,val){if(val===null||val===10){out(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}}},default_tty1_ops:{put_char:function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output,0));tty.output=[]}}}};function zeroMemory(address,size){HEAPU8.fill(0,address,address+size)}function alignMemory(size,alignment){return Math.ceil(size/alignment)*alignment}function mmapAlloc(size){size=alignMemory(size,65536);var ptr=_emscripten_builtin_memalign(65536,size);if(!ptr)return 0;zeroMemory(ptr,size);return ptr}var MEMFS={ops_table:null,mount:function(mount){return MEMFS.createNode(null,"/",16384|511,0)},createNode:function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(63)}if(!MEMFS.ops_table){MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}}}var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node;parent.timestamp=node.timestamp}return node},getFileDataAsTypedArray:function(node){if(!node.contents)return new Uint8Array(0);if(node.contents.subarray)return node.contents.subarray(0,node.usedBytes);return new Uint8Array(node.contents)},expandFileStorage:function(node,newCapacity){var prevCapacity=node.contents?node.contents.length:0;if(prevCapacity>=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity>>0);if(prevCapacity!=0)newCapacity=Math.max(newCapacity,256);var oldContents=node.contents;node.contents=new Uint8Array(newCapacity);if(node.usedBytes>0)node.contents.set(oldContents.subarray(0,node.usedBytes),0)},resizeFileStorage:function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0}else{var oldContents=node.contents;node.contents=new Uint8Array(newSize);if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize}},node_ops:{getattr:function(node){var attr={};attr.dev=FS.isChrdev(node.mode)?node.id:1;attr.ino=node.id;attr.mode=node.mode;attr.nlink=1;attr.uid=0;attr.gid=0;attr.rdev=node.rdev;if(FS.isDir(node.mode)){attr.size=4096}else if(FS.isFile(node.mode)){attr.size=node.usedBytes}else if(FS.isLink(node.mode)){attr.size=node.link.length}else{attr.size=0}attr.atime=new Date(node.timestamp);attr.mtime=new Date(node.timestamp);attr.ctime=new Date(node.timestamp);attr.blksize=4096;attr.blocks=Math.ceil(attr.size/attr.blksize);return attr},setattr:function(node,attr){if(attr.mode!==undefined){node.mode=attr.mode}if(attr.timestamp!==undefined){node.timestamp=attr.timestamp}if(attr.size!==undefined){MEMFS.resizeFileStorage(node,attr.size)}},lookup:function(parent,name){throw FS.genericErrors[44]},mknod:function(parent,name,mode,dev){return MEMFS.createNode(parent,name,mode,dev)},rename:function(old_node,new_dir,new_name){if(FS.isDir(old_node.mode)){var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(new_node){for(var i in new_node.contents){throw new FS.ErrnoError(55)}}}delete old_node.parent.contents[old_node.name];old_node.parent.timestamp=Date.now();old_node.name=new_name;new_dir.contents[new_name]=old_node;new_dir.timestamp=old_node.parent.timestamp;old_node.parent=new_dir},unlink:function(parent,name){delete parent.contents[name];parent.timestamp=Date.now()},rmdir:function(parent,name){var node=FS.lookupNode(parent,name);for(var i in node.contents){throw new FS.ErrnoError(55)}delete parent.contents[name];parent.timestamp=Date.now()},readdir:function(node){var entries=[".",".."];for(var key in node.contents){if(!node.contents.hasOwnProperty(key)){continue}entries.push(key)}return entries},symlink:function(parent,newname,oldpath){var node=MEMFS.createNode(parent,newname,511|40960,0);node.link=oldpath;return node},readlink:function(node){if(!FS.isLink(node.mode)){throw new FS.ErrnoError(28)}return node.link}},stream_ops:{read:function(stream,buffer,offset,length,position){var contents=stream.node.contents;if(position>=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+length{path=PATH_FS.resolve(FS.cwd(),path);if(!path)return{path:"",node:null};var defaults={follow_mount:true,recurse_count:0};opts=Object.assign(defaults,opts);if(opts.recurse_count>8){throw new FS.ErrnoError(32)}var parts=PATH.normalizeArray(path.split("/").filter(p=>!!p),false);var current=FS.root;var current_path="/";for(var i=0;i40){throw new FS.ErrnoError(32)}}}}return{path:current_path,node:current}},getPath:node=>{var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}},hashName:(parentid,name)=>{var hash=0;for(var i=0;i>>0)%FS.nameTable.length},hashAddNode:node=>{var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node},hashRemoveNode:node=>{var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}},lookupNode:(parent,name)=>{var errCode=FS.mayLookup(parent);if(errCode){throw new FS.ErrnoError(errCode,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)},createNode:(parent,name,mode,rdev)=>{var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node},destroyNode:node=>{FS.hashRemoveNode(node)},isRoot:node=>{return node===node.parent},isMountpoint:node=>{return!!node.mounted},isFile:mode=>{return(mode&61440)===32768},isDir:mode=>{return(mode&61440)===16384},isLink:mode=>{return(mode&61440)===40960},isChrdev:mode=>{return(mode&61440)===8192},isBlkdev:mode=>{return(mode&61440)===24576},isFIFO:mode=>{return(mode&61440)===4096},isSocket:mode=>{return(mode&49152)===49152},flagModes:{"r":0,"r+":2,"w":577,"w+":578,"a":1089,"a+":1090},modeStringToFlags:str=>{var flags=FS.flagModes[str];if(typeof flags=="undefined"){throw new Error("Unknown file open mode: "+str)}return flags},flagsToPermissionString:flag=>{var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms},nodePermissions:(node,perms)=>{if(FS.ignorePermissions){return 0}if(perms.includes("r")&&!(node.mode&292)){return 2}else if(perms.includes("w")&&!(node.mode&146)){return 2}else if(perms.includes("x")&&!(node.mode&73)){return 2}return 0},mayLookup:dir=>{var errCode=FS.nodePermissions(dir,"x");if(errCode)return errCode;if(!dir.node_ops.lookup)return 2;return 0},mayCreate:(dir,name)=>{try{var node=FS.lookupNode(dir,name);return 20}catch(e){}return FS.nodePermissions(dir,"wx")},mayDelete:(dir,name,isdir)=>{var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var errCode=FS.nodePermissions(dir,"wx");if(errCode){return errCode}if(isdir){if(!FS.isDir(node.mode)){return 54}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 10}}else{if(FS.isDir(node.mode)){return 31}}return 0},mayOpen:(node,flags)=>{if(!node){return 44}if(FS.isLink(node.mode)){return 32}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 31}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd:(fd_start=0,fd_end=FS.MAX_OPEN_FDS)=>{for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(33)},getStream:fd=>FS.streams[fd],createStream:(stream,fd_start,fd_end)=>{if(!FS.FSStream){FS.FSStream=function(){this.shared={}};FS.FSStream.prototype={};Object.defineProperties(FS.FSStream.prototype,{object:{get:function(){return this.node},set:function(val){this.node=val}},isRead:{get:function(){return(this.flags&2097155)!==1}},isWrite:{get:function(){return(this.flags&2097155)!==0}},isAppend:{get:function(){return this.flags&1024}},flags:{get:function(){return this.shared.flags},set:function(val){this.shared.flags=val}},position:{get:function(){return this.shared.position},set:function(val){this.shared.position=val}}})}stream=Object.assign(new FS.FSStream,stream);var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream},closeStream:fd=>{FS.streams[fd]=null},chrdev_stream_ops:{open:stream=>{var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}},llseek:()=>{throw new FS.ErrnoError(70)}},major:dev=>dev>>8,minor:dev=>dev&255,makedev:(ma,mi)=>ma<<8|mi,registerDevice:(dev,ops)=>{FS.devices[dev]={stream_ops:ops}},getDevice:dev=>FS.devices[dev],getMounts:mount=>{var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts},syncfs:(populate,callback)=>{if(typeof populate=="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){err("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(errCode){FS.syncFSRequests--;return callback(errCode)}function done(errCode){if(errCode){if(!done.errored){done.errored=true;return doCallback(errCode)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(mount=>{if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount:(type,opts,mountpoint)=>{var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(10)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount:mountpoint=>{var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(28)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(hash=>{var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.includes(current.mount)){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup:(parent,name)=>{return parent.node_ops.lookup(parent,name)},mknod:(path,mode,dev)=>{var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(28)}var errCode=FS.mayCreate(parent,name);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(63)}return parent.node_ops.mknod(parent,name,mode,dev)},create:(path,mode)=>{mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)},mkdir:(path,mode)=>{mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)},mkdirTree:(path,mode)=>{var dirs=path.split("/");var d="";for(var i=0;i{if(typeof dev=="undefined"){dev=mode;mode=438}mode|=8192;return FS.mknod(path,mode,dev)},symlink:(oldpath,newpath)=>{if(!PATH_FS.resolve(oldpath)){throw new FS.ErrnoError(44)}var lookup=FS.lookupPath(newpath,{parent:true});var parent=lookup.node;if(!parent){throw new FS.ErrnoError(44)}var newname=PATH.basename(newpath);var errCode=FS.mayCreate(parent,newname);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.symlink){throw new FS.ErrnoError(63)}return parent.node_ops.symlink(parent,newname,oldpath)},rename:(old_path,new_path)=>{var old_dirname=PATH.dirname(old_path);var new_dirname=PATH.dirname(new_path);var old_name=PATH.basename(old_path);var new_name=PATH.basename(new_path);var lookup,old_dir,new_dir;lookup=FS.lookupPath(old_path,{parent:true});old_dir=lookup.node;lookup=FS.lookupPath(new_path,{parent:true});new_dir=lookup.node;if(!old_dir||!new_dir)throw new FS.ErrnoError(44);if(old_dir.mount!==new_dir.mount){throw new FS.ErrnoError(75)}var old_node=FS.lookupNode(old_dir,old_name);var relative=PATH_FS.relative(old_path,new_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(28)}relative=PATH_FS.relative(new_path,old_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(55)}var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(old_node===new_node){return}var isdir=FS.isDir(old_node.mode);var errCode=FS.mayDelete(old_dir,old_name,isdir);if(errCode){throw new FS.ErrnoError(errCode)}errCode=new_node?FS.mayDelete(new_dir,new_name,isdir):FS.mayCreate(new_dir,new_name);if(errCode){throw new FS.ErrnoError(errCode)}if(!old_dir.node_ops.rename){throw new FS.ErrnoError(63)}if(FS.isMountpoint(old_node)||new_node&&FS.isMountpoint(new_node)){throw new FS.ErrnoError(10)}if(new_dir!==old_dir){errCode=FS.nodePermissions(old_dir,"w");if(errCode){throw new FS.ErrnoError(errCode)}}FS.hashRemoveNode(old_node);try{old_dir.node_ops.rename(old_node,new_dir,new_name)}catch(e){throw e}finally{FS.hashAddNode(old_node)}},rmdir:path=>{var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var errCode=FS.mayDelete(parent,name,true);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.rmdir){throw new FS.ErrnoError(63)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}parent.node_ops.rmdir(parent,name);FS.destroyNode(node)},readdir:path=>{var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;if(!node.node_ops.readdir){throw new FS.ErrnoError(54)}return node.node_ops.readdir(node)},unlink:path=>{var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;if(!parent){throw new FS.ErrnoError(44)}var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var errCode=FS.mayDelete(parent,name,false);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.unlink){throw new FS.ErrnoError(63)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}parent.node_ops.unlink(parent,name);FS.destroyNode(node)},readlink:path=>{var lookup=FS.lookupPath(path);var link=lookup.node;if(!link){throw new FS.ErrnoError(44)}if(!link.node_ops.readlink){throw new FS.ErrnoError(28)}return PATH_FS.resolve(FS.getPath(link.parent),link.node_ops.readlink(link))},stat:(path,dontFollow)=>{var lookup=FS.lookupPath(path,{follow:!dontFollow});var node=lookup.node;if(!node){throw new FS.ErrnoError(44)}if(!node.node_ops.getattr){throw new FS.ErrnoError(63)}return node.node_ops.getattr(node)},lstat:path=>{return FS.stat(path,true)},chmod:(path,mode,dontFollow)=>{var node;if(typeof path=="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}node.node_ops.setattr(node,{mode:mode&4095|node.mode&~4095,timestamp:Date.now()})},lchmod:(path,mode)=>{FS.chmod(path,mode,true)},fchmod:(fd,mode)=>{var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(8)}FS.chmod(stream.node,mode)},chown:(path,uid,gid,dontFollow)=>{var node;if(typeof path=="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}node.node_ops.setattr(node,{timestamp:Date.now()})},lchown:(path,uid,gid)=>{FS.chown(path,uid,gid,true)},fchown:(fd,uid,gid)=>{var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(8)}FS.chown(stream.node,uid,gid)},truncate:(path,len)=>{if(len<0){throw new FS.ErrnoError(28)}var node;if(typeof path=="string"){var lookup=FS.lookupPath(path,{follow:true});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}if(FS.isDir(node.mode)){throw new FS.ErrnoError(31)}if(!FS.isFile(node.mode)){throw new FS.ErrnoError(28)}var errCode=FS.nodePermissions(node,"w");if(errCode){throw new FS.ErrnoError(errCode)}node.node_ops.setattr(node,{size:len,timestamp:Date.now()})},ftruncate:(fd,len)=>{var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(28)}FS.truncate(stream.node,len)},utime:(path,atime,mtime)=>{var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;node.node_ops.setattr(node,{timestamp:Math.max(atime,mtime)})},open:(path,flags,mode)=>{if(path===""){throw new FS.ErrnoError(44)}flags=typeof flags=="string"?FS.modeStringToFlags(flags):flags;mode=typeof mode=="undefined"?438:mode;if(flags&64){mode=mode&4095|32768}else{mode=0}var node;if(typeof path=="object"){node=path}else{path=PATH.normalize(path);try{var lookup=FS.lookupPath(path,{follow:!(flags&131072)});node=lookup.node}catch(e){}}var created=false;if(flags&64){if(node){if(flags&128){throw new FS.ErrnoError(20)}}else{node=FS.mknod(path,mode,0);created=true}}if(!node){throw new FS.ErrnoError(44)}if(FS.isChrdev(node.mode)){flags&=~512}if(flags&65536&&!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}if(!created){var errCode=FS.mayOpen(node,flags);if(errCode){throw new FS.ErrnoError(errCode)}}if(flags&512&&!created){FS.truncate(node,0)}flags&=~(128|512|131072);var stream=FS.createStream({node:node,path:FS.getPath(node),flags:flags,seekable:true,position:0,stream_ops:node.stream_ops,ungotten:[],error:false});if(stream.stream_ops.open){stream.stream_ops.open(stream)}if(Module["logReadFiles"]&&!(flags&1)){if(!FS.readFiles)FS.readFiles={};if(!(path in FS.readFiles)){FS.readFiles[path]=1}}return stream},close:stream=>{if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(stream.getdents)stream.getdents=null;try{if(stream.stream_ops.close){stream.stream_ops.close(stream)}}catch(e){throw e}finally{FS.closeStream(stream.fd)}stream.fd=null},isClosed:stream=>{return stream.fd===null},llseek:(stream,offset,whence)=>{if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(!stream.seekable||!stream.stream_ops.llseek){throw new FS.ErrnoError(70)}if(whence!=0&&whence!=1&&whence!=2){throw new FS.ErrnoError(28)}stream.position=stream.stream_ops.llseek(stream,offset,whence);stream.ungotten=[];return stream.position},read:(stream,buffer,offset,length,position)=>{if(length<0||position<0){throw new FS.ErrnoError(28)}if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(8)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(31)}if(!stream.stream_ops.read){throw new FS.ErrnoError(28)}var seeking=typeof position!="undefined";if(!seeking){position=stream.position}else if(!stream.seekable){throw new FS.ErrnoError(70)}var bytesRead=stream.stream_ops.read(stream,buffer,offset,length,position);if(!seeking)stream.position+=bytesRead;return bytesRead},write:(stream,buffer,offset,length,position,canOwn)=>{if(length<0||position<0){throw new FS.ErrnoError(28)}if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(8)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(31)}if(!stream.stream_ops.write){throw new FS.ErrnoError(28)}if(stream.seekable&&stream.flags&1024){FS.llseek(stream,0,2)}var seeking=typeof position!="undefined";if(!seeking){position=stream.position}else if(!stream.seekable){throw new FS.ErrnoError(70)}var bytesWritten=stream.stream_ops.write(stream,buffer,offset,length,position,canOwn);if(!seeking)stream.position+=bytesWritten;return bytesWritten},allocate:(stream,offset,length)=>{if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(offset<0||length<=0){throw new FS.ErrnoError(28)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(8)}if(!FS.isFile(stream.node.mode)&&!FS.isDir(stream.node.mode)){throw new FS.ErrnoError(43)}if(!stream.stream_ops.allocate){throw new FS.ErrnoError(138)}stream.stream_ops.allocate(stream,offset,length)},mmap:(stream,length,position,prot,flags)=>{if((prot&2)!==0&&(flags&2)===0&&(stream.flags&2097155)!==2){throw new FS.ErrnoError(2)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(2)}if(!stream.stream_ops.mmap){throw new FS.ErrnoError(43)}return stream.stream_ops.mmap(stream,length,position,prot,flags)},msync:(stream,buffer,offset,length,mmapFlags)=>{if(!stream||!stream.stream_ops.msync){return 0}return stream.stream_ops.msync(stream,buffer,offset,length,mmapFlags)},munmap:stream=>0,ioctl:(stream,cmd,arg)=>{if(!stream.stream_ops.ioctl){throw new FS.ErrnoError(59)}return stream.stream_ops.ioctl(stream,cmd,arg)},readFile:(path,opts={})=>{opts.flags=opts.flags||0;opts.encoding=opts.encoding||"binary";if(opts.encoding!=="utf8"&&opts.encoding!=="binary"){throw new Error('Invalid encoding type "'+opts.encoding+'"')}var ret;var stream=FS.open(path,opts.flags);var stat=FS.stat(path);var length=stat.size;var buf=new Uint8Array(length);FS.read(stream,buf,0,length,0);if(opts.encoding==="utf8"){ret=UTF8ArrayToString(buf,0)}else if(opts.encoding==="binary"){ret=buf}FS.close(stream);return ret},writeFile:(path,data,opts={})=>{opts.flags=opts.flags||577;var stream=FS.open(path,opts.flags,opts.mode);if(typeof data=="string"){var buf=new Uint8Array(lengthBytesUTF8(data)+1);var actualNumBytes=stringToUTF8Array(data,buf,0,buf.length);FS.write(stream,buf,0,actualNumBytes,undefined,opts.canOwn)}else if(ArrayBuffer.isView(data)){FS.write(stream,data,0,data.byteLength,undefined,opts.canOwn)}else{throw new Error("Unsupported data type")}FS.close(stream)},cwd:()=>FS.currentPath,chdir:path=>{var lookup=FS.lookupPath(path,{follow:true});if(lookup.node===null){throw new FS.ErrnoError(44)}if(!FS.isDir(lookup.node.mode)){throw new FS.ErrnoError(54)}var errCode=FS.nodePermissions(lookup.node,"x");if(errCode){throw new FS.ErrnoError(errCode)}FS.currentPath=lookup.path},createDefaultDirectories:()=>{FS.mkdir("/tmp");FS.mkdir("/home");FS.mkdir("/home/web_user")},createDefaultDevices:()=>{FS.mkdir("/dev");FS.registerDevice(FS.makedev(1,3),{read:()=>0,write:(stream,buffer,offset,length,pos)=>length});FS.mkdev("/dev/null",FS.makedev(1,3));TTY.register(FS.makedev(5,0),TTY.default_tty_ops);TTY.register(FS.makedev(6,0),TTY.default_tty1_ops);FS.mkdev("/dev/tty",FS.makedev(5,0));FS.mkdev("/dev/tty1",FS.makedev(6,0));var random_device=getRandomDevice();FS.createDevice("/dev","random",random_device);FS.createDevice("/dev","urandom",random_device);FS.mkdir("/dev/shm");FS.mkdir("/dev/shm/tmp")},createSpecialDirectories:()=>{FS.mkdir("/proc");var proc_self=FS.mkdir("/proc/self");FS.mkdir("/proc/self/fd");FS.mount({mount:()=>{var node=FS.createNode(proc_self,"fd",16384|511,73);node.node_ops={lookup:(parent,name)=>{var fd=+name;var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);var ret={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>stream.path}};ret.parent=ret;return ret}};return node}},{},"/proc/self/fd")},createStandardStreams:()=>{if(Module["stdin"]){FS.createDevice("/dev","stdin",Module["stdin"])}else{FS.symlink("/dev/tty","/dev/stdin")}if(Module["stdout"]){FS.createDevice("/dev","stdout",null,Module["stdout"])}else{FS.symlink("/dev/tty","/dev/stdout")}if(Module["stderr"]){FS.createDevice("/dev","stderr",null,Module["stderr"])}else{FS.symlink("/dev/tty1","/dev/stderr")}var stdin=FS.open("/dev/stdin",0);var stdout=FS.open("/dev/stdout",1);var stderr=FS.open("/dev/stderr",1)},ensureErrnoError:()=>{if(FS.ErrnoError)return;FS.ErrnoError=function ErrnoError(errno,node){this.node=node;this.setErrno=function(errno){this.errno=errno};this.setErrno(errno);this.message="FS error"};FS.ErrnoError.prototype=new Error;FS.ErrnoError.prototype.constructor=FS.ErrnoError;[44].forEach(code=>{FS.genericErrors[code]=new FS.ErrnoError(code);FS.genericErrors[code].stack=""})},staticInit:()=>{FS.ensureErrnoError();FS.nameTable=new Array(4096);FS.mount(MEMFS,{},"/");FS.createDefaultDirectories();FS.createDefaultDevices();FS.createSpecialDirectories();FS.filesystems={"MEMFS":MEMFS}},init:(input,output,error)=>{FS.init.initialized=true;FS.ensureErrnoError();Module["stdin"]=input||Module["stdin"];Module["stdout"]=output||Module["stdout"];Module["stderr"]=error||Module["stderr"];FS.createStandardStreams()},quit:()=>{FS.init.initialized=false;for(var i=0;i{var mode=0;if(canRead)mode|=292|73;if(canWrite)mode|=146;return mode},findObject:(path,dontResolveLastLink)=>{var ret=FS.analyzePath(path,dontResolveLastLink);if(ret.exists){return ret.object}else{return null}},analyzePath:(path,dontResolveLastLink)=>{try{var lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});path=lookup.path}catch(e){}var ret={isRoot:false,exists:false,error:0,name:null,path:null,object:null,parentExists:false,parentPath:null,parentObject:null};try{var lookup=FS.lookupPath(path,{parent:true});ret.parentExists=true;ret.parentPath=lookup.path;ret.parentObject=lookup.node;ret.name=PATH.basename(path);lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});ret.exists=true;ret.path=lookup.path;ret.object=lookup.node;ret.name=lookup.node.name;ret.isRoot=lookup.path==="/"}catch(e){ret.error=e.errno}return ret},createPath:(parent,path,canRead,canWrite)=>{parent=typeof parent=="string"?parent:FS.getPath(parent);var parts=path.split("/").reverse();while(parts.length){var part=parts.pop();if(!part)continue;var current=PATH.join2(parent,part);try{FS.mkdir(current)}catch(e){}parent=current}return current},createFile:(parent,name,properties,canRead,canWrite)=>{var path=PATH.join2(typeof parent=="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(canRead,canWrite);return FS.create(path,mode)},createDataFile:(parent,name,data,canRead,canWrite,canOwn)=>{var path=name;if(parent){parent=typeof parent=="string"?parent:FS.getPath(parent);path=name?PATH.join2(parent,name):parent}var mode=FS.getMode(canRead,canWrite);var node=FS.create(path,mode);if(data){if(typeof data=="string"){var arr=new Array(data.length);for(var i=0,len=data.length;i{var path=PATH.join2(typeof parent=="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(!!input,!!output);if(!FS.createDevice.major)FS.createDevice.major=64;var dev=FS.makedev(FS.createDevice.major++,0);FS.registerDevice(dev,{open:stream=>{stream.seekable=false},close:stream=>{if(output&&output.buffer&&output.buffer.length){output(10)}},read:(stream,buffer,offset,length,pos)=>{var bytesRead=0;for(var i=0;i{for(var i=0;i{if(obj.isDevice||obj.isFolder||obj.link||obj.contents)return true;if(typeof XMLHttpRequest!="undefined"){throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.")}else if(read_){try{obj.contents=intArrayFromString(read_(obj.url),true);obj.usedBytes=obj.contents.length}catch(e){throw new FS.ErrnoError(29)}}else{throw new Error("Cannot load without read() or XMLHttpRequest.")}},createLazyFile:(parent,name,url,canRead,canWrite)=>{function LazyUint8Array(){this.lengthKnown=false;this.chunks=[]}LazyUint8Array.prototype.get=function LazyUint8Array_get(idx){if(idx>this.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=(from,to)=>{if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}else{return intArrayFromString(xhr.responseText||"",true)}};var lazyArray=this;lazyArray.setDataGetter(chunkNum=>{var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]=="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]=="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]});if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;out("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._length}},chunkSize:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize}}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:function(){return this.contents.length}}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach(key=>{var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){FS.forceLoadFile(node);return fn.apply(null,arguments)}});function writeChunks(stream,buffer,offset,length,position){var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i{FS.forceLoadFile(node);return writeChunks(stream,buffer,offset,length,position)};stream_ops.mmap=(stream,length,position,prot,flags)=>{FS.forceLoadFile(node);var ptr=mmapAlloc(length);if(!ptr){throw new FS.ErrnoError(48)}writeChunks(stream,HEAP8,ptr,length,position);return{ptr:ptr,allocated:true}};node.stream_ops=stream_ops;return node},createPreloadedFile:(parent,name,url,canRead,canWrite,onload,onerror,dontCreateFile,canOwn,preFinish)=>{var fullname=name?PATH_FS.resolve(PATH.join2(parent,name)):parent;var dep=getUniqueRunDependency("cp "+fullname);function processData(byteArray){function finish(byteArray){if(preFinish)preFinish();if(!dontCreateFile){FS.createDataFile(parent,name,byteArray,canRead,canWrite,canOwn)}if(onload)onload();removeRunDependency(dep)}if(Browser.handledByPreloadPlugin(byteArray,fullname,finish,()=>{if(onerror)onerror();removeRunDependency(dep)})){return}finish(byteArray)}addRunDependency(dep);if(typeof url=="string"){asyncLoad(url,byteArray=>processData(byteArray),onerror)}else{processData(url)}},indexedDB:()=>{return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB},DB_NAME:()=>{return"EM_FS_"+window.location.pathname},DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:(paths,onload,onerror)=>{onload=onload||(()=>{});onerror=onerror||(()=>{});var indexedDB=FS.indexedDB();try{var openRequest=indexedDB.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return onerror(e)}openRequest.onupgradeneeded=()=>{out("creating db");var db=openRequest.result;db.createObjectStore(FS.DB_STORE_NAME)};openRequest.onsuccess=()=>{var db=openRequest.result;var transaction=db.transaction([FS.DB_STORE_NAME],"readwrite");var files=transaction.objectStore(FS.DB_STORE_NAME);var ok=0,fail=0,total=paths.length;function finish(){if(fail==0)onload();else onerror()}paths.forEach(path=>{var putRequest=files.put(FS.analyzePath(path).object.contents,path);putRequest.onsuccess=()=>{ok++;if(ok+fail==total)finish()};putRequest.onerror=()=>{fail++;if(ok+fail==total)finish()}});transaction.onerror=onerror};openRequest.onerror=onerror},loadFilesFromDB:(paths,onload,onerror)=>{onload=onload||(()=>{});onerror=onerror||(()=>{});var indexedDB=FS.indexedDB();try{var openRequest=indexedDB.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return onerror(e)}openRequest.onupgradeneeded=onerror;openRequest.onsuccess=()=>{var db=openRequest.result;try{var transaction=db.transaction([FS.DB_STORE_NAME],"readonly")}catch(e){onerror(e);return}var files=transaction.objectStore(FS.DB_STORE_NAME);var ok=0,fail=0,total=paths.length;function finish(){if(fail==0)onload();else onerror()}paths.forEach(path=>{var getRequest=files.get(path);getRequest.onsuccess=()=>{if(FS.analyzePath(path).exists){FS.unlink(path)}FS.createDataFile(PATH.dirname(path),PATH.basename(path),getRequest.result,true,true,true);ok++;if(ok+fail==total)finish()};getRequest.onerror=()=>{fail++;if(ok+fail==total)finish()}});transaction.onerror=onerror};openRequest.onerror=onerror}};var SYSCALLS={DEFAULT_POLLMASK:5,calculateAt:function(dirfd,path,allowEmpty){if(PATH.isAbs(path)){return path}var dir;if(dirfd===-100){dir=FS.cwd()}else{var dirstream=FS.getStream(dirfd);if(!dirstream)throw new FS.ErrnoError(8);dir=dirstream.path}if(path.length==0){if(!allowEmpty){throw new FS.ErrnoError(44)}return dir}return PATH.join2(dir,path)},doStat:function(func,path,buf){try{var stat=func(path)}catch(e){if(e&&e.node&&PATH.normalize(path)!==PATH.normalize(FS.getPath(e.node))){return-54}throw e}HEAP32[buf>>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;tempI64=[stat.size>>>0,(tempDouble=stat.size,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+40>>2]=tempI64[0],HEAP32[buf+44>>2]=tempI64[1];HEAP32[buf+48>>2]=4096;HEAP32[buf+52>>2]=stat.blocks;HEAP32[buf+56>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+76>>2]=0;tempI64=[stat.ino>>>0,(tempDouble=stat.ino,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+80>>2]=tempI64[0],HEAP32[buf+84>>2]=tempI64[1];return 0},doMsync:function(addr,stream,len,flags,offset){var buffer=HEAPU8.slice(addr,addr+len);FS.msync(stream,buffer,offset,len,flags)},varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},getStreamFromFD:function(fd){var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);return stream}};function ___syscall_chmod(path,mode){try{path=SYSCALLS.getStr(path);FS.chmod(path,mode);return 0}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return-e.errno}}function ___syscall_faccessat(dirfd,path,amode,flags){try{path=SYSCALLS.getStr(path);path=SYSCALLS.calculateAt(dirfd,path);if(amode&~7){return-28}var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;if(!node){return-44}var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-2}return 0}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return-e.errno}}function setErrNo(value){HEAP32[___errno_location()>>2]=value;return value}function ___syscall_fcntl64(fd,cmd,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-28}var newStream;newStream=FS.createStream(stream,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0}case 5:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 6:case 7:return 0;case 16:case 8:return-28;case 9:setErrNo(28);return-1;default:{return-28}}}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return-e.errno}}function ___syscall_fstat64(fd,buf){try{var stream=SYSCALLS.getStreamFromFD(fd);return SYSCALLS.doStat(FS.stat,stream.path,buf)}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return-e.errno}}function ___syscall_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(op){case 21509:case 21505:{if(!stream.tty)return-59;return 0}case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{if(!stream.tty)return-59;return 0}case 21519:{if(!stream.tty)return-59;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-59;return-28}case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-59;return 0}case 21524:{if(!stream.tty)return-59;return 0}default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return-e.errno}}function ___syscall_lstat64(path,buf){try{path=SYSCALLS.getStr(path);return SYSCALLS.doStat(FS.lstat,path,buf)}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return-e.errno}}function ___syscall_newfstatat(dirfd,path,buf,flags){try{path=SYSCALLS.getStr(path);var nofollow=flags&256;var allowEmpty=flags&4096;flags=flags&~4352;path=SYSCALLS.calculateAt(dirfd,path,allowEmpty);return SYSCALLS.doStat(nofollow?FS.lstat:FS.stat,path,buf)}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return-e.errno}}function ___syscall_openat(dirfd,path,flags,varargs){SYSCALLS.varargs=varargs;try{path=SYSCALLS.getStr(path);path=SYSCALLS.calculateAt(dirfd,path);var mode=varargs?SYSCALLS.get():0;return FS.open(path,flags,mode).fd}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return-e.errno}}function ___syscall_stat64(path,buf){try{path=SYSCALLS.getStr(path);return SYSCALLS.doStat(FS.stat,path,buf)}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return-e.errno}}function __embind_register_bigint(primitiveType,name,size,minRange,maxRange){}function getShiftFromSize(size){switch(size){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+size)}}function embind_init_charCodes(){var codes=new Array(256);for(var i=0;i<256;++i){codes[i]=String.fromCharCode(i)}embind_charCodes=codes}var embind_charCodes=undefined;function readLatin1String(ptr){var ret="";var c=ptr;while(HEAPU8[c]){ret+=embind_charCodes[HEAPU8[c++]]}return ret}var awaitingDependencies={};var registeredTypes={};var typeDependencies={};var char_0=48;var char_9=57;function makeLegalFunctionName(name){if(undefined===name){return"_unknown"}name=name.replace(/[^a-zA-Z0-9_]/g,"$");var f=name.charCodeAt(0);if(f>=char_0&&f<=char_9){return"_"+name}return name}function createNamedFunction(name,body){name=makeLegalFunctionName(name);return new Function("body","return function "+name+"() {\n"+' "use strict";'+" return body.apply(this, arguments);\n"+"};\n")(body)}function extendError(baseErrorType,errorName){var errorClass=createNamedFunction(errorName,function(message){this.name=errorName;this.message=message;var stack=new Error(message).stack;if(stack!==undefined){this.stack=this.toString()+"\n"+stack.replace(/^Error(:[^\n]*)?\n/,"")}});errorClass.prototype=Object.create(baseErrorType.prototype);errorClass.prototype.constructor=errorClass;errorClass.prototype.toString=function(){if(this.message===undefined){return this.name}else{return this.name+": "+this.message}};return errorClass}var BindingError=undefined;function throwBindingError(message){throw new BindingError(message)}var InternalError=undefined;function throwInternalError(message){throw new InternalError(message)}function whenDependentTypesAreResolved(myTypes,dependentTypes,getTypeConverters){myTypes.forEach(function(type){typeDependencies[type]=dependentTypes});function onComplete(typeConverters){var myTypeConverters=getTypeConverters(typeConverters);if(myTypeConverters.length!==myTypes.length){throwInternalError("Mismatched type converter count")}for(var i=0;i{if(registeredTypes.hasOwnProperty(dt)){typeConverters[i]=registeredTypes[dt]}else{unregisteredTypes.push(dt);if(!awaitingDependencies.hasOwnProperty(dt)){awaitingDependencies[dt]=[]}awaitingDependencies[dt].push(()=>{typeConverters[i]=registeredTypes[dt];++registered;if(registered===unregisteredTypes.length){onComplete(typeConverters)}})}});if(0===unregisteredTypes.length){onComplete(typeConverters)}}function registerType(rawType,registeredInstance,options={}){if(!("argPackAdvance"in registeredInstance)){throw new TypeError("registerType registeredInstance requires argPackAdvance")}var name=registeredInstance.name;if(!rawType){throwBindingError('type "'+name+'" must have a positive integer typeid pointer')}if(registeredTypes.hasOwnProperty(rawType)){if(options.ignoreDuplicateRegistrations){return}else{throwBindingError("Cannot register type '"+name+"' twice")}}registeredTypes[rawType]=registeredInstance;delete typeDependencies[rawType];if(awaitingDependencies.hasOwnProperty(rawType)){var callbacks=awaitingDependencies[rawType];delete awaitingDependencies[rawType];callbacks.forEach(cb=>cb())}}function __embind_register_bool(rawType,name,size,trueValue,falseValue){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(wt){return!!wt},"toWireType":function(destructors,o){return o?trueValue:falseValue},"argPackAdvance":8,"readValueFromPointer":function(pointer){var heap;if(size===1){heap=HEAP8}else if(size===2){heap=HEAP16}else if(size===4){heap=HEAP32}else{throw new TypeError("Unknown boolean type size: "+name)}return this["fromWireType"](heap[pointer>>shift])},destructorFunction:null})}function ClassHandle_isAliasOf(other){if(!(this instanceof ClassHandle)){return false}if(!(other instanceof ClassHandle)){return false}var leftClass=this.$$.ptrType.registeredClass;var left=this.$$.ptr;var rightClass=other.$$.ptrType.registeredClass;var right=other.$$.ptr;while(leftClass.baseClass){left=leftClass.upcast(left);leftClass=leftClass.baseClass}while(rightClass.baseClass){right=rightClass.upcast(right);rightClass=rightClass.baseClass}return leftClass===rightClass&&left===right}function shallowCopyInternalPointer(o){return{count:o.count,deleteScheduled:o.deleteScheduled,preservePointerOnDelete:o.preservePointerOnDelete,ptr:o.ptr,ptrType:o.ptrType,smartPtr:o.smartPtr,smartPtrType:o.smartPtrType}}function throwInstanceAlreadyDeleted(obj){function getInstanceTypeName(handle){return handle.$$.ptrType.registeredClass.name}throwBindingError(getInstanceTypeName(obj)+" instance already deleted")}var finalizationRegistry=false;function detachFinalizer(handle){}function runDestructor($$){if($$.smartPtr){$$.smartPtrType.rawDestructor($$.smartPtr)}else{$$.ptrType.registeredClass.rawDestructor($$.ptr)}}function releaseClassHandle($$){$$.count.value-=1;var toDelete=0===$$.count.value;if(toDelete){runDestructor($$)}}function downcastPointer(ptr,ptrClass,desiredClass){if(ptrClass===desiredClass){return ptr}if(undefined===desiredClass.baseClass){return null}var rv=downcastPointer(ptr,ptrClass,desiredClass.baseClass);if(rv===null){return null}return desiredClass.downcast(rv)}var registeredPointers={};function getInheritedInstanceCount(){return Object.keys(registeredInstances).length}function getLiveInheritedInstances(){var rv=[];for(var k in registeredInstances){if(registeredInstances.hasOwnProperty(k)){rv.push(registeredInstances[k])}}return rv}var deletionQueue=[];function flushPendingDeletes(){while(deletionQueue.length){var obj=deletionQueue.pop();obj.$$.deleteScheduled=false;obj["delete"]()}}var delayFunction=undefined;function setDelayFunction(fn){delayFunction=fn;if(deletionQueue.length&&delayFunction){delayFunction(flushPendingDeletes)}}function init_embind(){Module["getInheritedInstanceCount"]=getInheritedInstanceCount;Module["getLiveInheritedInstances"]=getLiveInheritedInstances;Module["flushPendingDeletes"]=flushPendingDeletes;Module["setDelayFunction"]=setDelayFunction}var registeredInstances={};function getBasestPointer(class_,ptr){if(ptr===undefined){throwBindingError("ptr should not be undefined")}while(class_.baseClass){ptr=class_.upcast(ptr);class_=class_.baseClass}return ptr}function getInheritedInstance(class_,ptr){ptr=getBasestPointer(class_,ptr);return registeredInstances[ptr]}function makeClassHandle(prototype,record){if(!record.ptrType||!record.ptr){throwInternalError("makeClassHandle requires ptr and ptrType")}var hasSmartPtrType=!!record.smartPtrType;var hasSmartPtr=!!record.smartPtr;if(hasSmartPtrType!==hasSmartPtr){throwInternalError("Both smartPtrType and smartPtr must be specified")}record.count={value:1};return attachFinalizer(Object.create(prototype,{$$:{value:record}}))}function RegisteredPointer_fromWireType(ptr){var rawPointer=this.getPointee(ptr);if(!rawPointer){this.destructor(ptr);return null}var registeredInstance=getInheritedInstance(this.registeredClass,rawPointer);if(undefined!==registeredInstance){if(0===registeredInstance.$$.count.value){registeredInstance.$$.ptr=rawPointer;registeredInstance.$$.smartPtr=ptr;return registeredInstance["clone"]()}else{var rv=registeredInstance["clone"]();this.destructor(ptr);return rv}}function makeDefaultHandle(){if(this.isSmartPointer){return makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:rawPointer,smartPtrType:this,smartPtr:ptr})}else{return makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this,ptr:ptr})}}var actualType=this.registeredClass.getActualType(rawPointer);var registeredPointerRecord=registeredPointers[actualType];if(!registeredPointerRecord){return makeDefaultHandle.call(this)}var toType;if(this.isConst){toType=registeredPointerRecord.constPointerType}else{toType=registeredPointerRecord.pointerType}var dp=downcastPointer(rawPointer,this.registeredClass,toType.registeredClass);if(dp===null){return makeDefaultHandle.call(this)}if(this.isSmartPointer){return makeClassHandle(toType.registeredClass.instancePrototype,{ptrType:toType,ptr:dp,smartPtrType:this,smartPtr:ptr})}else{return makeClassHandle(toType.registeredClass.instancePrototype,{ptrType:toType,ptr:dp})}}function attachFinalizer(handle){if("undefined"===typeof FinalizationRegistry){attachFinalizer=handle=>handle;return handle}finalizationRegistry=new FinalizationRegistry(info=>{releaseClassHandle(info.$$)});attachFinalizer=handle=>{var $$=handle.$$;var hasSmartPtr=!!$$.smartPtr;if(hasSmartPtr){var info={$$:$$};finalizationRegistry.register(handle,info,handle)}return handle};detachFinalizer=handle=>finalizationRegistry.unregister(handle);return attachFinalizer(handle)}function ClassHandle_clone(){if(!this.$$.ptr){throwInstanceAlreadyDeleted(this)}if(this.$$.preservePointerOnDelete){this.$$.count.value+=1;return this}else{var clone=attachFinalizer(Object.create(Object.getPrototypeOf(this),{$$:{value:shallowCopyInternalPointer(this.$$)}}));clone.$$.count.value+=1;clone.$$.deleteScheduled=false;return clone}}function ClassHandle_delete(){if(!this.$$.ptr){throwInstanceAlreadyDeleted(this)}if(this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete){throwBindingError("Object already scheduled for deletion")}detachFinalizer(this);releaseClassHandle(this.$$);if(!this.$$.preservePointerOnDelete){this.$$.smartPtr=undefined;this.$$.ptr=undefined}}function ClassHandle_isDeleted(){return!this.$$.ptr}function ClassHandle_deleteLater(){if(!this.$$.ptr){throwInstanceAlreadyDeleted(this)}if(this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete){throwBindingError("Object already scheduled for deletion")}deletionQueue.push(this);if(deletionQueue.length===1&&delayFunction){delayFunction(flushPendingDeletes)}this.$$.deleteScheduled=true;return this}function init_ClassHandle(){ClassHandle.prototype["isAliasOf"]=ClassHandle_isAliasOf;ClassHandle.prototype["clone"]=ClassHandle_clone;ClassHandle.prototype["delete"]=ClassHandle_delete;ClassHandle.prototype["isDeleted"]=ClassHandle_isDeleted;ClassHandle.prototype["deleteLater"]=ClassHandle_deleteLater}function ClassHandle(){}function ensureOverloadTable(proto,methodName,humanName){if(undefined===proto[methodName].overloadTable){var prevFunc=proto[methodName];proto[methodName]=function(){if(!proto[methodName].overloadTable.hasOwnProperty(arguments.length)){throwBindingError("Function '"+humanName+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+proto[methodName].overloadTable+")!")}return proto[methodName].overloadTable[arguments.length].apply(this,arguments)};proto[methodName].overloadTable=[];proto[methodName].overloadTable[prevFunc.argCount]=prevFunc}}function exposePublicSymbol(name,value,numArguments){if(Module.hasOwnProperty(name)){if(undefined===numArguments||undefined!==Module[name].overloadTable&&undefined!==Module[name].overloadTable[numArguments]){throwBindingError("Cannot register public name '"+name+"' twice")}ensureOverloadTable(Module,name,name);if(Module.hasOwnProperty(numArguments)){throwBindingError("Cannot register multiple overloads of a function with the same number of arguments ("+numArguments+")!")}Module[name].overloadTable[numArguments]=value}else{Module[name]=value;if(undefined!==numArguments){Module[name].numArguments=numArguments}}}function RegisteredClass(name,constructor,instancePrototype,rawDestructor,baseClass,getActualType,upcast,downcast){this.name=name;this.constructor=constructor;this.instancePrototype=instancePrototype;this.rawDestructor=rawDestructor;this.baseClass=baseClass;this.getActualType=getActualType;this.upcast=upcast;this.downcast=downcast;this.pureVirtualFunctions=[]}function upcastPointer(ptr,ptrClass,desiredClass){while(ptrClass!==desiredClass){if(!ptrClass.upcast){throwBindingError("Expected null or instance of "+desiredClass.name+", got an instance of "+ptrClass.name)}ptr=ptrClass.upcast(ptr);ptrClass=ptrClass.baseClass}return ptr}function constNoSmartPtrRawPointerToWireType(destructors,handle){if(handle===null){if(this.isReference){throwBindingError("null is not a valid "+this.name)}return 0}if(!handle.$$){throwBindingError('Cannot pass "'+_embind_repr(handle)+'" as a '+this.name)}if(!handle.$$.ptr){throwBindingError("Cannot pass deleted object as a pointer of type "+this.name)}var handleClass=handle.$$.ptrType.registeredClass;var ptr=upcastPointer(handle.$$.ptr,handleClass,this.registeredClass);return ptr}function genericPointerToWireType(destructors,handle){var ptr;if(handle===null){if(this.isReference){throwBindingError("null is not a valid "+this.name)}if(this.isSmartPointer){ptr=this.rawConstructor();if(destructors!==null){destructors.push(this.rawDestructor,ptr)}return ptr}else{return 0}}if(!handle.$$){throwBindingError('Cannot pass "'+_embind_repr(handle)+'" as a '+this.name)}if(!handle.$$.ptr){throwBindingError("Cannot pass deleted object as a pointer of type "+this.name)}if(!this.isConst&&handle.$$.ptrType.isConst){throwBindingError("Cannot convert argument of type "+(handle.$$.smartPtrType?handle.$$.smartPtrType.name:handle.$$.ptrType.name)+" to parameter type "+this.name)}var handleClass=handle.$$.ptrType.registeredClass;ptr=upcastPointer(handle.$$.ptr,handleClass,this.registeredClass);if(this.isSmartPointer){if(undefined===handle.$$.smartPtr){throwBindingError("Passing raw pointer to smart pointer is illegal")}switch(this.sharingPolicy){case 0:if(handle.$$.smartPtrType===this){ptr=handle.$$.smartPtr}else{throwBindingError("Cannot convert argument of type "+(handle.$$.smartPtrType?handle.$$.smartPtrType.name:handle.$$.ptrType.name)+" to parameter type "+this.name)}break;case 1:ptr=handle.$$.smartPtr;break;case 2:if(handle.$$.smartPtrType===this){ptr=handle.$$.smartPtr}else{var clonedHandle=handle["clone"]();ptr=this.rawShare(ptr,Emval.toHandle(function(){clonedHandle["delete"]()}));if(destructors!==null){destructors.push(this.rawDestructor,ptr)}}break;default:throwBindingError("Unsupporting sharing policy")}}return ptr}function nonConstNoSmartPtrRawPointerToWireType(destructors,handle){if(handle===null){if(this.isReference){throwBindingError("null is not a valid "+this.name)}return 0}if(!handle.$$){throwBindingError('Cannot pass "'+_embind_repr(handle)+'" as a '+this.name)}if(!handle.$$.ptr){throwBindingError("Cannot pass deleted object as a pointer of type "+this.name)}if(handle.$$.ptrType.isConst){throwBindingError("Cannot convert argument of type "+handle.$$.ptrType.name+" to parameter type "+this.name)}var handleClass=handle.$$.ptrType.registeredClass;var ptr=upcastPointer(handle.$$.ptr,handleClass,this.registeredClass);return ptr}function simpleReadValueFromPointer(pointer){return this["fromWireType"](HEAPU32[pointer>>2])}function RegisteredPointer_getPointee(ptr){if(this.rawGetPointee){ptr=this.rawGetPointee(ptr)}return ptr}function RegisteredPointer_destructor(ptr){if(this.rawDestructor){this.rawDestructor(ptr)}}function RegisteredPointer_deleteObject(handle){if(handle!==null){handle["delete"]()}}function init_RegisteredPointer(){RegisteredPointer.prototype.getPointee=RegisteredPointer_getPointee;RegisteredPointer.prototype.destructor=RegisteredPointer_destructor;RegisteredPointer.prototype["argPackAdvance"]=8;RegisteredPointer.prototype["readValueFromPointer"]=simpleReadValueFromPointer;RegisteredPointer.prototype["deleteObject"]=RegisteredPointer_deleteObject;RegisteredPointer.prototype["fromWireType"]=RegisteredPointer_fromWireType}function RegisteredPointer(name,registeredClass,isReference,isConst,isSmartPointer,pointeeType,sharingPolicy,rawGetPointee,rawConstructor,rawShare,rawDestructor){this.name=name;this.registeredClass=registeredClass;this.isReference=isReference;this.isConst=isConst;this.isSmartPointer=isSmartPointer;this.pointeeType=pointeeType;this.sharingPolicy=sharingPolicy;this.rawGetPointee=rawGetPointee;this.rawConstructor=rawConstructor;this.rawShare=rawShare;this.rawDestructor=rawDestructor;if(!isSmartPointer&®isteredClass.baseClass===undefined){if(isConst){this["toWireType"]=constNoSmartPtrRawPointerToWireType;this.destructorFunction=null}else{this["toWireType"]=nonConstNoSmartPtrRawPointerToWireType;this.destructorFunction=null}}else{this["toWireType"]=genericPointerToWireType}}function replacePublicSymbol(name,value,numArguments){if(!Module.hasOwnProperty(name)){throwInternalError("Replacing nonexistant public symbol")}if(undefined!==Module[name].overloadTable&&undefined!==numArguments){Module[name].overloadTable[numArguments]=value}else{Module[name]=value;Module[name].argCount=numArguments}}function dynCallLegacy(sig,ptr,args){var f=Module["dynCall_"+sig];return args&&args.length?f.apply(null,[ptr].concat(args)):f.call(null,ptr)}function dynCall(sig,ptr,args){if(sig.includes("j")){return dynCallLegacy(sig,ptr,args)}return getWasmTableEntry(ptr).apply(null,args)}function getDynCaller(sig,ptr){var argCache=[];return function(){argCache.length=0;Object.assign(argCache,arguments);return dynCall(sig,ptr,argCache)}}function embind__requireFunction(signature,rawFunction){signature=readLatin1String(signature);function makeDynCaller(){if(signature.includes("j")){return getDynCaller(signature,rawFunction)}return getWasmTableEntry(rawFunction)}var fp=makeDynCaller();if(typeof fp!="function"){throwBindingError("unknown function pointer with signature "+signature+": "+rawFunction)}return fp}var UnboundTypeError=undefined;function getTypeName(type){var ptr=___getTypeName(type);var rv=readLatin1String(ptr);_free(ptr);return rv}function throwUnboundTypeError(message,types){var unboundTypes=[];var seen={};function visit(type){if(seen[type]){return}if(registeredTypes[type]){return}if(typeDependencies[type]){typeDependencies[type].forEach(visit);return}unboundTypes.push(type);seen[type]=true}types.forEach(visit);throw new UnboundTypeError(message+": "+unboundTypes.map(getTypeName).join([", "]))}function __embind_register_class(rawType,rawPointerType,rawConstPointerType,baseClassRawType,getActualTypeSignature,getActualType,upcastSignature,upcast,downcastSignature,downcast,name,destructorSignature,rawDestructor){name=readLatin1String(name);getActualType=embind__requireFunction(getActualTypeSignature,getActualType);if(upcast){upcast=embind__requireFunction(upcastSignature,upcast)}if(downcast){downcast=embind__requireFunction(downcastSignature,downcast)}rawDestructor=embind__requireFunction(destructorSignature,rawDestructor);var legalFunctionName=makeLegalFunctionName(name);exposePublicSymbol(legalFunctionName,function(){throwUnboundTypeError("Cannot construct "+name+" due to unbound types",[baseClassRawType])});whenDependentTypesAreResolved([rawType,rawPointerType,rawConstPointerType],baseClassRawType?[baseClassRawType]:[],function(base){base=base[0];var baseClass;var basePrototype;if(baseClassRawType){baseClass=base.registeredClass;basePrototype=baseClass.instancePrototype}else{basePrototype=ClassHandle.prototype}var constructor=createNamedFunction(legalFunctionName,function(){if(Object.getPrototypeOf(this)!==instancePrototype){throw new BindingError("Use 'new' to construct "+name)}if(undefined===registeredClass.constructor_body){throw new BindingError(name+" has no accessible constructor")}var body=registeredClass.constructor_body[arguments.length];if(undefined===body){throw new BindingError("Tried to invoke ctor of "+name+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(registeredClass.constructor_body).toString()+") parameters instead!")}return body.apply(this,arguments)});var instancePrototype=Object.create(basePrototype,{constructor:{value:constructor}});constructor.prototype=instancePrototype;var registeredClass=new RegisteredClass(name,constructor,instancePrototype,rawDestructor,baseClass,getActualType,upcast,downcast);var referenceConverter=new RegisteredPointer(name,registeredClass,true,false,false);var pointerConverter=new RegisteredPointer(name+"*",registeredClass,false,false,false);var constPointerConverter=new RegisteredPointer(name+" const*",registeredClass,false,true,false);registeredPointers[rawType]={pointerType:pointerConverter,constPointerType:constPointerConverter};replacePublicSymbol(legalFunctionName,constructor);return[referenceConverter,pointerConverter,constPointerConverter]})}function new_(constructor,argumentList){if(!(constructor instanceof Function)){throw new TypeError("new_ called with constructor type "+typeof constructor+" which is not a function")}var dummy=createNamedFunction(constructor.name||"unknownFunctionName",function(){});dummy.prototype=constructor.prototype;var obj=new dummy;var r=constructor.apply(obj,argumentList);return r instanceof Object?r:obj}function runDestructors(destructors){while(destructors.length){var ptr=destructors.pop();var del=destructors.pop();del(ptr)}}function craftInvokerFunction(humanName,argTypes,classType,cppInvokerFunc,cppTargetFunc){var argCount=argTypes.length;if(argCount<2){throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!")}var isClassMethodFunc=argTypes[1]!==null&&classType!==null;var needsDestructorStack=false;for(var i=1;i0?", ":"")+argsListWired}invokerFnBody+=(returns?"var rv = ":"")+"invoker(fn"+(argsListWired.length>0?", ":"")+argsListWired+");\n";if(needsDestructorStack){invokerFnBody+="runDestructors(destructors);\n"}else{for(var i=isClassMethodFunc?1:2;i>2)+i])}return array}function __embind_register_class_class_function(rawClassType,methodName,argCount,rawArgTypesAddr,invokerSignature,rawInvoker,fn){var rawArgTypes=heap32VectorToArray(argCount,rawArgTypesAddr);methodName=readLatin1String(methodName);rawInvoker=embind__requireFunction(invokerSignature,rawInvoker);whenDependentTypesAreResolved([],[rawClassType],function(classType){classType=classType[0];var humanName=classType.name+"."+methodName;function unboundTypesHandler(){throwUnboundTypeError("Cannot call "+humanName+" due to unbound types",rawArgTypes)}if(methodName.startsWith("@@")){methodName=Symbol[methodName.substring(2)]}var proto=classType.registeredClass.constructor;if(undefined===proto[methodName]){unboundTypesHandler.argCount=argCount-1;proto[methodName]=unboundTypesHandler}else{ensureOverloadTable(proto,methodName,humanName);proto[methodName].overloadTable[argCount-1]=unboundTypesHandler}whenDependentTypesAreResolved([],rawArgTypes,function(argTypes){var invokerArgsArray=[argTypes[0],null].concat(argTypes.slice(1));var func=craftInvokerFunction(humanName,invokerArgsArray,null,rawInvoker,fn);if(undefined===proto[methodName].overloadTable){func.argCount=argCount-1;proto[methodName]=func}else{proto[methodName].overloadTable[argCount-1]=func}return[]});return[]})}function __embind_register_class_constructor(rawClassType,argCount,rawArgTypesAddr,invokerSignature,invoker,rawConstructor){assert(argCount>0);var rawArgTypes=heap32VectorToArray(argCount,rawArgTypesAddr);invoker=embind__requireFunction(invokerSignature,invoker);whenDependentTypesAreResolved([],[rawClassType],function(classType){classType=classType[0];var humanName="constructor "+classType.name;if(undefined===classType.registeredClass.constructor_body){classType.registeredClass.constructor_body=[]}if(undefined!==classType.registeredClass.constructor_body[argCount-1]){throw new BindingError("Cannot register multiple constructors with identical number of parameters ("+(argCount-1)+") for class '"+classType.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!")}classType.registeredClass.constructor_body[argCount-1]=()=>{throwUnboundTypeError("Cannot construct "+classType.name+" due to unbound types",rawArgTypes)};whenDependentTypesAreResolved([],rawArgTypes,function(argTypes){argTypes.splice(1,0,null);classType.registeredClass.constructor_body[argCount-1]=craftInvokerFunction(humanName,argTypes,null,invoker,rawConstructor);return[]});return[]})}function __embind_register_class_function(rawClassType,methodName,argCount,rawArgTypesAddr,invokerSignature,rawInvoker,context,isPureVirtual){var rawArgTypes=heap32VectorToArray(argCount,rawArgTypesAddr);methodName=readLatin1String(methodName);rawInvoker=embind__requireFunction(invokerSignature,rawInvoker);whenDependentTypesAreResolved([],[rawClassType],function(classType){classType=classType[0];var humanName=classType.name+"."+methodName;if(methodName.startsWith("@@")){methodName=Symbol[methodName.substring(2)]}if(isPureVirtual){classType.registeredClass.pureVirtualFunctions.push(methodName)}function unboundTypesHandler(){throwUnboundTypeError("Cannot call "+humanName+" due to unbound types",rawArgTypes)}var proto=classType.registeredClass.instancePrototype;var method=proto[methodName];if(undefined===method||undefined===method.overloadTable&&method.className!==classType.name&&method.argCount===argCount-2){unboundTypesHandler.argCount=argCount-2;unboundTypesHandler.className=classType.name;proto[methodName]=unboundTypesHandler}else{ensureOverloadTable(proto,methodName,humanName);proto[methodName].overloadTable[argCount-2]=unboundTypesHandler}whenDependentTypesAreResolved([],rawArgTypes,function(argTypes){var memberFunction=craftInvokerFunction(humanName,argTypes,classType,rawInvoker,context);if(undefined===proto[methodName].overloadTable){memberFunction.argCount=argCount-2;proto[methodName]=memberFunction}else{proto[methodName].overloadTable[argCount-2]=memberFunction}return[]});return[]})}var emval_free_list=[];var emval_handle_array=[{},{value:undefined},{value:null},{value:true},{value:false}];function __emval_decref(handle){if(handle>4&&0===--emval_handle_array[handle].refcount){emval_handle_array[handle]=undefined;emval_free_list.push(handle)}}function count_emval_handles(){var count=0;for(var i=5;i{if(!handle){throwBindingError("Cannot use deleted val. handle = "+handle)}return emval_handle_array[handle].value},toHandle:value=>{switch(value){case undefined:return 1;case null:return 2;case true:return 3;case false:return 4;default:{var handle=emval_free_list.length?emval_free_list.pop():emval_handle_array.length;emval_handle_array[handle]={refcount:1,value:value};return handle}}}};function __embind_register_emval(rawType,name){name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(handle){var rv=Emval.toValue(handle);__emval_decref(handle);return rv},"toWireType":function(destructors,value){return Emval.toHandle(value)},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:null})}function enumReadValueFromPointer(name,shift,signed){switch(shift){case 0:return function(pointer){var heap=signed?HEAP8:HEAPU8;return this["fromWireType"](heap[pointer])};case 1:return function(pointer){var heap=signed?HEAP16:HEAPU16;return this["fromWireType"](heap[pointer>>1])};case 2:return function(pointer){var heap=signed?HEAP32:HEAPU32;return this["fromWireType"](heap[pointer>>2])};default:throw new TypeError("Unknown integer type: "+name)}}function __embind_register_enum(rawType,name,size,isSigned){var shift=getShiftFromSize(size);name=readLatin1String(name);function ctor(){}ctor.values={};registerType(rawType,{name:name,constructor:ctor,"fromWireType":function(c){return this.constructor.values[c]},"toWireType":function(destructors,c){return c.value},"argPackAdvance":8,"readValueFromPointer":enumReadValueFromPointer(name,shift,isSigned),destructorFunction:null});exposePublicSymbol(name,ctor)}function requireRegisteredType(rawType,humanName){var impl=registeredTypes[rawType];if(undefined===impl){throwBindingError(humanName+" has unknown type "+getTypeName(rawType))}return impl}function __embind_register_enum_value(rawEnumType,name,enumValue){var enumType=requireRegisteredType(rawEnumType,"enum");name=readLatin1String(name);var Enum=enumType.constructor;var Value=Object.create(enumType.constructor.prototype,{value:{value:enumValue},constructor:{value:createNamedFunction(enumType.name+"_"+name,function(){})}});Enum.values[enumValue]=Value;Enum[name]=Value}function _embind_repr(v){if(v===null){return"null"}var t=typeof v;if(t==="object"||t==="array"||t==="function"){return v.toString()}else{return""+v}}function floatReadValueFromPointer(name,shift){switch(shift){case 2:return function(pointer){return this["fromWireType"](HEAPF32[pointer>>2])};case 3:return function(pointer){return this["fromWireType"](HEAPF64[pointer>>3])};default:throw new TypeError("Unknown float type: "+name)}}function __embind_register_float(rawType,name,size){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(value){return value},"toWireType":function(destructors,value){return value},"argPackAdvance":8,"readValueFromPointer":floatReadValueFromPointer(name,shift),destructorFunction:null})}function integerReadValueFromPointer(name,shift,signed){switch(shift){case 0:return signed?function readS8FromPointer(pointer){return HEAP8[pointer]}:function readU8FromPointer(pointer){return HEAPU8[pointer]};case 1:return signed?function readS16FromPointer(pointer){return HEAP16[pointer>>1]}:function readU16FromPointer(pointer){return HEAPU16[pointer>>1]};case 2:return signed?function readS32FromPointer(pointer){return HEAP32[pointer>>2]}:function readU32FromPointer(pointer){return HEAPU32[pointer>>2]};default:throw new TypeError("Unknown integer type: "+name)}}function __embind_register_integer(primitiveType,name,size,minRange,maxRange){name=readLatin1String(name);if(maxRange===-1){maxRange=4294967295}var shift=getShiftFromSize(size);var fromWireType=value=>value;if(minRange===0){var bitshift=32-8*size;fromWireType=value=>value<>>bitshift}var isUnsignedType=name.includes("unsigned");var checkAssertions=(value,toTypeName)=>{};var toWireType;if(isUnsignedType){toWireType=function(destructors,value){checkAssertions(value,this.name);return value>>>0}}else{toWireType=function(destructors,value){checkAssertions(value,this.name);return value}}registerType(primitiveType,{name:name,"fromWireType":fromWireType,"toWireType":toWireType,"argPackAdvance":8,"readValueFromPointer":integerReadValueFromPointer(name,shift,minRange!==0),destructorFunction:null})}function __embind_register_memory_view(rawType,dataTypeIndex,name){var typeMapping=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];var TA=typeMapping[dataTypeIndex];function decodeMemoryView(handle){handle=handle>>2;var heap=HEAPU32;var size=heap[handle];var data=heap[handle+1];return new TA(buffer,data,size)}name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":decodeMemoryView,"argPackAdvance":8,"readValueFromPointer":decodeMemoryView},{ignoreDuplicateRegistrations:true})}function __embind_register_std_string(rawType,name){name=readLatin1String(name);var stdStringIsUTF8=name==="std::string";registerType(rawType,{name:name,"fromWireType":function(value){var length=HEAPU32[value>>2];var str;if(stdStringIsUTF8){var decodeStartPtr=value+4;for(var i=0;i<=length;++i){var currentBytePtr=value+4+i;if(i==length||HEAPU8[currentBytePtr]==0){var maxRead=currentBytePtr-decodeStartPtr;var stringSegment=UTF8ToString(decodeStartPtr,maxRead);if(str===undefined){str=stringSegment}else{str+=String.fromCharCode(0);str+=stringSegment}decodeStartPtr=currentBytePtr+1}}}else{var a=new Array(length);for(var i=0;ilengthBytesUTF8(value)}else{getLength=()=>value.length}var length=getLength();var ptr=_malloc(4+length+1);HEAPU32[ptr>>2]=length;if(stdStringIsUTF8&&valueIsOfTypeString){stringToUTF8(value,ptr+4,length+1)}else{if(valueIsOfTypeString){for(var i=0;i255){_free(ptr);throwBindingError("String has UTF-16 code units that do not fit in 8 bits")}HEAPU8[ptr+4+i]=charCode}}else{for(var i=0;iHEAPU16;shift=1}else if(charSize===4){decodeString=UTF32ToString;encodeString=stringToUTF32;lengthBytesUTF=lengthBytesUTF32;getHeap=()=>HEAPU32;shift=2}registerType(rawType,{name:name,"fromWireType":function(value){var length=HEAPU32[value>>2];var HEAP=getHeap();var str;var decodeStartPtr=value+4;for(var i=0;i<=length;++i){var currentBytePtr=value+4+i*charSize;if(i==length||HEAP[currentBytePtr>>shift]==0){var maxReadBytes=currentBytePtr-decodeStartPtr;var stringSegment=decodeString(decodeStartPtr,maxReadBytes);if(str===undefined){str=stringSegment}else{str+=String.fromCharCode(0);str+=stringSegment}decodeStartPtr=currentBytePtr+charSize}}_free(value);return str},"toWireType":function(destructors,value){if(!(typeof value=="string")){throwBindingError("Cannot pass non-string to C++ string type "+name)}var length=lengthBytesUTF(value);var ptr=_malloc(4+length+charSize);HEAPU32[ptr>>2]=length>>shift;encodeString(value,ptr+4,length+charSize);if(destructors!==null){destructors.push(_free,ptr)}return ptr},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:function(ptr){_free(ptr)}})}function __embind_register_void(rawType,name){name=readLatin1String(name);registerType(rawType,{isVoid:true,name:name,"argPackAdvance":0,"fromWireType":function(){return undefined},"toWireType":function(destructors,o){return undefined}})}function __emscripten_date_now(){return Date.now()}var nowIsMonotonic=true;function __emscripten_get_now_is_monotonic(){return nowIsMonotonic}function __emval_as(handle,returnType,destructorsRef){handle=Emval.toValue(handle);returnType=requireRegisteredType(returnType,"emval::as");var destructors=[];var rd=Emval.toHandle(destructors);HEAP32[destructorsRef>>2]=rd;return returnType["toWireType"](destructors,handle)}function emval_allocateDestructors(destructorsRef){var destructors=[];HEAP32[destructorsRef>>2]=Emval.toHandle(destructors);return destructors}var emval_symbols={};function getStringOrSymbol(address){var symbol=emval_symbols[address];if(symbol===undefined){return readLatin1String(address)}return symbol}var emval_methodCallers=[];function __emval_call_method(caller,handle,methodName,destructorsRef,args){caller=emval_methodCallers[caller];handle=Emval.toValue(handle);methodName=getStringOrSymbol(methodName);return caller(handle,methodName,emval_allocateDestructors(destructorsRef),args)}function emval_get_global(){if(typeof globalThis=="object"){return globalThis}return function(){return Function}()("return this")()}function __emval_get_global(name){if(name===0){return Emval.toHandle(emval_get_global())}else{name=getStringOrSymbol(name);return Emval.toHandle(emval_get_global()[name])}}function emval_addMethodCaller(caller){var id=emval_methodCallers.length;emval_methodCallers.push(caller);return id}function emval_lookupTypes(argCount,argTypes){var a=new Array(argCount);for(var i=0;i>2],"parameter "+i)}return a}var emval_registeredMethods=[];function __emval_get_method_caller(argCount,argTypes){var types=emval_lookupTypes(argCount,argTypes);var retType=types[0];var signatureName=retType.name+"_$"+types.slice(1).map(function(t){return t.name}).join("_")+"$";var returnId=emval_registeredMethods[signatureName];if(returnId!==undefined){return returnId}var params=["retType"];var args=[retType];var argsList="";for(var i=0;i4){emval_handle_array[handle].refcount+=1}}function __emval_new_cstring(v){return Emval.toHandle(getStringOrSymbol(v))}function __emval_run_destructors(handle){var destructors=Emval.toValue(handle);runDestructors(destructors);__emval_decref(handle)}function __emval_set_property(handle,key,value){handle=Emval.toValue(handle);key=Emval.toValue(key);value=Emval.toValue(value);handle[key]=value}function __emval_take_value(type,argv){type=requireRegisteredType(type,"_emval_take_value");var v=type["readValueFromPointer"](argv);return Emval.toHandle(v)}function __emval_typeof(handle){handle=Emval.toValue(handle);return Emval.toHandle(typeof handle)}function __localtime_js(time,tmPtr){var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();HEAP32[tmPtr+20>>2]=date.getFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getDay();var start=new Date(date.getFullYear(),0,1);var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+36>>2]=-(date.getTimezoneOffset()*60);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dst=(summerOffset!=winterOffset&&date.getTimezoneOffset()==Math.min(winterOffset,summerOffset))|0;HEAP32[tmPtr+32>>2]=dst}function __munmap_js(addr,len,prot,flags,fd,offset){try{var stream=FS.getStream(fd);if(stream){if(prot&2){SYSCALLS.doMsync(addr,stream,len,flags,offset)}FS.munmap(stream)}}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return-e.errno}}function _tzset_impl(timezone,daylight,tzname){var currentYear=(new Date).getFullYear();var winter=new Date(currentYear,0,1);var summer=new Date(currentYear,6,1);var winterOffset=winter.getTimezoneOffset();var summerOffset=summer.getTimezoneOffset();var stdTimezoneOffset=Math.max(winterOffset,summerOffset);HEAP32[timezone>>2]=stdTimezoneOffset*60;HEAP32[daylight>>2]=Number(winterOffset!=summerOffset);function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocateUTF8(winterName);var summerNamePtr=allocateUTF8(summerName);if(summerOffset>2]=winterNamePtr;HEAPU32[tzname+4>>2]=summerNamePtr}else{HEAPU32[tzname>>2]=summerNamePtr;HEAPU32[tzname+4>>2]=winterNamePtr}}function __tzset_js(timezone,daylight,tzname){if(__tzset_js.called)return;__tzset_js.called=true;_tzset_impl(timezone,daylight,tzname)}function _abort(){abort("")}function getHeapMax(){return 2147483648}function _emscripten_get_heap_max(){return getHeapMax()}var _emscripten_get_now;if(ENVIRONMENT_IS_NODE){_emscripten_get_now=()=>{var t=process["hrtime"]();return t[0]*1e3+t[1]/1e6}}else _emscripten_get_now=()=>performance.now();function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}function emscripten_realloc_buffer(size){try{wasmMemory.grow(size-buffer.byteLength+65535>>>16);updateGlobalBufferAndViews(wasmMemory.buffer);return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=HEAPU8.length;requestedSize=requestedSize>>>0;var maxHeapSize=getHeapMax();if(requestedSize>maxHeapSize){return false}let alignUp=(x,multiple)=>x+(multiple-x%multiple)%multiple;for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}var ENV={};function getExecutableName(){return thisProgram||"./this.program"}function getEnvStrings(){if(!getEnvStrings.strings){var lang=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8";var env={"USER":"web_user","LOGNAME":"web_user","PATH":"/","PWD":"/","HOME":"/home/web_user","LANG":lang,"_":getExecutableName()};for(var x in ENV){if(ENV[x]===undefined)delete env[x];else env[x]=ENV[x]}var strings=[];for(var x in env){strings.push(x+"="+env[x])}getEnvStrings.strings=strings}return getEnvStrings.strings}function _environ_get(__environ,environ_buf){var bufSize=0;getEnvStrings().forEach(function(string,i){var ptr=environ_buf+bufSize;HEAPU32[__environ+i*4>>2]=ptr;writeAsciiToMemory(string,ptr);bufSize+=string.length+1});return 0}function _environ_sizes_get(penviron_count,penviron_buf_size){var strings=getEnvStrings();HEAPU32[penviron_count>>2]=strings.length;var bufSize=0;strings.forEach(function(string){bufSize+=string.length+1});HEAPU32[penviron_buf_size>>2]=bufSize;return 0}function _exit(status){exit(status)}function _fd_close(fd){try{var stream=SYSCALLS.getStreamFromFD(fd);FS.close(stream);return 0}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function doReadv(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAPU32[iov+4>>2];iov+=8;var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2]=num;return 0}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function convertI32PairToI53Checked(lo,hi){return hi+2097152>>>0<4194305-!!lo?(lo>>>0)+hi*4294967296:NaN}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){try{var offset=convertI32PairToI53Checked(offset_low,offset_high);if(isNaN(offset))return 61;var stream=SYSCALLS.getStreamFromFD(fd);FS.llseek(stream,offset,whence);tempI64=[stream.position>>>0,(tempDouble=stream.position,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[newOffset>>2]=tempI64[0],HEAP32[newOffset+4>>2]=tempI64[1];if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function doWritev(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAPU32[iov+4>>2];iov+=8;var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret}function _fd_write(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=doWritev(stream,iov,iovcnt);HEAPU32[pnum>>2]=num;return 0}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function inetPton4(str){var b=str.split(".");for(var i=0;i<4;i++){var tmp=Number(b[i]);if(isNaN(tmp))return null;b[i]=tmp}return(b[0]|b[1]<<8|b[2]<<16|b[3]<<24)>>>0}function jstoi_q(str){return parseInt(str)}function inetPton6(str){var words;var w,offset,z;var valid6regx=/^((?=.*::)(?!.*::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5])\.?\b){4})$/i;var parts=[];if(!valid6regx.test(str)){return null}if(str==="::"){return[0,0,0,0,0,0,0,0]}if(str.startsWith("::")){str=str.replace("::","Z:")}else{str=str.replace("::",":Z:")}if(str.indexOf(".")>0){str=str.replace(new RegExp("[.]","g"),":");words=str.split(":");words[words.length-4]=jstoi_q(words[words.length-4])+jstoi_q(words[words.length-3])*256;words[words.length-3]=jstoi_q(words[words.length-2])+jstoi_q(words[words.length-1])*256;words=words.slice(0,words.length-2)}else{words=str.split(":")}offset=0;z=0;for(w=0;w>2]=nameBuf;var aliasesBuf=_malloc(4);HEAPU32[aliasesBuf>>2]=0;HEAPU32[ret+4>>2]=aliasesBuf;var afinet=2;HEAP32[ret+8>>2]=afinet;HEAP32[ret+12>>2]=4;var addrListBuf=_malloc(12);HEAPU32[addrListBuf>>2]=addrListBuf+8;HEAPU32[addrListBuf+4>>2]=0;HEAP32[addrListBuf+8>>2]=inetPton4(DNS.lookup_name(name));HEAPU32[ret+16>>2]=addrListBuf;return ret}function _gethostbyname(name){return getHostByName(UTF8ToString(name))}function __webgl_enable_ANGLE_instanced_arrays(ctx){var ext=ctx.getExtension("ANGLE_instanced_arrays");if(ext){ctx["vertexAttribDivisor"]=function(index,divisor){ext["vertexAttribDivisorANGLE"](index,divisor)};ctx["drawArraysInstanced"]=function(mode,first,count,primcount){ext["drawArraysInstancedANGLE"](mode,first,count,primcount)};ctx["drawElementsInstanced"]=function(mode,count,type,indices,primcount){ext["drawElementsInstancedANGLE"](mode,count,type,indices,primcount)};return 1}}function __webgl_enable_OES_vertex_array_object(ctx){var ext=ctx.getExtension("OES_vertex_array_object");if(ext){ctx["createVertexArray"]=function(){return ext["createVertexArrayOES"]()};ctx["deleteVertexArray"]=function(vao){ext["deleteVertexArrayOES"](vao)};ctx["bindVertexArray"]=function(vao){ext["bindVertexArrayOES"](vao)};ctx["isVertexArray"]=function(vao){return ext["isVertexArrayOES"](vao)};return 1}}function __webgl_enable_WEBGL_draw_buffers(ctx){var ext=ctx.getExtension("WEBGL_draw_buffers");if(ext){ctx["drawBuffers"]=function(n,bufs){ext["drawBuffersWEBGL"](n,bufs)};return 1}}function __webgl_enable_WEBGL_multi_draw(ctx){return!!(ctx.multiDrawWebgl=ctx.getExtension("WEBGL_multi_draw"))}var GL={counter:1,buffers:[],programs:[],framebuffers:[],renderbuffers:[],textures:[],shaders:[],vaos:[],contexts:[],offscreenCanvases:{},queries:[],stringCache:{},unpackAlignment:4,recordError:function recordError(errorCode){if(!GL.lastError){GL.lastError=errorCode}},getNewId:function(table){var ret=GL.counter++;for(var i=table.length;i>2]:-1;source+=UTF8ToString(HEAP32[string+i*4>>2],len<0?undefined:len)}return source},createContext:function(canvas,webGLContextAttributes){if(!canvas.getContextSafariWebGL2Fixed){canvas.getContextSafariWebGL2Fixed=canvas.getContext;function fixedGetContext(ver,attrs){var gl=canvas.getContextSafariWebGL2Fixed(ver,attrs);return ver=="webgl"==gl instanceof WebGLRenderingContext?gl:null}canvas.getContext=fixedGetContext}var ctx=canvas.getContext("webgl",webGLContextAttributes);if(!ctx)return 0;var handle=GL.registerContext(ctx,webGLContextAttributes);return handle},registerContext:function(ctx,webGLContextAttributes){var handle=GL.getNewId(GL.contexts);var context={handle:handle,attributes:webGLContextAttributes,version:webGLContextAttributes.majorVersion,GLctx:ctx};if(ctx.canvas)ctx.canvas.GLctxObject=context;GL.contexts[handle]=context;if(typeof webGLContextAttributes.enableExtensionsByDefault=="undefined"||webGLContextAttributes.enableExtensionsByDefault){GL.initExtensions(context)}return handle},makeContextCurrent:function(contextHandle){GL.currentContext=GL.contexts[contextHandle];Module.ctx=GLctx=GL.currentContext&&GL.currentContext.GLctx;return!(contextHandle&&!GLctx)},getContext:function(contextHandle){return GL.contexts[contextHandle]},deleteContext:function(contextHandle){if(GL.currentContext===GL.contexts[contextHandle])GL.currentContext=null;if(typeof JSEvents=="object")JSEvents.removeAllHandlersOnTarget(GL.contexts[contextHandle].GLctx.canvas);if(GL.contexts[contextHandle]&&GL.contexts[contextHandle].GLctx.canvas)GL.contexts[contextHandle].GLctx.canvas.GLctxObject=undefined;GL.contexts[contextHandle]=null},initExtensions:function(context){if(!context)context=GL.currentContext;if(context.initExtensionsDone)return;context.initExtensionsDone=true;var GLctx=context.GLctx;__webgl_enable_ANGLE_instanced_arrays(GLctx);__webgl_enable_OES_vertex_array_object(GLctx);__webgl_enable_WEBGL_draw_buffers(GLctx);{GLctx.disjointTimerQueryExt=GLctx.getExtension("EXT_disjoint_timer_query")}__webgl_enable_WEBGL_multi_draw(GLctx);var exts=GLctx.getSupportedExtensions()||[];exts.forEach(function(ext){if(!ext.includes("lose_context")&&!ext.includes("debug")){GLctx.getExtension(ext)}})}};function webglGetLeftBracePos(name){return name.slice(-1)=="]"&&name.lastIndexOf("[")}function webglPrepareUniformLocationsBeforeFirstUse(program){var uniformLocsById=program.uniformLocsById,uniformSizeAndIdsByName=program.uniformSizeAndIdsByName,i,j;if(!uniformLocsById){program.uniformLocsById=uniformLocsById={};program.uniformArrayNamesById={};for(i=0;i0?nm.slice(0,lb):nm;var id=program.uniformIdCounter;program.uniformIdCounter+=sz;uniformSizeAndIdsByName[arrayName]=[sz,id];for(j=0;j0){arrayIndex=jstoi_q(name.slice(leftBrace+1))>>>0;uniformBaseName=name.slice(0,leftBrace)}var sizeAndId=program.uniformSizeAndIdsByName[uniformBaseName];if(sizeAndId&&arrayIndex0?"["+webglLoc+"]":""))}return webglLoc}else{GL.recordError(1282)}}function _glUniform1f(location,v0){GLctx.uniform1f(webglGetUniformLocation(location),v0)}function _glUniform1i(location,v0){GLctx.uniform1i(webglGetUniformLocation(location),v0)}var miniTempWebGLFloatBuffers=[];function _glUniform2fv(location,count,value){if(count<=144){var view=miniTempWebGLFloatBuffers[2*count-1];for(var i=0;i<2*count;i+=2){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*8>>2)}GLctx.uniform2fv(webglGetUniformLocation(location),view)}var __miniTempWebGLIntBuffers=[];function _glUniform2iv(location,count,value){if(count<=144){var view=__miniTempWebGLIntBuffers[2*count-1];for(var i=0;i<2*count;i+=2){view[i]=HEAP32[value+4*i>>2];view[i+1]=HEAP32[value+(4*i+4)>>2]}}else{var view=HEAP32.subarray(value>>2,value+count*8>>2)}GLctx.uniform2iv(webglGetUniformLocation(location),view)}function _glUniform3fv(location,count,value){if(count<=96){var view=miniTempWebGLFloatBuffers[3*count-1];for(var i=0;i<3*count;i+=3){view[i]=HEAPF32[value+4*i>>2];view[i+1]=HEAPF32[value+(4*i+4)>>2];view[i+2]=HEAPF32[value+(4*i+8)>>2]}}else{var view=HEAPF32.subarray(value>>2,value+count*12>>2)}GLctx.uniform3fv(webglGetUniformLocation(location),view)}function _glUniform3iv(location,count,value){if(count<=96){var view=__miniTempWebGLIntBuffers[3*count-1];for(var i=0;i<3*count;i+=3){view[i]=HEAP32[value+4*i>>2];view[i+1]=HEAP32[value+(4*i+4)>>2];view[i+2]=HEAP32[value+(4*i+8)>>2]}}else{var view=HEAP32.subarray(value>>2,value+count*12>>2)}GLctx.uniform3iv(webglGetUniformLocation(location),view)}function _glUniform4fv(location,count,value){if(count<=72){var view=miniTempWebGLFloatBuffers[4*count-1];var heap=HEAPF32;value>>=2;for(var i=0;i<4*count;i+=4){var dst=value+i;view[i]=heap[dst];view[i+1]=heap[dst+1];view[i+2]=heap[dst+2];view[i+3]=heap[dst+3]}}else{var view=HEAPF32.subarray(value>>2,value+count*16>>2)}GLctx.uniform4fv(webglGetUniformLocation(location),view)}function _glUniform4iv(location,count,value){if(count<=72){var view=__miniTempWebGLIntBuffers[4*count-1];for(var i=0;i<4*count;i+=4){view[i]=HEAP32[value+4*i>>2];view[i+1]=HEAP32[value+(4*i+4)>>2];view[i+2]=HEAP32[value+(4*i+8)>>2];view[i+3]=HEAP32[value+(4*i+12)>>2]}}else{var view=HEAP32.subarray(value>>2,value+count*16>>2)}GLctx.uniform4iv(webglGetUniformLocation(location),view)}function _setTempRet0(val){setTempRet0(val)}function __isLeapYear(year){return year%4===0&&(year%100!==0||year%400===0)}function __arraySum(array,index){var sum=0;for(var i=0;i<=index;sum+=array[i++]){}return sum}var __MONTH_DAYS_LEAP=[31,29,31,30,31,30,31,31,30,31,30,31];var __MONTH_DAYS_REGULAR=[31,28,31,30,31,30,31,31,30,31,30,31];function __addDays(date,days){var newDate=new Date(date.getTime());while(days>0){var leap=__isLeapYear(newDate.getFullYear());var currentMonth=newDate.getMonth();var daysInCurrentMonth=(leap?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR)[currentMonth];if(days>daysInCurrentMonth-newDate.getDate()){days-=daysInCurrentMonth-newDate.getDate()+1;newDate.setDate(1);if(currentMonth<11){newDate.setMonth(currentMonth+1)}else{newDate.setMonth(0);newDate.setFullYear(newDate.getFullYear()+1)}}else{newDate.setDate(newDate.getDate()+days);return newDate}}return newDate}function _strftime(s,maxsize,format,tm){var tm_zone=HEAP32[tm+40>>2];var date={tm_sec:HEAP32[tm>>2],tm_min:HEAP32[tm+4>>2],tm_hour:HEAP32[tm+8>>2],tm_mday:HEAP32[tm+12>>2],tm_mon:HEAP32[tm+16>>2],tm_year:HEAP32[tm+20>>2],tm_wday:HEAP32[tm+24>>2],tm_yday:HEAP32[tm+28>>2],tm_isdst:HEAP32[tm+32>>2],tm_gmtoff:HEAP32[tm+36>>2],tm_zone:tm_zone?UTF8ToString(tm_zone):""};var pattern=UTF8ToString(format);var EXPANSION_RULES_1={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value=="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}else{return thisDate.getFullYear()}}else{return thisDate.getFullYear()-1}}var EXPANSION_RULES_2={"%a":function(date){return WEEKDAYS[date.tm_wday].substring(0,3)},"%A":function(date){return WEEKDAYS[date.tm_wday]},"%b":function(date){return MONTHS[date.tm_mon].substring(0,3)},"%B":function(date){return MONTHS[date.tm_mon]},"%C":function(date){var year=date.tm_year+1900;return leadingNulls(year/100|0,2)},"%d":function(date){return leadingNulls(date.tm_mday,2)},"%e":function(date){return leadingSomething(date.tm_mday,2," ")},"%g":function(date){return getWeekBasedYear(date).toString().substring(2)},"%G":function(date){return getWeekBasedYear(date)},"%H":function(date){return leadingNulls(date.tm_hour,2)},"%I":function(date){var twelveHour=date.tm_hour;if(twelveHour==0)twelveHour=12;else if(twelveHour>12)twelveHour-=12;return leadingNulls(twelveHour,2)},"%j":function(date){return leadingNulls(date.tm_mday+__arraySum(__isLeapYear(date.tm_year+1900)?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,date.tm_mon-1),3)},"%m":function(date){return leadingNulls(date.tm_mon+1,2)},"%M":function(date){return leadingNulls(date.tm_min,2)},"%n":function(){return"\n"},"%p":function(date){if(date.tm_hour>=0&&date.tm_hour<12){return"AM"}else{return"PM"}},"%S":function(date){return leadingNulls(date.tm_sec,2)},"%t":function(){return"\t"},"%u":function(date){return date.tm_wday||7},"%U":function(date){var days=date.tm_yday+7-date.tm_wday;return leadingNulls(Math.floor(days/7),2)},"%V":function(date){var val=Math.floor((date.tm_yday+7-(date.tm_wday+6)%7)/7);if((date.tm_wday+371-date.tm_yday-2)%7<=2){val++}if(!val){val=52;var dec31=(date.tm_wday+7-date.tm_yday-1)%7;if(dec31==4||dec31==5&&__isLeapYear(date.tm_year%400-1)){val++}}else if(val==53){var jan1=(date.tm_wday+371-date.tm_yday)%7;if(jan1!=4&&(jan1!=3||!__isLeapYear(date.tm_year)))val=1}return leadingNulls(val,2)},"%w":function(date){return date.tm_wday},"%W":function(date){var days=date.tm_yday+7-(date.tm_wday+6)%7;return leadingNulls(Math.floor(days/7),2)},"%y":function(date){return(date.tm_year+1900).toString().substring(2)},"%Y":function(date){return date.tm_year+1900},"%z":function(date){var off=date.tm_gmtoff;var ahead=off>=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)},"%Z":function(date){return date.tm_zone},"%%":function(){return"%"}};pattern=pattern.replace(/%%/g,"\0\0");for(var rule in EXPANSION_RULES_2){if(pattern.includes(rule)){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}pattern=pattern.replace(/\0\0/g,"%");var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _strftime_l(s,maxsize,format,tm){return _strftime(s,maxsize,format,tm)}var FSNode=function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev};var readMode=292|73;var writeMode=146;Object.defineProperties(FSNode.prototype,{read:{get:function(){return(this.mode&readMode)===readMode},set:function(val){val?this.mode|=readMode:this.mode&=~readMode}},write:{get:function(){return(this.mode&writeMode)===writeMode},set:function(val){val?this.mode|=writeMode:this.mode&=~writeMode}},isFolder:{get:function(){return FS.isDir(this.mode)}},isDevice:{get:function(){return FS.isChrdev(this.mode)}}});FS.FSNode=FSNode;FS.staticInit();embind_init_charCodes();BindingError=Module["BindingError"]=extendError(Error,"BindingError");InternalError=Module["InternalError"]=extendError(Error,"InternalError");init_ClassHandle();init_embind();init_RegisteredPointer();UnboundTypeError=Module["UnboundTypeError"]=extendError(Error,"UnboundTypeError");init_emval();var GLctx;var miniTempWebGLFloatBuffersStorage=new Float32Array(288);for(var i=0;i<288;++i){miniTempWebGLFloatBuffers[i]=miniTempWebGLFloatBuffersStorage.subarray(0,i+1)}var __miniTempWebGLIntBuffersStorage=new Int32Array(288);for(var i=0;i<288;++i){__miniTempWebGLIntBuffers[i]=__miniTempWebGLIntBuffersStorage.subarray(0,i+1)}function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}var asmLibraryArg={"ga":OSD_MemInfo_getModuleHeapLength,"k":___assert_fail,"a":___cxa_allocate_exception,"c":___cxa_throw,"Q":___syscall_chmod,"R":___syscall_faccessat,"q":___syscall_fcntl64,"K":___syscall_fstat64,"U":___syscall_ioctl,"I":___syscall_lstat64,"H":___syscall_newfstatat,"u":___syscall_openat,"J":___syscall_stat64,"z":__embind_register_bigint,"W":__embind_register_bool,"d":__embind_register_class,"f":__embind_register_class_class_function,"e":__embind_register_class_constructor,"b":__embind_register_class_function,"V":__embind_register_emval,"g":__embind_register_enum,"h":__embind_register_enum_value,"v":__embind_register_float,"j":__embind_register_integer,"i":__embind_register_memory_view,"w":__embind_register_std_string,"r":__embind_register_std_wstring,"X":__embind_register_void,"N":__emscripten_date_now,"M":__emscripten_get_now_is_monotonic,"m":__emval_as,"ka":__emval_call_method,"x":__emval_decref,"la":__emval_get_global,"ja":__emval_get_method_caller,"s":__emval_get_property,"E":__emval_incref,"ia":__emval_new_cstring,"ma":__emval_run_destructors,"n":__emval_set_property,"l":__emval_take_value,"na":__emval_typeof,"O":__localtime_js,"D":__munmap_js,"P":__tzset_js,"t":_abort,"C":_emscripten_get_heap_max,"L":_emscripten_memcpy_big,"o":_emscripten_resize_heap,"F":_environ_get,"G":_environ_sizes_get,"fa":_exit,"p":_fd_close,"T":_fd_read,"y":_fd_seek,"S":_fd_write,"ha":_gethostbyname,"ea":_glGetUniformLocation,"ca":_glUniform1f,"da":_glUniform1i,"_":_glUniform2fv,"ba":_glUniform2iv,"Z":_glUniform3fv,"aa":_glUniform3iv,"Y":_glUniform4fv,"$":_glUniform4iv,"A":_setTempRet0,"B":_strftime_l};var asm=createWasm();var ___wasm_call_ctors=Module["___wasm_call_ctors"]=function(){return(___wasm_call_ctors=Module["___wasm_call_ctors"]=Module["asm"]["pa"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["qa"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["ra"]).apply(null,arguments)};var ___errno_location=Module["___errno_location"]=function(){return(___errno_location=Module["___errno_location"]=Module["asm"]["sa"]).apply(null,arguments)};var ___getTypeName=Module["___getTypeName"]=function(){return(___getTypeName=Module["___getTypeName"]=Module["asm"]["ta"]).apply(null,arguments)};var ___embind_register_native_and_builtin_types=Module["___embind_register_native_and_builtin_types"]=function(){return(___embind_register_native_and_builtin_types=Module["___embind_register_native_and_builtin_types"]=Module["asm"]["ua"]).apply(null,arguments)};var _htons=Module["_htons"]=function(){return(_htons=Module["_htons"]=Module["asm"]["wa"]).apply(null,arguments)};var _emscripten_builtin_memalign=Module["_emscripten_builtin_memalign"]=function(){return(_emscripten_builtin_memalign=Module["_emscripten_builtin_memalign"]=Module["asm"]["xa"]).apply(null,arguments)};var ___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=function(){return(___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=Module["asm"]["ya"]).apply(null,arguments)};var dynCall_jiji=Module["dynCall_jiji"]=function(){return(dynCall_jiji=Module["dynCall_jiji"]=Module["asm"]["za"]).apply(null,arguments)};var dynCall_viiiiji=Module["dynCall_viiiiji"]=function(){return(dynCall_viiiiji=Module["dynCall_viiiiji"]=Module["asm"]["Aa"]).apply(null,arguments)};var dynCall_viijii=Module["dynCall_viijii"]=function(){return(dynCall_viijii=Module["dynCall_viijii"]=Module["asm"]["Ba"]).apply(null,arguments)};var dynCall_iiiiij=Module["dynCall_iiiiij"]=function(){return(dynCall_iiiiij=Module["dynCall_iiiiij"]=Module["asm"]["Ca"]).apply(null,arguments)};var dynCall_iiiiijj=Module["dynCall_iiiiijj"]=function(){return(dynCall_iiiiijj=Module["dynCall_iiiiijj"]=Module["asm"]["Da"]).apply(null,arguments)};var dynCall_iiiiiijj=Module["dynCall_iiiiiijj"]=function(){return(dynCall_iiiiiijj=Module["dynCall_iiiiiijj"]=Module["asm"]["Ea"]).apply(null,arguments)};Module["FS"]=FS;var calledRun;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(args){args=args||arguments_;if(runDependencies>0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();readyPromiseResolve(Module);if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}Module["run"]=run;function exit(status,implicit){EXITSTATUS=status;procExit(status)}function procExit(code){EXITSTATUS=code;if(!keepRuntimeAlive()){if(Module["onExit"])Module["onExit"](code);ABORT=true}quit_(code,new ExitStatus(code))}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}run(); - - - return Module.ready -} -); -})(); -export default Module; \ No newline at end of file diff --git a/packages/replicad-opencascadejs/src/replicad_no_exception.wasm b/packages/replicad-opencascadejs/src/replicad_no_exception.wasm deleted file mode 100755 index ba96cf3..0000000 Binary files a/packages/replicad-opencascadejs/src/replicad_no_exception.wasm and /dev/null differ