Options
All
  • Public
  • Public/Protected
  • All
Menu
Logo of bit by bit developers

Module declarationsBase

Index

Variables

Variables

Const baseDeclarations

baseDeclarations: "declare namespace BaseTypes {\n /**\n * Interval represents an object that has two properties - min and max.\n */\n class IntervalDto {\n /**\n * Minimum value of the interval\n * @link https://docs.bitbybit.dev/classes/bitbybit_base_types.basetypes.intervaldto.html#min\n */\n min: number;\n /**\n * Maximum value of the interval\n * @link https://docs.bitbybit.dev/classes/bitbybit_base_types.basetypes.intervaldto.html#max\n */\n max: number;\n }\n /**\n * UV usually represents 2D coordinates on 3D or 2D surfaces. It is similar to XY coordinates in planes.\n */\n class UVDto {\n /**\n * U coordinate of the surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_base_types.basetypes.uvdto.html#u\n */\n u: number;\n /**\n * V coordinate of the surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_base_types.basetypes.uvdto.html#v\n */\n v: number;\n }\n /**\n * Intersection result of curve curve\n */\n class CurveCurveIntersection {\n /**\n * Point of intersection on the first curve\n */\n point0: number[];\n /**\n * Point of intersection on the second curve\n */\n point1: number[];\n /**\n * Parameter of intersection on the first curve\n */\n u0: number;\n /**\n * Parameter of intersection on the second curve\n */\n u1: number;\n }\n /**\n * Intersection result of curve and surface\n */\n class CurveSurfaceIntersection {\n /**\n * Parameter of intersection on the curve\n */\n u: number;\n /**\n * UV Parameters of intersection on the surface\n */\n uv: UVDto;\n /**\n * Point of intersection on the curve\n */\n curvePoint: number[];\n /**\n * Point of intersection on the surface\n */\n surfacePoint: number[];\n }\n /**\n * Intersection point between two surfaces\n */\n class SurfaceSurfaceIntersectionPoint {\n /**\n * UV parameters of intersection on first surface\n */\n uv0: UVDto;\n /**\n * UV parameters of intersection on second surface\n */\n uv1: UVDto;\n /**\n * Point of intersection\n */\n point: number[];\n /**\n * Distance\n */\n dist: number;\n }\n}/**\n * Contains various functions for Solid booleans from JSCAD library http://openjscad.org\n * Thanks JSCAD community for developing this kernel\n */\ndeclare class JSCADBooleans {\n private readonly context;\n constructor(context: Context);\n /**\n * Intersect multiple solid mesh objects\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_booleans.jscadbooleans.html#intersect\n * @param inputs Contains multiple solids for intersection\n * @returns Solid mesh\n */\n intersect(inputs: Inputs.JSCAD.BooleanObjectsDto): any;\n /**\n * Subtract multiple solid mesh objects\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_booleans.jscadbooleans.html#subtract\n * @param inputs Contains multiple solids for subtraction\n * @returns Solid mesh\n */\n subtract(inputs: Inputs.JSCAD.BooleanObjectsDto): any;\n /**\n * Union multiple solid mesh objects\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_booleans.jscadbooleans.html#union\n * @param inputs Contains multiple solids for union\n * @returns Solid mesh\n */\n union(inputs: Inputs.JSCAD.BooleanObjectsDto): any;\n}/**\n * Contains various functions for Solid expansions from JSCAD library http://openjscad.org\n * Thanks JSCAD community for developing this kernel\n */\ndeclare class JSCADExpansions {\n private readonly context;\n private readonly geometryHelper;\n constructor(context: Context, geometryHelper: GeometryHelper);\n /**\n * Expand geometries of solid category\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_expansions.jscadexpansions.html#expand\n * @param inputs Contains options and geometries for expansion\n * @returns Expanded geometry\n */\n expand(inputs: Inputs.JSCAD.ExpansionDto): any | any[];\n /**\n * Offset 2d geometries of solid category\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_expansions.jscadexpansions.html#offset\n * @param inputs Contains options and geometries for offset\n * @returns Expanded geometry\n */\n offset(inputs: Inputs.JSCAD.ExpansionDto): any | any[];\n}/**\n * Contains various functions for Solid extrusions from JSCAD library http://openjscad.org\n * Thanks JSCAD community for developing this kernel\n */\ndeclare class JSCADExtrusions {\n private readonly context;\n private readonly geometryHelper;\n constructor(context: Context, geometryHelper: GeometryHelper);\n /**\n * Linear extrude 2D geometries of solid category\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_extrusions.jscadextrusions.html#extrudelinear\n * @param inputs Contains options and geometries for linear extrude\n * @returns Extruded geometry\n */\n extrudeLinear(inputs: Inputs.JSCAD.ExtrudeLinearDto): any | any[];\n /**\n * Rectangular extrude 2D geometries of solid category. Creates a wall-type extrusion of certain height and size.\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_extrusions.jscadextrusions.html#extruderectangular\n * @param inputs Contains options and geometries for rectangular extrude\n * @returns Extruded geometry\n */\n extrudeRectangular(inputs: Inputs.JSCAD.ExtrudeRectangularDto): any | any[];\n /**\n * Rectangular extrude a list of 2D points. Creates a wall-type extrusion of certain height and size.\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_extrusions.jscadextrusions.html#extruderectangularpoints\n * @param inputs Contains options and points for extrusion\n * @returns Extruded geometry\n */\n extrudeRectangularPoints(inputs: Inputs.JSCAD.ExtrudeRectangularPointsDto): any;\n /**\n * Rectangular extrude a list of 2D points. Creates a wall-type extrusion of certain height and size.\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_extrusions.jscadextrusions.html#extruderotate\n * @param inputs Contains options and points for extrusion\n * @returns Extruded geometry\n */\n extrudeRotate(inputs: Inputs.JSCAD.ExtrudeRotateDto): any;\n}/**\n * Contains various functions for Solid hulls from JSCAD library http://openjscad.org\n * Thanks JSCAD community for developing this kernel\n */\ndeclare class JSCADHulls {\n private readonly context;\n constructor(context: Context);\n /**\n * Hull chain connects solids or 2d geometries by filling an empty space in between objects in order.\n * Geometries need to be of the same type.\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_hulls.jscadhulls.html#chainhull\n * @param inputs Geometries\n * @returns Chain hulled geometry\n */\n hullChain(inputs: Inputs.JSCAD.HullDto): any | any[];\n /**\n * Convex hull connects solids or 2d geometries by filling an empty space in between without following order.\n * Geometries need to be of the same type.\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_hulls.jscadhulls.html#chainhull\n * @param inputs Geometries\n * @returns Hulled geometry\n */\n hull(inputs: Inputs.JSCAD.HullDto): any | any[];\n}/**\n * Contains various functions for Path from JSCAD library http://openjscad.org\n * Thanks JSCAD community for developing this kernel\n */\ndeclare class JSCADPath {\n private readonly context;\n private readonly geometryHelper;\n constructor(context: Context, geometryHelper: GeometryHelper);\n /**\n * Create a 2D path from a list of points\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_path.jscadpath.html#createfrompoints\n * @param inputs Points and indication if we want a closed path or not\n * @returns Path\n */\n createFromPoints(inputs: Inputs.JSCAD.PathFromPointsDto): any;\n /**\n * Create a 2D path from a polyline\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_path.jscadpath.html#createfrompolyline\n * @param inputs Polyline and indication if we want a closed path or not\n * @returns Path\n */\n createFromPolyline(inputs: Inputs.JSCAD.PathFromPolylineDto): any;\n /**\n * Create a 2D path from a curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_path.jscadpath.html#createfromcurve\n * @param inputs Curve and indication if we want a closed path or not\n * @returns Path\n */\n createFromCurve(inputs: Inputs.JSCAD.PathFromCurveDto): any;\n /**\n * Create empty 2D path\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_path.jscadpath.html#createempty\n * @returns Emprty path\n */\n createEmpty(): any;\n /**\n * Closes an open 2D path\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_path.jscadpath.html#close\n * @param inputs Path\n * @returns Closed path\n */\n close(inputs: Inputs.JSCAD.PathDto): any;\n /**\n * Append the path with 2D points\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_path.jscadpath.html#appendpoints\n * @param inputs Path to append and points\n * @returns Appended path\n */\n appendPoints(inputs: Inputs.JSCAD.PathAppendPointsDto): any;\n /**\n * Append the path with polyline\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_path.jscadpath.html#appendpolyline\n * @param inputs Path to append and polyline\n * @returns Appended path\n */\n appendPolyline(inputs: Inputs.JSCAD.PathAppendPolylineDto): any;\n /**\n * Append the path with the curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_path.jscadpath.html#appendcurve\n * @param inputs Path to append and a curve\n * @returns Appended path\n */\n appendCurve(inputs: Inputs.JSCAD.PathAppendCurveDto): any;\n /**\n * Append the arc to the path\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_path.jscadpath.html#appendarc\n * @param inputs Path and arc parameters\n * @returns Appended path\n */\n appendArc(inputs: Inputs.JSCAD.PathAppendArcDto): any;\n private removeDuplicatesAndCreateFromPoints;\n}/**\n * Contains various functions for Polygon from JSCAD library http://openjscad.org\n * Thanks JSCAD community for developing this kernel\n */\ndeclare class JSCADPolygon {\n private readonly context;\n private readonly geometryHelper;\n constructor(context: Context, geometryHelper: GeometryHelper);\n /**\n * Create a 2D polygon from a list of points\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_polygon.jscadpolygon.html#createfrompoints\n * @param inputs Points\n * @returns Path\n */\n createFromPoints(inputs: Inputs.Point.PointsDto): any;\n /**\n * Create a 2D polygon from a polyline\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_polygon.jscadpolygon.html#createfrompolyline\n * @param inputs Polyline\n * @returns Polygon\n */\n createFromPolyline(inputs: Inputs.Polyline.PolylineDto): any;\n /**\n * Create a 2D polygon from a curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_polygon.jscadpolygon.html#createfromcurve\n * @param inputs Nurbs curve\n * @returns Polygon\n */\n createFromCurve(inputs: Inputs.Verb.CurveDto): any;\n /**\n * Create a 2D polygon from a path\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_polygon.jscadpolygon.html#createfrompath\n * @param inputs Path\n * @returns Polygon\n */\n createFromPath(inputs: Inputs.JSCAD.PathDto): any;\n /**\n * Create a 2D polygon circle\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_polygon.jscadpolygon.html#circle\n * @param inputs Circle parameters\n * @returns Circle polygon\n */\n circle(inputs: Inputs.JSCAD.CircleDto): any;\n /**\n * Create a 2D polygon ellipse\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_polygon.jscadpolygon.html#ellipse\n * @param inputs Ellipse parameters\n * @returns Ellipse polygon\n */\n ellipse(inputs: Inputs.JSCAD.EllipseDto): any;\n /**\n * Create a 2D polygon rectangle\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_polygon.jscadpolygon.html#rectangle\n * @param inputs Rectangle parameters\n * @returns Rectangle polygon\n */\n rectangle(inputs: Inputs.JSCAD.RectangleDto): any;\n /**\n * Create a 2D rounded rectangle\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_polygon.jscadpolygon.html#roundedrectangle\n * @param inputs Rounded rectangle parameters\n * @returns Rounded rectangle polygon\n */\n roundedRectangle(inputs: Inputs.JSCAD.RoundedRectangleDto): any;\n /**\n * Create a 2D polygon square\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_polygon.jscadpolygon.html#square\n * @param inputs Square parameters\n * @returns Square polygon\n */\n square(inputs: Inputs.JSCAD.SquareDto): any;\n /**\n * Create a 2D polygon star\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_polygon.jscadpolygon.html#star\n * @param inputs Star parameters\n * @returns Star polygon\n */\n star(inputs: Inputs.JSCAD.StarDto): any;\n private removeDuplicatesAndCreateFromPoints;\n}/**\n * Contains various functions for solid 3D shapes from JSCAD library http://openjscad.org\n * Thanks JSCAD community for developing this kernel\n */\ndeclare class JSCADShapes {\n private readonly context;\n private readonly geometryHelper;\n constructor(context: Context, geometryHelper: GeometryHelper);\n /**\n * Create a 3D cube shape\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_shapes.jscadshapes.html#cube\n * @param inputs Cube parameters\n * @returns Cube solid\n */\n cube(inputs: Inputs.JSCAD.CubeDto): any;\n /**\n * Create a 3D cubes on multiple center points\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_shapes.jscadshapes.html#cubesoncenterpoints\n * @param inputs Cube with multiple center points parameters\n * @returns List of cube solids\n */\n cubesOnCenterPoints(inputs: Inputs.JSCAD.CubeCentersDto): any[];\n /**\n * Create a 3D cuboid shape\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_shapes.jscadshapes.html#cuboid\n * @param inputs Cuboid parameters\n * @returns Cuboid solid\n */\n cuboid(inputs: Inputs.JSCAD.CuboidDto): any;\n /**\n * Create a 3D cuboids on multiple center points\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_shapes.jscadshapes.html#cuboidsoncenterpoints\n * @param inputs Cuboids with multiple center point parameters\n * @returns List of cuboid solids\n */\n cuboidsOnCenterPoints(inputs: Inputs.JSCAD.CuboidCentersDto): any[];\n /**\n * Create a 3D elliptic cylinder solid\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_shapes.jscadshapes.html#cylinderelliptic\n * @param inputs Elliptic cylinder parameters\n * @returns Elliptic cylinder solid\n */\n cylinderElliptic(inputs: Inputs.JSCAD.CylidnerEllipticDto): any;\n /**\n * Create a 3D elliptic cylinders on multiple center points\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_shapes.jscadshapes.html#cylinderellipticoncenterpoints\n * @param inputs Elliptic cylinders with multiple center point parameters\n * @returns List of elliptic cylinders solids\n */\n cylinderEllipticOnCenterPoints(inputs: Inputs.JSCAD.CylidnerCentersEllipticDto): any[];\n /**\n * Create a 3D cylinder solid\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_shapes.jscadshapes.html#cylinder\n * @param inputs Cylinder parameters\n * @returns Cylinder solid\n */\n cylinder(inputs: Inputs.JSCAD.CylidnerDto): any;\n /**\n * Create a 3D cylinders on multiple center points\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_shapes.jscadshapes.html#cylinderoncenterpoints\n * @param inputs Cylinders with multiple center point parameters\n * @returns List of cylinder solids\n */\n cylindersOnCenterPoints(inputs: Inputs.JSCAD.CylidnerCentersDto): any[];\n /**\n * Create a 3D ellipsoid solid\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_shapes.jscadshapes.html#ellipsoid\n * @param inputs Ellipsoid parameters\n * @returns Ellipsoid solid\n */\n ellipsoid(inputs: Inputs.JSCAD.EllipsoidDto): any;\n /**\n * Create a 3D ellipsoids on multiple center points\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_shapes.jscadshapes.html#ellipsoidsoncenterpoints\n * @param inputs Ellipsoid parameters with multiple center points\n * @returns List of ellipsoid solids\n */\n ellipsoidsOnCenterPoints(inputs: Inputs.JSCAD.EllipsoidCentersDto): any[];\n /**\n * Create a 3D geodesic sphere solid\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_shapes.jscadshapes.html#geodesicsphere\n * @param inputs Geodesic sphere parameters\n * @returns Geodesic sphere solid\n */\n geodesicSphere(inputs: Inputs.JSCAD.GeodesicSphereDto): any;\n /**\n * Create a 3D geodesic spheres on multiple center points\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_shapes.jscadshapes.html#geodesicspheresoncenterpoints\n * @param inputs Geodesic sphere parameters with multiple center points\n * @returns List of geodesic spheres\n */\n geodesicSpheresOnCenterPoints(inputs: Inputs.JSCAD.GeodesicSphereCentersDto): any[];\n /**\n * Create a 3D rounded cuboid solid\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_shapes.jscadshapes.html#roundedcuboid\n * @param inputs Rounded cuboid parameters\n * @returns Rounded cuboid solid\n */\n roundedCuboid(inputs: Inputs.JSCAD.RoundedCuboidDto): any;\n /**\n * Create a 3D rounded cuboids on multiple center points\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_shapes.jscadshapes.html#roundedcuboidsoncenterpoints\n * @param inputs Rounded cuboids parameters with multiple center points\n * @returns List of rounded cuboids\n */\n roundedCuboidsOnCenterPoints(inputs: Inputs.JSCAD.RoundedCuboidCentersDto): any[];\n /**\n * Create a 3D rounded cylinder solid\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_shapes.jscadshapes.html#roundedcylinder\n * @param inputs Rounded cylinder parameters\n * @returns Rounded cylinder solid\n */\n roundedCylinder(inputs: Inputs.JSCAD.RoundedCylidnerDto): any;\n /**\n * Create a 3D rounded cylinders on multiple center points\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_shapes.jscadshapes.html#roundedcylindersoncenterpoints\n * @param inputs Rounded cylinders parameters with multiple center points\n * @returns List of rounded cylinders\n */\n roundedCylindersOnCenterPoints(inputs: Inputs.JSCAD.RoundedCylidnerCentersDto): any[];\n /**\n * Create a 3D sphere solid\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_shapes.jscadshapes.html#sphere\n * @param inputs Sphere parameters\n * @returns Sphere solid\n */\n sphere(inputs: Inputs.JSCAD.SphereDto): any;\n /**\n * Create a 3D sphere on multiple center points\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_shapes.jscadshapes.html#spheresoncenterpoints\n * @param inputs Sphere parameters with multiple center points\n * @returns List of spheres\n */\n spheresOnCenterPoints(inputs: Inputs.JSCAD.SphereCentersDto): any[];\n /**\n * Create a 3D torus solid\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_shapes.jscadshapes.html#torus\n * @param inputs Torus parameters\n * @returns Torus solid\n */\n torus(inputs: Inputs.JSCAD.TorusDto): any;\n}/**\n * Contains various functions for solid 3D texts from JSCAD library http://openjscad.org\n * Thanks JSCAD community for developing this kernel\n */\ndeclare class JSCADText {\n private readonly context;\n constructor(context: Context);\n /**\n * Creates a text that is based on chain hulling cylinders\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_text.jscadtext.html#cylindricaltext\n * @param inputs Cylindrical text parameters\n * @returns List of solids for text\n */\n cylindricalText(inputs: Inputs.JSCAD.CylinderTextDto): any[];\n /**\n * Creates a text that is based on chain hulling spheres\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad_text.jscadtext.html#sphericalText\n * @param inputs Spherical text parameters\n * @returns List of solids for text\n */\n sphericalText(inputs: Inputs.JSCAD.SphereTextDto): any[];\n private adjustTextToBeOnCenter;\n createVectorText(inputs: Inputs.JSCAD.TextDto): number[][];\n}/**\n * Contains various functions for Solid meshes from JSCAD library http://openjscad.org\n * Thanks JSCAD community for developing this kernel\n */\ndeclare class JSCAD {\n readonly booleans: JSCADBooleans;\n readonly expansions: JSCADExpansions;\n readonly extrusions: JSCADExtrusions;\n readonly hulls: JSCADHulls;\n readonly path: JSCADPath;\n readonly polygon: JSCADPolygon;\n readonly shapes: JSCADShapes;\n readonly text: JSCADText;\n private readonly context;\n private readonly geometryHelper;\n constructor(booleans: JSCADBooleans, expansions: JSCADExpansions, extrusions: JSCADExtrusions, hulls: JSCADHulls, path: JSCADPath, polygon: JSCADPolygon, shapes: JSCADShapes, text: JSCADText, context: Context, geometryHelper: GeometryHelper);\n /**\n * Draws a single solids\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad.jscad.html#drawsolidorpolygonmesh\n * @param inputs Contains a solid or polygon and information for drawing\n * @returns Mesh that is being drawn by Babylon\n */\n drawSolidOrPolygonMesh(inputs: Inputs.JSCAD.DrawSolidMeshDto): Mesh;\n /**\n * Draws multiple solids\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad.jscad.html#drawsolidorpolygonmeshes\n * @param inputs Contains solids or polygons and information for drawing\n * @returns Mesh that is being drawn by Babylon\n */\n drawSolidOrPolygonMeshes(inputs: Inputs.JSCAD.DrawSolidsMeshDto): Mesh;\n /**\n * Draws a 2D path\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad.jscad.html#drawpath\n * @param inputs Contains a path and information for drawing\n * @returns Mesh that is being drawn by Babylon\n */\n drawPath(inputs: Inputs.JSCAD.DrawPathDto): LinesMesh;\n /**\n * Transforms the Jscad solid meshes with a given list of transformations.\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad.jscad.html#transformsolids\n * @param inputs Solids with the transformation matrixes\n * @returns Solids with a transformation\n */\n transformSolids(inputs: Inputs.JSCAD.TransformSolidsDto): any;\n /**\n * Transforms the Jscad solid mesh with a given list of transformations.\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad.jscad.html#transformsolid\n * @param inputs Solid with the transformation matrixes\n * @returns Solid with a transformation\n */\n transformSolid(inputs: Inputs.JSCAD.TransformSolidDto): any;\n /**\n * Downloads the binary STL file from a 3D solid\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad.jscad.html#downloadsolidstl\n * @param inputs 3D Solid\n */\n downloadSolidSTL(inputs: Inputs.JSCAD.DownloadSolidDto): void;\n /**\n * Downloads the binary STL file from a 3D solids\n * @link https://docs.bitbybit.dev/classes/bitbybit_jscad.jscad.html#downloadsolidsstl\n * @param inputs 3D Solid\n */\n downloadSolidsSTL(inputs: Inputs.JSCAD.DownloadSolidsDto): void;\n private downloadSTL;\n private createMesh;\n}/**\n * Contains various methods for lines. Line in bitbybit is a simple object that has star and end point properties.\n * { start: [ x, y, z ], end: [ x, y, z ] }\n */\ndeclare class Line {\n private readonly context;\n private readonly geometryHelper;\n constructor(context: Context, geometryHelper: GeometryHelper);\n /**\n * Draws a single line\n * @link https://docs.bitbybit.dev/classes/bitbybit_line.line.html#drawline\n * @param inputs Contains a line to be drawn\n * @returns Lines mesh that is being drawn by Babylon\n */\n drawLine(inputs: Inputs.Line.DrawLineDto): LinesMesh;\n /**\n * Draws multiple lines\n * @link https://docs.bitbybit.dev/classes/bitbybit_line.line.html#drawlines\n * @param inputs Contains a line to be drawn\n * @returns Lines mesh that is being drawn by Babylon\n */\n drawLines(inputs: Inputs.Line.DrawLinesDto): LinesMesh;\n /**\n * Converts a line to a NURBS line curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_line.line.html#converttonurbscurve\n * Returns the verbnurbs Line object\n * @link http://verbnurbs.com/docs/geom/Line/\n * @param inputs Line to be transformed to curve\n * @returns Verb nurbs curve\n */\n convertToNurbsCurve(inputs: Inputs.Line.LineDto): any;\n /**\n * Converts lines to a NURBS curves\n * @link https://docs.bitbybit.dev/classes/bitbybit_line.line.html#convertlinestonurbscurves\n * Returns array of the verbnurbs Line objects\n * @link http://verbnurbs.com/docs/geom/Line/\n * @param inputs Lines to be transformed to curves\n * @returns Verb nurbs curves\n */\n convertLinesToNurbsCurves(inputs: Inputs.Line.LinesDto): any[];\n /**\n * Gets the start point of the line\n * @link https://docs.bitbybit.dev/classes/bitbybit_line.line.html#getstartpoint\n * @param inputs Line to be queried\n * @returns Start point\n */\n getStartPoint(inputs: Inputs.Line.LineDto): number[];\n /**\n * Gets the end point of the line\n * @link https://docs.bitbybit.dev/classes/bitbybit_line.line.html#getendpoint\n * @param inputs Line to be queried\n * @returns End point\n */\n getEndPoint(inputs: Inputs.Line.LineDto): number[];\n /**\n * Gets the length of the line\n * @link https://docs.bitbybit.dev/classes/bitbybit_line.line.html#length\n * @param inputs Line to be queried\n * @returns Length of the line\n */\n length(inputs: Inputs.Line.LineDto): number;\n /**\n * Reverse the endpoints of the line\n * @link https://docs.bitbybit.dev/classes/bitbybit_line.line.html#reverse\n * @param inputs Line to be reversed\n * @returns Reversed line\n */\n reverse(inputs: Inputs.Line.LineDto): Inputs.Line.LinePointsDto;\n /**\n * Transform the line\n * @link https://docs.bitbybit.dev/classes/bitbybit_line.line.html#transformline\n * @param inputs Line to be transformed\n * @returns Transformed line\n */\n transformLine(inputs: Inputs.Line.TransformLineDto): Inputs.Line.LinePointsDto;\n /**\n * Create the line\n * @link https://docs.bitbybit.dev/classes/bitbybit_line.line.html#create\n * @param inputs Endpoints of the line\n * @returns Line\n */\n create(inputs: Inputs.Line.LinePointsDto): Inputs.Line.LinePointsDto;\n /**\n * Create the line segments between all of the points in a list\n * @link https://docs.bitbybit.dev/classes/bitbybit_line.line.html#linesbetweenpoints\n * @param inputs Lines in a list\n * @returns Lines\n */\n linesBetweenPoints(inputs: Inputs.Line.PointsLinesDto): Inputs.Line.LinePointsDto[];\n /**\n * Create the lines between two lists of start and end points of equal length\n * @link https://docs.bitbybit.dev/classes/bitbybit_line.line.html#linesbetweenstartandendpoints\n * @param inputs Two lists of start and end points\n * @returns Lines\n */\n linesBetweenStartAndEndPoints(inputs: Inputs.Line.LineStartEndPointsDto): Inputs.Line.LinePointsDto[];\n private createLineSystemMesh;\n}/**\n * Nodes help understand the space and construct more complicated space structures. Nodes can be nested together\n * into child parent relationships to simplify the creation of 3D objects.\n */\ndeclare class Node {\n private readonly context;\n private readonly geometryHelper;\n constructor(context: Context, geometryHelper: GeometryHelper);\n /**\n * Draws a node of given size with given colours for every axis\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#drawnode\n * @param inputs Contains node data that includes size and colour information\n */\n drawNode(inputs: Inputs.Node.DrawNodeDto): void;\n /**\n * Draws a nodes of given size with given colours for every axis\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#drawnodes\n * @param inputs Contains node data that includes size and colour information\n */\n drawNodes(inputs: Inputs.Node.DrawNodesDto): void;\n /**\n * Creates a node on the origin with the given rotations in the parent coordinate system\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#createnodefromrotation\n * @param inputs Contains information for origin, rotation and parent node\n * @returns A new node\n */\n createNodeFromRotation(inputs: Inputs.Node.CreateNodeFromRotationDto): TransformNode;\n /**\n * Creates a world node which has root node as his parent\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#createworldnode\n * @returns A new node whos parent is the root node of the scene\n */\n createWorldNode(): TransformNode;\n /**\n * Gets the absolute forward facing vector in world space\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#getabsoluteforwardvector\n * @param inputs Node from which to get the forward vector\n * @returns Vector as an array of numbers\n */\n getAbsoluteForwardVector(inputs: Inputs.Node.NodeDto): number[];\n /**\n * Gets the absolute right facing vector in world space\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#getabsoluterightvector\n * @param inputs Node from which to get the right vector\n * @returns Vector as an array of numbers\n */\n getAbsoluteRightVector(inputs: Inputs.Node.NodeDto): number[];\n /**\n * Gets the absolute up facing vector in world space\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#getabsoluteupvector\n * @param inputs Node from which to get the up vector\n * @returns Vector as an array of numbers\n */\n getAbsoluteUpVector(inputs: Inputs.Node.NodeDto): number[];\n /**\n * Gets the absolute position of the node as origin vector in world space\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#getabsoluteposition\n * @param inputs Node from which to get the absolute position\n * @returns Vector as an array of numbers indicating location of origin in world space\n */\n getAbsolutePosition(inputs: Inputs.Node.NodeDto): number[];\n /**\n * Gets the absolute rotation of the node as a transformation matrix encoded in array of 16 numbers\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#getabsoluterotationtransformation\n * @param inputs Node from which to get the rotation transformation\n * @returns Transformation as an array of 16 numbers\n */\n getAbsoluteRotationTransformation(inputs: Inputs.Node.NodeDto): number[];\n /**\n * Gets the rotation of the node in local parent coordinate space as a transformation matrix encoded in array of 16 numbers\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#getrotationtransformation\n * @param inputs Node from which to get the rotation transformation\n * @returns Transformation as an array of 16 numbers\n */\n getRotationTransformation(inputs: Inputs.Node.NodeDto): number[];\n /**\n * Gets children of the node\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#getchildren\n * @param inputs Node from which to get the children\n * @returns List of children nodes in the array\n */\n getChildren(inputs: Inputs.Node.NodeDto): BabylonNode[];\n /**\n * Gets parent of the node\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#getparent\n * @param inputs Node from which to get a parent\n * @returns Parent node\n */\n getParent(inputs: Inputs.Node.NodeDto): BabylonNode;\n /**\n * Gets the position of the node expressed in local space\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#getpositionexpressedinlocalspace\n * @param inputs Node from which to get the position in local space\n * @returns Position vector\n */\n getPositionExpressedInLocalSpace(inputs: Inputs.Node.NodeDto): number[];\n /**\n * Gets the root node\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#getrootnode\n * @returns Root node\n */\n getRootNode(): TransformNode;\n /**\n * Gets the euler rotations\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#getrotation\n * @param inputs Node from which to get rotation\n * @returns Euler rotations of x, y and z angles in the number array\n */\n getRotation(inputs: Inputs.Node.NodeDto): number[];\n /**\n * Rotates the node around axis and given position by a given angle\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#rotatearoundaxiswithposition\n * @param inputs Rotation around axis information\n */\n rotateAroundAxisWithPosition(inputs: Inputs.Node.RotateAroundAxisNodeDto): void;\n /**\n * Rotates the node around the origin and given axis\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#rotate\n * @param inputs Rotation information\n */\n rotate(inputs: Inputs.Node.RotateNodeDto): void;\n /**\n * Sets the absolute position of the node\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#setabsoluteposition\n * @param inputs Node absolute position information\n */\n setAbsolutePosition(inputs: Inputs.Node.NodePositionDto): void;\n /**\n * Sets the direction of the node\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#setdirection\n * @param inputs Direction information\n */\n setDirection(inputs: Inputs.Node.NodeDirectionDto): void;\n /**\n * Sets the new parent to the node\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#setparent\n * @param inputs Node parent information\n */\n setParent(inputs: Inputs.Node.NodeParentDto): void;\n /**\n * Translates the node by a given direction vector and a distance\n * @link https://docs.bitbybit.dev/classes/bitbybit_node.node.html#translate\n * @param inputs Node translation information\n */\n translate(inputs: Inputs.Node.NodeTranslationDto): void;\n}declare class OCCTBooleans {\n private readonly occWorkerManager;\n constructor(occWorkerManager: OCCTWorkerManager);\n /**\n * Joins separate objects\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_booleans.occtbooleans.html#union\n * @param inputs Objects to join\n * @returns OpenCascade joined shape\n */\n union(inputs: Inputs.OCC.UnionDto): Promise<any>;\n /**\n * Does boolean difference operation between a main shape and given shapes\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_booleans.occtbooleans.html#difference\n * @param inputs Main shape and shapes to differ\n * @returns OpenCascade difference shape\n */\n difference(inputs: Inputs.OCC.DifferenceDto): Promise<any>;\n /**\n * Does boolean intersection operation between a main shape and given shapes\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_booleans.occtbooleans.html#difference\n * @param inputs Main shape and shapes to differ\n * @returns OpenCascade difference shape\n */\n intersection(inputs: Inputs.OCC.IntersectionDto): Promise<any>;\n}declare class OCCTIO {\n private readonly occWorkerManager;\n constructor(occWorkerManager: OCCTWorkerManager);\n /**\n * Saves the step file\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_io.occtio.html#saveshapestep\n * @param inputs STEP filename and shape to be saved\n * @returns String of a step file\n */\n saveShapeSTEP(inputs: Inputs.OCC.SaveStepDto): Promise<string>;\n}/**\n * Contains various methods for OpenCascade implementation\n * Much of the work is done by Johnathon Selstad and Sebastian Alff to port OCC to JavaScript\n * I'm super grateful for their work!\n */\ndeclare class OCCT {\n readonly shapes: OCCTShapes;\n readonly transforms: OCCTTransforms;\n readonly operations: OCCTOperations;\n readonly booleans: OCCTBooleans;\n readonly io: OCCTIO;\n private readonly context;\n private readonly geometryHelper;\n private readonly solidText;\n private readonly vector;\n private readonly occWorkerManager;\n constructor(shapes: OCCTShapes, transforms: OCCTTransforms, operations: OCCTOperations, booleans: OCCTBooleans, io: OCCTIO, context: Context, geometryHelper: GeometryHelper, solidText: JSCADText, vector: Vector, occWorkerManager: OCCTWorkerManager);\n /**\n * Draws OpenCascade shape by going through faces and edges\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt.occt.html#drawshape\n * @param inputs Contains a shape to be drawn and additional information\n * @returns BabylonJS Mesh\n */\n drawShape(inputs: Inputs.OCC.DrawShapeDto): Promise<Mesh>;\n private computeFaceMiddlePos;\n private computeEdgeMiddlePos;\n}declare class OCCTOperations {\n private readonly occWorkerManager;\n constructor(occWorkerManager: OCCTWorkerManager);\n /**\n * Lofts wires into a shell\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_operations.occtoperations.html#loft\n * @param inputs Circle parameters\n * @returns Resulting loft shell\n */\n loft(inputs: Inputs.OCC.LoftDto): Promise<any>;\n /**\n * Offset for various shapes\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_operations.occtoperations.html#offset\n * @param inputs Shape to offset and distance with tolerance\n * @returns Resulting offset shape\n */\n offset(inputs: Inputs.OCC.OffsetDto): Promise<any>;\n /**\n * Extrudes the face along direction\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_operations.occtoperations.html#extrude\n * @param inputs Shape to extrude and direction parameter with tolerance\n * @returns Resulting extruded shape\n */\n extrude(inputs: Inputs.OCC.ExtrudeDto): Promise<any>;\n /**\n * Revolves the shape around the given direction\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_operations.occtoperations.html#revolve\n * @param inputs Revolve parameters\n * @returns Resulting revolved shape\n */\n revolve(inputs: Inputs.OCC.RevolveDto): Promise<any>;\n /**\n * Rotated extrude that is perofrmed on the wire shape\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_operations.occtoperations.html#rotatedextrude\n * @param inputs Rotated extrusion inputs\n * @returns OpenCascade shape\n */\n rotatedExtrude(inputs: Inputs.OCC.RotationExtrudeDto): Promise<any>;\n /**\n * Pipe shapes along the wire\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_operations.occtoperations.html#pipe\n * @param inputs Path wire and shapes along the path\n * @returns OpenCascade shape\n */\n pipe(inputs: Inputs.OCC.PipeDto): Promise<any>;\n /**\n * Thickens the shape into a solid by an offset distance\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_operations.occtoperations.html#makethicksolidsimple\n * @param inputs OpenCascade shape\n * @returns OpenCascade solid shape\n */\n makeThickSolidSimple(inputs: Inputs.OCC.ThisckSolidSimpleDto): Promise<any>;\n}declare class OCCTCompound {\n private readonly occWorkerManager;\n constructor(occWorkerManager: OCCTWorkerManager);\n /**\n * Makes the compound shape, which can include any kind of shapes\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_shapes_compound.occtcompound.html#makecompound\n * @param inputs OpenCascade shapes\n * @returns OpenCascade compounded shape\n */\n makeCompound(inputs: Inputs.OCC.CompoundShapesDto): Promise<any>;\n}declare class OCCTEdge {\n private readonly occWorkerManager;\n constructor(occWorkerManager: OCCTWorkerManager);\n /**\n * Fillets OpenCascade Shapes\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_shapes_edge.occtedge.html#filletedges\n * @param inputs Shape, radius and edge indexes to fillet\n * @returns OpenCascade shape with filleted edges\n */\n filletEdges(inputs: Inputs.OCC.FilletDto): Promise<any>;\n /**\n * Chamfer OpenCascade Shape edges\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_shapes_edge.occtedge.html#chamferedges\n * @param inputs Shape, distance and edge indexes to fillet\n * @returns OpenCascade shape with filleted edges\n */\n chamferEdges(inputs: Inputs.OCC.ChamferDto): Promise<any>;\n /**\n * Removes internal faces for the shape\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_shapes_edge.occtedge.html#removeinternaledges\n * @param inputs Shape\n * @returns OpenCascade shape with no internal edges\n */\n removeInternalEdges(inputs: Inputs.OCC.ShapeDto): Promise<any>;\n /**\n * Gets the edge by providing an index from the shape\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_shapes_edge.occtedge.html#getedge\n * @param inputs Shape\n * @returns OpenCascade edge\n */\n getEdge(inputs: Inputs.OCC.ShapeIndexDto): Promise<any>;\n}declare class OCCTFace {\n private readonly occWorkerManager;\n constructor(occWorkerManager: OCCTWorkerManager);\n /**\n * Creates a face from wire\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_shapes_face.occtface.html#createfacefromwire\n * @param inputs OpenCascade wire shape and indication if face should be planar\n * @returns OpenCascade face shape\n */\n createFaceFromWire(inputs: Inputs.OCC.FaceFromWireDto): Promise<any>;\n /**\n * Creates OpenCascade Polygon face\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_shapes_face.occtface.html#createpolygonface\n * @param inputs Polygon points\n * @returns OpenCascade polygon face\n */\n createPolygonFace(inputs: Inputs.OCC.PolygonDto): Promise<any>;\n /**\n * Creates OpenCascade circle face\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_shapes_face.occtface.html#createcircleface\n * @param inputs Circle parameters\n * @returns OpenCascade circle face\n */\n createCircleFace(inputs: Inputs.OCC.CircleDto): Promise<any>;\n /**\n * Gets the face by providing an index from the shape\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_shapes_face.occtface.html#getface\n * @param inputs Shape\n * @returns OpenCascade face\n */\n getFace(inputs: Inputs.OCC.ShapeIndexDto): Promise<any>;\n}declare class OCCTShapes {\n readonly edge: OCCTEdge;\n readonly wire: OCCTWire;\n readonly face: OCCTFace;\n readonly solid: OCCTSolid;\n readonly compound: OCCTCompound;\n constructor(edge: OCCTEdge, wire: OCCTWire, face: OCCTFace, solid: OCCTSolid, compound: OCCTCompound);\n}declare class OCCTSolid {\n private readonly occWorkerManager;\n constructor(occWorkerManager: OCCTWorkerManager);\n /**\n * Creates OpenCascade Box\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_shapes_solid.occtsolid.html#createbox\n * @param inputs Box size and center\n * @returns OpenCascade Box\n */\n createBox(inputs: Inputs.OCC.BoxDto): Promise<any>;\n /**\n * Creates OpenCascade Cylinder\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_shapes_solid.occtsolid.html#createcylinder\n * @param inputs Cylinder parameters\n * @returns OpenCascade Cylinder\n */\n createCylinder(inputs: Inputs.OCC.CylinderDto): Promise<any>;\n /**\n * Creates OpenCascade Sphere\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_shapes_solid.occtsolid.html#createsphere\n * @param inputs Sphere radius and center\n * @returns OpenCascade Sphere\n */\n createSphere(inputs: Inputs.OCC.SphereDto): Promise<any>;\n /**\n * Creates OpenCascade Cone\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_shapes_solid.occtsolid.html#createcone\n * @param inputs Cone parameters\n * @returns OpenCascade cone shape\n */\n createCone(inputs: Inputs.OCC.ConeDto): Promise<any>;\n}declare class OCCTWire {\n private readonly occWorkerManager;\n constructor(occWorkerManager: OCCTWorkerManager);\n /**\n * Creates OpenCascade Polygon wire\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_shapes_wire.occtwire.html#createpolygonwire\n * @param inputs Polygon points\n * @returns OpenCascade polygon wire shape\n */\n createPolygonWire(inputs: Inputs.OCC.PolygonDto): Promise<any>;\n /**\n * Creates OpenCascade BSPline wire\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_shapes_wire.occtwire.html#createbspline\n * @param inputs Points through which to make BSpline\n * @returns OpenCascade BSpline wire\n */\n createBSpline(inputs: Inputs.OCC.BSplineDto): Promise<any>;\n /**\n * Creates OpenCascade Bezier wire\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_shapes_wire.occtwire.html#createbezier\n * @param inputs Points through which to make bezier curve\n * @returns OpenCascade Bezier wire\n */\n createBezier(inputs: Inputs.OCC.BezierDto): Promise<any>;\n /**\n * Creates OpenCascade circle wire\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_shapes_wire.occtwire.html#createcirclewire\n * @param inputs Circle parameters\n * @returns OpenCascade circle wire\n */\n createCircleWire(inputs: Inputs.OCC.CircleDto): Promise<any>;\n /**\n * Gets the wire by providing an index from the shape\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_shapes_wire.occtwire.html#getwire\n * @param inputs Shape\n * @returns OpenCascade wire\n */\n getWire(inputs: Inputs.OCC.ShapeIndexDto): Promise<any>;\n}declare class OCCTTransforms {\n private readonly occWorkerManager;\n constructor(occWorkerManager: OCCTWorkerManager);\n /**\n * Transforms the array of shapes\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_transforms.occttransforms.html#transform\n * @param inputs Transformation description\n * @returns OpenCascade shapes\n */\n transform(inputs: Inputs.OCC.TransformDto): Promise<any>;\n /**\n * Rotate the shapes\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_transforms.occttransforms.html#rotate\n * @param inputs Rotation description\n * @returns OpenCascade shapes\n */\n rotate(inputs: Inputs.OCC.RotateDto): Promise<any>;\n /**\n * Translates the shapes\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_transforms.occttransforms.html#translate\n * @param inputs Translation description\n * @returns OpenCascade shapes\n */\n translate(inputs: Inputs.OCC.TranslateDto): Promise<any>;\n /**\n * Scales the shapes\n * @link https://docs.bitbybit.dev/classes/bitbybit_occt_transforms.occttransforms.html#scale\n * @param inputs Scale description\n * @returns OpenCascade shapes\n */\n scale(inputs: Inputs.OCC.ScaleDto): Promise<any>;\n}/**\n * Contains various methods for points. Point in bitbybit is simply an array containing 3 numbers for [x, y, z].\n * Because of this form Point can be interchanged with Vector, which also is an array in [x, y, z] form.\n * When creating 2D points, z coordinate is simply set to 0 - [x, y, 0].\n */\ndeclare class Point {\n private readonly context;\n private readonly geometryHelper;\n private readonly line;\n constructor(context: Context, geometryHelper: GeometryHelper, line: Line);\n /**\n * Draws a single point\n * @link https://docs.bitbybit.dev/classes/bitbybit_point.point.html#drawpoint\n * @param inputs Contains a point to be drawn\n * @returns Mesh that is being drawn by Babylon\n */\n drawPoint(inputs: Inputs.Point.DrawPointDto): Mesh;\n /**\n * Draws multiple points\n * @link https://docs.bitbybit.dev/classes/bitbybit_point.point.html#drawpoints\n * @param inputs Contains a point array to be drawn\n * @returns Mesh that is being drawn by Babylon\n */\n drawPoints(inputs: Inputs.Point.DrawPointsDto): Mesh;\n /**\n * Transforms the single point\n * @link https://docs.bitbybit.dev/classes/bitbybit_point.point.html#transformpoint\n * @param inputs Contains a point and the transformations to apply\n * @returns Transformed point\n */\n transformPoint(inputs: Inputs.Point.TransformPointDto): number[];\n /**\n * Transforms multiple points\n * @link https://docs.bitbybit.dev/classes/bitbybit_point.point.html#transformpoints\n * @param inputs Contains points and the transformations to apply\n * @returns Transformed points\n */\n transformPoints(inputs: Inputs.Point.TransformPointsDto): number[][];\n /**\n * Measures the closest distance between a point and a collection of points\n * @link https://docs.bitbybit.dev/classes/bitbybit_point.point.html#closestpointfrompointsdistance\n * @param inputs Point from which to measure and points to measure the distance against\n * @returns Distance to closest point\n */\n closestPointFromPointsDistance(inputs: Inputs.Point.ClosestPointFromPointsDto): number;\n /**\n * Finds the closest point index between a point and a collection of points. Caution, index is not 0 based, it starts with 1.\n * @link https://docs.bitbybit.dev/classes/bitbybit_point.point.html#closestpointfrompointsindex\n * @param inputs Point from which to find the index in a collection of points\n * @returns Closest point index\n */\n closestPointFromPointsIndex(inputs: Inputs.Point.ClosestPointFromPointsDto): number;\n /**\n * Finds the closest point in a collection\n * @link https://docs.bitbybit.dev/classes/bitbybit_point.point.html#closestpointfrompoints\n * @param inputs Point and points collection to find the closest point in\n * @returns Closest point\n */\n closestPointFromPoints(inputs: Inputs.Point.ClosestPointFromPointsDto): number[];\n /**\n * Finds the distance between two points\n * @link https://docs.bitbybit.dev/classes/bitbybit_point.point.html#distance\n * @param inputs Coordinates of start and end points\n * @returns Distance\n */\n distance(inputs: Inputs.Point.StartEndPointsDto): number;\n /**\n * Multiply point by a specified amount\n * @link https://docs.bitbybit.dev/classes/bitbybit_point.point.html#multiplypoint\n * @param inputs The point to be multiplied and the amount of points to create\n * @returns Distance\n */\n multiplyPoint(inputs: Inputs.Point.MultiplyPointDto): number[][];\n /**\n * Get x coordinate of the point\n * @link https://docs.bitbybit.dev/classes/bitbybit_point.point.html#getx\n * @param inputs The point\n * @returns X coordinate\n */\n getX(inputs: Inputs.Point.PointDto): number;\n /**\n * Get y coordinate of the point\n * @link https://docs.bitbybit.dev/classes/bitbybit_point.point.html#gety\n * @param inputs The point\n * @returns Y coordinate\n */\n getY(inputs: Inputs.Point.PointDto): number;\n /**\n * Get z coordinate of the point\n * @link https://docs.bitbybit.dev/classes/bitbybit_point.point.html#getz\n * @param inputs The point\n * @returns Z coordinate\n */\n getZ(inputs: Inputs.Point.PointDto): number;\n /**\n * Creates the spiral out of multiple points\n * @link https://docs.bitbybit.dev/classes/bitbybit_point.point.html#spiral\n * @param inputs Spiral information\n * @returns Specified number of points in the array along the spiral\n */\n spiral(inputs: Inputs.Point.SpiralDto): number[][];\n /**\n * Creates a flat point grid on XY plane. This grid contains center points for hexagons of the given radius.\n * Be aware that we control only the nr of hexagons to be made and not the length and width of the grid.\n * @link https://docs.bitbybit.dev/classes/bitbybit_point.point.html#hexgrid\n * @param inputs Information about hexagon and the grid\n * @returns Points in the array on the grid\n */\n hexGrid(inputs: Inputs.Point.HexGridCentersDto): number[][];\n private closestPointFromPointData;\n private createNewMesh;\n private updatePoints;\n private setUpPositionsAndColours;\n}/**\n * Contains various methods for polyline. Polyline in bitbybit is a simple object that has points property containing an array of points.\n * { points: number[][] }\n */\ndeclare class Polyline {\n private readonly context;\n private readonly geometryHelper;\n constructor(context: Context, geometryHelper: GeometryHelper);\n /**\n * Draws a single polyline\n * @link https://docs.bitbybit.dev/classes/bitbybit_polyline.polyline.html#drawpolyline\n * @param inputs Contains a polyline to be drawn\n * @returns Lines mesh that is being drawn by Babylon\n */\n drawPolyline(inputs: Inputs.Polyline.DrawPolylineDto): LinesMesh;\n /**\n * Draws multiple polylines\n * @link https://docs.bitbybit.dev/classes/bitbybit_polyline.polyline.html#drawpolylines\n * @param inputs Contains a polyline to be drawn\n * @returns Lines mesh that is being drawn by Babylon\n */\n drawPolylines(inputs: Inputs.Polyline.DrawPolylinesDto): LinesMesh;\n /**\n * Converts a polyline to a NURBS curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_polyline.polyline.html#converttonurbscurve\n * Returns the verbnurbs NurbsCurve object\n * @link http://verbnurbs.com/docs/geom/NurbsCurve/\n * @param inputs Polyline to be transformed to curve\n * @returns Verb nurbs curve\n */\n convertToNurbsCurve(inputs: Inputs.Polyline.PolylineDto): any;\n /**\n * Gets the length of the polyline\n * @link https://docs.bitbybit.dev/classes/bitbybit_polyline.polyline.html#length\n * @param inputs Polyline to be queried\n * @returns Length of the polyline\n */\n length(inputs: Inputs.Polyline.PolylineDto): number;\n /**\n * Gets the number of points in the polyline\n * @link https://docs.bitbybit.dev/classes/bitbybit_polyline.polyline.html#countpoints\n * @param inputs Polyline to be queried\n * @returns Number of points in polyline\n */\n countPoints(inputs: Inputs.Polyline.PolylineDto): number;\n /**\n * Gets the points of the polyline\n * @link https://docs.bitbybit.dev/classes/bitbybit_polyline.polyline.html#getpoints\n * @param inputs Polyline to be queried\n * @returns Points of the polyline\n */\n getPoints(inputs: Inputs.Polyline.PolylineDto): number[][];\n /**\n * Reverse the points of the polyline\n * @link https://docs.bitbybit.dev/classes/bitbybit_polyline.polyline.html#reverse\n * @param inputs Polyline to be reversed\n * @returns Reversed polyline\n */\n reverse(inputs: Inputs.Polyline.PolylineDto): Inputs.Polyline.PolylinePropertiesDto;\n /**\n * Transform the polyline\n * @link https://docs.bitbybit.dev/classes/bitbybit_polyline.polyline.html#transformpolyline\n * @param inputs Polyline to be transformed\n * @returns Transformed polyline\n */\n transformPolyline(inputs: Inputs.Polyline.TransformPolylineDto): Inputs.Polyline.PolylinePropertiesDto;\n /**\n * Create the polyline\n * @link https://docs.bitbybit.dev/classes/bitbybit_polyline.polyline.html#create\n * @param inputs Points of the polyline\n * @returns Polyline\n */\n create(inputs: Inputs.Polyline.PolylinePropertiesDto): Inputs.Polyline.PolylinePropertiesDto;\n}declare class Scene {\n private readonly context;\n constructor(context: Context);\n /**\n * Changes the scene background colour for 3D space\n * @link https://docs.bitbybit.dev/classes/bitbybit_scene.scene.html#backgroundcolour\n * @param inputs Describes the colour of the scene background\n */\n backgroundColour(inputs: Inputs.Scene.SceneBackgroundColourDto): void;\n /**\n * Draws a grid mesh on the ground plane in 3D space. This helps to orient yourself in the world.\n * @link https://docs.bitbybit.dev/classes/bitbybit_scene.scene.html#drawgridmesh\n * @param inputs Describes various parameters of the grid mesh like size, colour, etc.\n */\n drawGridMesh(inputs: Inputs.Scene.SceneDrawGridMeshDto): Mesh;\n /**\n * Creates and draws a point light in the scene\n * @link https://docs.bitbybit.dev/classes/bitbybit_scene.scene.html#drawpointlight\n * @param inputs Describes the light source\n * @returns BabylonJS point light\n */\n drawPointLight(inputs: Inputs.Scene.PointLightDto): PointLight;\n /**\n * Adjusts the active arc rotate camera with configuration parameters\n * @link https://docs.bitbybit.dev/classes/bitbybit_scene.scene.html#adjustactivearcrotatecamera\n */\n adjustActiveArcRotateCamera(inputs: Inputs.Scene.CameraConfigurationDto): void;\n /**\n * Clears all of the drawn objects in the 3D scene\n * @link https://docs.bitbybit.dev/classes/bitbybit_scene.scene.html#clearalldrawn\n */\n clearAllDrawn(): void;\n /**\n * Creates mesh instance and transforms it for optimised rendering. These are optimised for max performance\n * when rendering many similar objects in the scene. If the mesh has children, then every child ges a mesh instance.\n * @link https://docs.bitbybit.dev/classes/bitbybit_scene.scene.html#createmeshinstanceandtransform\n */\n createMeshInstanceAndTransform(inputs: Inputs.Scene.MeshInstanceAndTransformDto): Promise<any>;\n}/**\n * Tags help you to put text on top of your 3D objects. Tags are heavily used in data visualization scenarios\n * where you need to convery additional textual information.\n */\ndeclare class Tag {\n /**\n * Creates a tag dto\n * @link https://docs.bitbybit.dev/classes/bitbybit_tag.tag.html#create\n * @param inputs Tag description\n * @returns A tag\n */\n create(inputs: Inputs.Tag.TagDto): Inputs.Tag.TagDto;\n /**\n * Draws a single tag\n * @link https://docs.bitbybit.dev/classes/bitbybit_tag.tag.html#drawtag\n * @param inputs Information to draw the tag\n * @returns A tag\n */\n drawTag(inputs: Inputs.Tag.DrawTagDto): Inputs.Tag.TagDto;\n /**\n * Draws multiple tags\n * @link https://docs.bitbybit.dev/classes/bitbybit_tag.tag.html#drawtags\n * @param inputs Information to draw the tags\n * @returns Tags\n */\n drawTags(inputs: Inputs.Tag.DrawTagsDto): Inputs.Tag.TagDto[];\n}/**\n * Time functions help to create various interactions which happen in time\n */\ndeclare class Time {\n /**\n * Registers a function to render loop\n * @link https://docs.bitbybit.dev/classes/bitbybit_time.time.html#registerrenderfunction\n * @param update The function to call in render loop\n */\n registerRenderFunction(update: (timePassedMs: number) => void): void;\n}/**\n * Transformations help to move, scale, rotate and mirror objects. You can combine multiple transformations\n * for object to be placed exactly into position and orientation that you want.\n * Contains various methods for transformations that represent 4x4 matrixes in flat 16 number arrays.\n */\ndeclare class Transforms {\n /**\n * Creates a rotation transformations around the center and an axis\n * @link https://docs.bitbybit.dev/classes/bitbybit_transforms.transforms.html#rotationcenteraxis\n * @param inputs Rotation around center with an axis information\n * @returns array of transformations\n */\n rotationCenterAxis(inputs: Inputs.Transforms.RotationCenterAxisDto): number[][];\n /**\n * Creates a rotation transformations around the center and an X axis\n * @link https://docs.bitbybit.dev/classes/bitbybit_transforms.transforms.html#rotationcenterx\n * @param inputs Rotation around center with an X axis information\n * @returns array of transformations\n */\n rotationCenterX(inputs: Inputs.Transforms.RotationCenterDto): number[][];\n /**\n * Creates a rotation transformations around the center and an Y axis\n * @link https://docs.bitbybit.dev/classes/bitbybit_transforms.transforms.html#rotationcentery\n * @param inputs Rotation around center with an Y axis information\n * @returns array of transformations\n */\n rotationCenterY(inputs: Inputs.Transforms.RotationCenterDto): number[][];\n /**\n * Creates a rotation transformations around the center and an Z axis\n * @link https://docs.bitbybit.dev/classes/bitbybit_transforms.transforms.html#rotationcenterz\n * @param inputs Rotation around center with an Z axis information\n * @returns array of transformations\n */\n rotationCenterZ(inputs: Inputs.Transforms.RotationCenterDto): number[][];\n /**\n * Creates a rotation transformations with yaw pitch and roll\n * @link https://docs.bitbybit.dev/classes/bitbybit_transforms.transforms.html#rotationcenteryawpitchroll\n * @param inputs Yaw pitch roll rotation information\n * @returns array of transformations\n */\n rotationCenterYawPitchRoll(inputs: Inputs.Transforms.RotationCenterYawPitchRollDto): number[][];\n /**\n * Scale transformation around center and xyz directions\n * @link https://docs.bitbybit.dev/classes/bitbybit_transforms.transforms.html#scalecenterxyz\n * @param inputs Scale center xyz trnansformation\n * @returns array of transformations\n */\n scaleCenterXYZ(inputs: Inputs.Transforms.ScaleCenterXYZDto): number[][];\n /**\n * Creates the scale transformation in x, y and z directions\n * @link https://docs.bitbybit.dev/classes/bitbybit_transforms.transforms.html#scalexyz\n * @param inputs Scale XYZ number array information\n * @returns transformation\n */\n scaleXYZ(inputs: Inputs.Transforms.ScaleXYZDto): number[][];\n /**\n * Creates uniform scale transformation\n * @link https://docs.bitbybit.dev/classes/bitbybit_transforms.transforms.html#uniformscale\n * @param inputs Scale Dto\n * @returns transformation\n */\n uniformScale(inputs: Inputs.Transforms.UniformScaleDto): number[][];\n /**\n * Creates uniform scale transformation from the center\n * @link https://docs.bitbybit.dev/classes/bitbybit_transforms.transforms.html#uniformscalefromcenter\n * @param inputs Scale Dto with center point information\n * @returns array of transformations\n */\n uniformScaleFromCenter(inputs: Inputs.Transforms.UniformScaleFromCenterDto): number[][];\n /**\n * Creates the translation transformation\n * @link https://docs.bitbybit.dev/classes/bitbybit_transforms.transforms.html#translationxyz\n * @param inputs Translation information\n * @returns transformation\n */\n translationXYZ(inputs: Inputs.Transforms.TranslationXYZDto): number[][];\n}/**\n * Contains various methods for vector mathematics. Vector in bitbybit is simply an array, usually containing numbers.\n * In 3D [x, y, z] form describes space, where y is the up vector.\n * Because of this form Vector can be interchanged with Point, which also is an array in [x, y, z] form.\n */\ndeclare class Vector {\n private readonly context;\n constructor(context: Context);\n /**\n * Measures the angle between two vectors in degrees\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#anglebetween\n * @param inputs Contains two vectors represented as number arrays\n * @returns Number in degrees\n */\n angleBetween(inputs: Inputs.Vector.TwoVectorsDto): number;\n /**\n * Measures the normalized 2d angle between two vectors in degrees\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#anglebetweennormalized2d\n * @param inputs Contains two vectors represented as number arrays\n * @returns Number in degrees\n */\n angleBetweenNormalized2d(inputs: Inputs.Vector.TwoVectorsDto): number;\n /**\n * Measures a positive angle between two vectors given the reference vector in degrees\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#positiveanglebetween\n * @param inputs Contains information of two vectors and a reference vector\n * @returns Number in degrees\n */\n positiveAngleBetween(inputs: Inputs.Vector.TwoVectorsReferenceDto): number;\n /**\n * Adds all vector xyz values together and create a new vector\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#addall\n * @param inputs Vectors to be added\n * @returns New vector that has xyz values as sums of all the vectors\n */\n addAll(inputs: Inputs.Vector.VectorsDto): number[];\n /**\n * Adds two vectors together\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#add\n * @param inputs Two vectors to be added\n * @returns Number array representing vector\n */\n add(inputs: Inputs.Vector.TwoVectorsDto): number[];\n /**\n * Checks if the boolean array contains only true values, if there's a single false it will return false.\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#all\n * @param inputs Vectors to be checked\n * @returns Boolean indicating if vector contains only true values\n */\n all(inputs: Inputs.Vector.VectorBoolDto): boolean;\n /**\n * Cross two vectors\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#cross\n * @param inputs Two vectors to be crossed\n * @returns Crossed vector\n */\n cross(inputs: Inputs.Vector.TwoVectorsDto): number[];\n /**\n * Squared distance between two vectors\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#distsquared\n * @param inputs Two vectors\n * @returns Number representing squared distance between two vectors\n */\n distSquared(inputs: Inputs.Vector.TwoVectorsDto): number;\n /**\n * Distance between two vectors\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#dist\n * @param inputs Two vectors\n * @returns Number representing distance between two vectors\n */\n dist(inputs: Inputs.Vector.TwoVectorsDto): number;\n /**\n * Divide the vector by a scalar value/\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#div\n * @param inputs Contains vector and a scalar\n * @returns Vector that is a result of division by a scalar\n */\n div(inputs: Inputs.Vector.VectorScalarDto): number[];\n /**\n * Computes the domain between minimum and maximum values of the vector\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#domain\n * @param inputs Vector information\n * @returns Number representing distance between two vectors\n */\n domain(inputs: Inputs.Vector.VectorDto): number;\n /**\n * Dot product between two vectors\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#dot\n * @param inputs Two vectors\n * @returns Number representing dot product of the vector\n */\n dot(inputs: Inputs.Vector.TwoVectorsDto): number;\n /**\n * Checks if vector is finite for each number and returns a boolean array\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#finite\n * @param inputs Vector with possibly infinite values\n * @returns Vector array that contains boolean values for each number in the input\n * vector that identifies if value is finite (true) or infinite (false)\n */\n finite(inputs: Inputs.Vector.VectorDto): boolean[];\n /**\n * Checks if the vector is zero length\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#iszero\n * @param inputs Vector to be checked\n * @returns Boolean that identifies if vector is zero length\n */\n isZero(inputs: Inputs.Vector.VectorDto): boolean;\n /**\n * Finds in between vector between two vectors by providing a fracture\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#lerp\n * @param inputs Information for finding vector between two vectors using a fraction\n * @returns Vector that is in between two vectors\n */\n lerp(inputs: Inputs.Vector.FractionTwoVectorsDto): number[];\n /**\n * Finds the maximum value in the vector\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#max\n * @param inputs Vector to be checked\n * @returns Largest number in the vector\n */\n max(inputs: Inputs.Vector.VectorDto): number;\n /**\n * Finds the minimum value in the vector\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#min\n * @param inputs Vector to be checked\n * @returns Lowest number in the vector\n */\n min(inputs: Inputs.Vector.VectorDto): number;\n /**\n * Multiple vector with the scalar\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#mul\n * @param inputs Vector with a scalar\n * @returns Vector that results from multiplication\n */\n mul(inputs: Inputs.Vector.VectorScalarDto): number[];\n /**\n * Negates the vector\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#neg\n * @param inputs Vector to negate\n * @returns Negative vector\n */\n neg(inputs: Inputs.Vector.VectorDto): number[];\n /**\n * Compute squared norm\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#normsquared\n * @param inputs Vector for squared norm\n * @returns Number that is squared norm\n */\n normSquared(inputs: Inputs.Vector.VectorDto): number;\n /**\n * Norm of the vector\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#norm\n * @param inputs Vector to compute the norm\n * @returns Number that is norm of the vector\n */\n norm(inputs: Inputs.Vector.VectorDto): number;\n /**\n * Normalize the vector into a unit vector, that has a length of 1\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#normalized\n * @param inputs Vector to normalize\n * @returns Unit vector that has length of 1\n */\n normalized(inputs: Inputs.Vector.VectorDto): number;\n /**\n * Finds a point coordinates on the given distance ray that spans between the point along the direction vector\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#onray\n * @param inputs Provide a point, vector and a distance for finding a point\n * @returns Vector representing point on the ray\n */\n onRay(inputs: Inputs.Vector.RayPointDto): number[];\n /**\n * Creates a vector of integers between 0 and maximum ceiling integer\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#range\n * @param inputs Max value for the range\n * @returns Vector containing items from 0 to max\n */\n range(inputs: Inputs.Vector.RangeMaxDto): number[];\n /**\n * Computes signed angle between two vectors and a reference. This will always return a smaller angle between two possible angles.\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#signedanglebetween\n * @param inputs Contains information of two vectors and a reference vector\n * @returns Signed angle in degrees\n */\n signedAngleBetween(inputs: Inputs.Vector.TwoVectorsReferenceDto): number;\n /**\n * Creates a vector that contains numbers spanning between minimum and maximum values at a given step\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#span\n * @param inputs Span information containing min, max and step values\n * @returns Vector containing number between min, max and increasing at a given step\n */\n span(inputs: Inputs.Vector.SpanDto): number[];\n /**\n * Subtract two vectors\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#sub\n * @param inputs Two vectors\n * @returns Vector that result by subtraction two vectors\n */\n sub(inputs: Inputs.Vector.TwoVectorsDto): number[];\n /**\n * Sums the values of the vector\n * @link https://docs.bitbybit.dev/classes/bitbybit_vector.vector.html#sum\n * @param inputs Vector to sum\n * @returns Number that results by adding up all values in the vector\n */\n sum(inputs: Inputs.Vector.VectorDto): number;\n}/**\n * Contains various methods for nurbs circle.\n * These methods wrap around Verbnurbs library that you can find here http://verbnurbs.com/.\n * Thanks Peter Boyer for his work.\n */\ndeclare class VerbCurveCircle {\n private readonly context;\n constructor(context: Context);\n /**\n * Creates the circle Nurbs curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve_circle.verbcurvecircle.html#createcircle\n * @param inputs Circle parameters\n * @returns Circle Nurbs curve\n */\n createCircle(inputs: Inputs.Verb.CircleParametersDto): any;\n /**\n * Creates the arc Nurbs curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve_circle.verbcurvecircle.html#createarc\n * @param inputs Arc parameters\n * @returns Arc Nurbs curve\n */\n createArc(inputs: Inputs.Verb.ArcParametersDto): any;\n /**\n * Gets the center point of the circle or an arc\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve_circle.verbcurvecircle.html#center\n * @param inputs An arc or a circle Nurbs curve\n * @returns Point\n */\n center(inputs: Inputs.Verb.CircleDto): number[];\n /**\n * Gets the radius of the circle or an arc\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve_circle.verbcurvecircle.html#radius\n * @param inputs An arc or a circle Nurbs curve\n * @returns Radius\n */\n radius(inputs: Inputs.Verb.CircleDto): number;\n /**\n * Gets the max angle of the arc in degrees\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve_circle.verbcurvecircle.html#maxangle\n * @param inputs Arc\n * @returns Max angle in degrees\n */\n maxAngle(inputs: Inputs.Verb.CircleDto): number;\n /**\n * Gets the min angle of the arc in degrees\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve_circle.verbcurvecircle.html#minangle\n * @param inputs Arc\n * @returns Min angle in degrees\n */\n minAngle(inputs: Inputs.Verb.CircleDto): number;\n /**\n * Gets the x angle of the arc\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve_circle.verbcurvecircle.html#xaxis\n * @param inputs Circle\n * @returns X axis vector\n */\n xAxis(inputs: Inputs.Verb.CircleDto): number[];\n /**\n * Gets the y angle of the arc\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve_circle.verbcurvecircle.html#yaxis\n * @param inputs Circle\n * @returns Y axis vector\n */\n yAxis(inputs: Inputs.Verb.CircleDto): number[];\n}/**\n * Contains various methods for nurbs ellipse.\n * These methods wrap around Verbnurbs library that you can find here http://verbnurbs.com/.\n * Thanks Peter Boyer for his work.\n */\ndeclare class VerbCurveEllipse {\n private readonly context;\n constructor(context: Context);\n /**\n * Creates the ellipse Nurbs curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve_ellipse.verbcurveellipse.html#createellipse\n * @param inputs Ellipse parameters\n * @returns Ellipse Nurbs curve\n */\n createEllipse(inputs: Inputs.Verb.EllipseParametersDto): any;\n /**\n * Creates the ellipse arc Nurbs curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve_ellipse.verbcurveellipse.html#createarc\n * @param inputs Ellipse arc parameters\n * @returns Ellipse arc Nurbs curve\n */\n createArc(inputs: Inputs.Verb.EllipseArcParametersDto): any;\n /**\n * Gets the center point of the ellipse or an arc\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve_ellipse.verbcurveellipse.html#center\n * @param inputs The arc or the ellipse Nurbs curve\n * @returns Point\n */\n center(inputs: Inputs.Verb.EllipseDto): number[];\n /**\n * Gets the max angle of the arc in degrees\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve_ellipse.verbcurveellipse.html#maxangle\n * @param inputs Arc\n * @returns Max angle in degrees\n */\n maxAngle(inputs: Inputs.Verb.EllipseDto): number;\n /**\n * Gets the min angle of the arc in degrees\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve_ellipse.verbcurveellipse.html#minangle\n * @param inputs Arc\n * @returns Min angle in degrees\n */\n minAngle(inputs: Inputs.Verb.EllipseDto): number;\n /**\n * Gets the x angle of the arc or an ellipse\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve_ellipse.verbcurveellipse.html#xaxis\n * @param inputs Ellipse or an arc\n * @returns X axis vector\n */\n xAxis(inputs: Inputs.Verb.EllipseDto): number[];\n /**\n * Gets the y angle of the arc or an ellipse\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve_ellipse.verbcurveellipse.html#yaxis\n * @param inputs Ellipse or an arc\n * @returns Y axis vector\n */\n yAxis(inputs: Inputs.Verb.EllipseDto): number[];\n}/**\n * Contains various methods for nurbs curves.\n * These methods wrap around Verbnurbs library that you can find here http://verbnurbs.com/.\n * Thanks Peter Boyer for his work.\n */\ndeclare class VerbCurve {\n readonly circle: VerbCurveCircle;\n readonly ellipse: VerbCurveEllipse;\n private readonly context;\n private readonly geometryHelper;\n constructor(circle: VerbCurveCircle, ellipse: VerbCurveEllipse, context: Context, geometryHelper: GeometryHelper);\n /**\n * Draws a single curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#drawcurve\n * @param inputs Contains a curve to be drawn\n * @returns Lines mesh that is being drawn by Babylon\n */\n drawCurve(inputs: Inputs.Verb.DrawCurveDto): LinesMesh;\n /**\n * Draws multiple curves\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#drawcurves\n * @param inputs Contains curves to be drawn\n * @returns Lines mesh that is being drawn by Babylon\n */\n drawCurves(inputs: Inputs.Verb.DrawCurvesDto): LinesMesh;\n /**\n * Creates a Nurbs curve by providing knots, control points & weights\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#createcurvebyknotscontrolpointsweights\n * @param inputs Contains knots, control points and weights\n * @returns Nurbs curve\n */\n createCurveByKnotsControlPointsWeights(inputs: Inputs.Verb.CurveNurbsDataDto): any;\n /**\n * Creates a Nurbs curve by providing control points\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#createcurvebypoints\n * @param inputs Control points\n * @returns Nurbs curve\n */\n createCurveByPoints(inputs: Inputs.Verb.CurvePathDataDto): any;\n /**\n * Creates a Bezier Nurbs curve by providing control points and weights\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#createbeziercurve\n * @param inputs Control points\n * @returns Bezier Nurbs curve\n */\n createBezierCurve(inputs: Inputs.Verb.BezierCurveDto): any;\n /**\n * Clone the Nurbs curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#clone\n * @param inputs Nurbs curve\n * @returns Nurbs curve\n */\n clone(inputs: Inputs.Verb.CurveDto): any;\n /**\n * Finds the closest param on the Nurbs curve from the point\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#closestparam\n * @param inputs Nurbs curve with point\n * @returns Param number\n */\n closestParam(inputs: Inputs.Verb.ClosestPointDto): number;\n /**\n * Finds the closest params on the Nurbs curve from the points\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#closestparams\n * @param inputs Nurbs curve with points\n * @returns Param numbers\n */\n closestParams(inputs: Inputs.Verb.ClosestPointsDto): number[];\n /**\n * Finds the closest point on the Nurbs curve from the point\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#closestpoint\n * @param inputs Nurbs curve with point\n * @returns Point\n */\n closestPoint(inputs: Inputs.Verb.ClosestPointDto): number[];\n /**\n * Finds the closest points on the Nurbs curve from the list of points\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#closestpoints\n * @param inputs Nurbs curve with points\n * @returns Points\n */\n closestPoints(inputs: Inputs.Verb.ClosestPointsDto): number[][];\n /**\n * Finds the control points of the Nurbs curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#controlpoints\n * @param inputs Nurbs curve\n * @returns Points\n */\n controlPoints(inputs: Inputs.Verb.CurveDto): number[][];\n /**\n * Finds the degree of the Nurbs curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#degree\n * @param inputs Nurbs curve\n * @returns Degree number\n */\n degree(inputs: Inputs.Verb.CurveDto): number;\n /**\n * Finds the derivatives of the Nurbs curve at parameter\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#derivatives\n * @param inputs Nurbs curve with specified derivative number and parameter\n * @returns Derivatives\n */\n derivatives(inputs: Inputs.Verb.CurveDerivativesDto): number[];\n /**\n * Divides the curve by equal arc length to parameters\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#dividebyequalarclengthtoparams\n * @param inputs Nurbs curve\n * @returns Parameters\n */\n divideByEqualArcLengthToParams(inputs: Inputs.Verb.CurveSubdivisionsDto): number[];\n /**\n * Divides the curve by equal arc length to points\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#dividebyequalarclengthtopoints\n * @param inputs Nurbs curve\n * @returns Points\n */\n divideByEqualArcLengthToPoints(inputs: Inputs.Verb.CurveSubdivisionsDto): number[][];\n /**\n * Divides the curve by arc length to parameters\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#dividebyarclengthtoparams\n * @param inputs Nurbs curve\n * @returns Parameters\n */\n divideByArcLengthToParams(inputs: Inputs.Verb.CurveDivideLengthDto): number[];\n /**\n * Divides the curve by arc length to points\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#dividebyarclengthtopoints\n * @param inputs Nurbs curve\n * @returns Points\n */\n divideByArcLengthToPoints(inputs: Inputs.Verb.CurveDivideLengthDto): number[][];\n /**\n * Divides multiple curves by equal arc length to points\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#dividecurvesbyequalarclengthtopoints\n * @param inputs Nurbs curves\n * @returns Points placed for each curve in separate arrays\n */\n divideCurvesByEqualArcLengthToPoints(inputs: Inputs.Verb.CurvesSubdivisionsDto): number[][][];\n /**\n * Divides multiple curves by arc length to points\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#dividecurvesbyarclengthtopoints\n * @param inputs Nurbs curves\n * @returns Points placed for each curve in separate arrays\n */\n divideCurvesByArcLengthToPoints(inputs: Inputs.Verb.CurvesDivideLengthDto): number[][][];\n /**\n * Finds the domain interval of the curve parameters\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#domain\n * @param inputs Nurbs curve\n * @returns Interval domain\n */\n domain(inputs: Inputs.Verb.CurveDto): BaseTypes.IntervalDto;\n /**\n * Start point of the curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#startpoint\n * @param inputs Nurbs curve\n * @returns Start point\n */\n startPoint(inputs: Inputs.Verb.CurveDto): number[];\n /**\n * End point of the curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#endpoint\n * @param inputs Nurbs curve\n * @returns End point\n */\n endPoint(inputs: Inputs.Verb.CurveDto): number[];\n /**\n * Start points of the curves\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#startpoints\n * @param inputs Nurbs curves\n * @returns Start points\n */\n startPoints(inputs: Inputs.Verb.CurvesDto): number[][];\n /**\n * End points of the curves\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#endpoints\n * @param inputs Nurbs curves\n * @returns End points\n */\n endPoints(inputs: Inputs.Verb.CurvesDto): number[][];\n /**\n * Finds the knots of the Nurbs curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#knots\n * @param inputs Nurbs curve\n * @returns Knots\n */\n knots(inputs: Inputs.Verb.CurveDto): number[];\n /**\n * Gets the length of the Nurbs curve at specific parameter\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#lengthatparam\n * @param inputs Nurbs curve and parameter\n * @returns Length\n */\n lengthAtParam(inputs: Inputs.Verb.CurveParameterDto): number;\n /**\n * Gets the length of the Nurbs curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#length\n * @param inputs Nurbs curve\n * @returns Length\n */\n length(inputs: Inputs.Verb.CurveDto): number;\n /**\n * Gets the param at specified length on the Nurbs curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#paramatlength\n * @param inputs Nurbs curve, length and tolerance\n * @returns Parameter\n */\n paramAtLength(inputs: Inputs.Verb.CurveLengthToleranceDto): number;\n /**\n * Gets the point at specified parameter on the Nurbs curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#pointAtParam\n * @param inputs Nurbs curve and a parameter\n * @returns Point\n */\n pointAtParam(inputs: Inputs.Verb.CurveParameterDto): number[];\n /**\n * Gets the points at specified parameter on the Nurbs curves\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#pointAtParam\n * @param inputs Nurbs curves and a parameter\n * @returns Points in arrays for each curve\n */\n pointsAtParam(inputs: Inputs.Verb.CurvesParameterDto): number[][];\n /**\n * Reverses the Nurbs curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#reverse\n * @param inputs Nurbs curve\n * @returns Reversed Nurbs curve\n */\n reverse(inputs: Inputs.Verb.CurveDto): any;\n /**\n * Splits the Nurbs curve in two at a given parameter\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#split\n * @param inputs Nurbs curve with parameter\n * @returns Nurbs curves\n */\n split(inputs: Inputs.Verb.CurveParameterDto): any[];\n /**\n * Tangent of the Nurbs curve at a given parameter\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#tangent\n * @param inputs Nurbs curve with parameter\n * @returns Tangent vector\n */\n tangent(inputs: Inputs.Verb.CurveParameterDto): number[];\n /**\n * Tessellates the Nurbs curve into a list of points\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#tessellate\n * @param inputs Nurbs curve with tolerance\n * @returns Points\n */\n tessellate(inputs: Inputs.Verb.CurveToleranceDto): number[][];\n /**\n * Transforms the Nurbs curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#transform\n * @param inputs Nurbs curve with transformation matrixes\n * @returns Transformed curve\n */\n transform(inputs: Inputs.Verb.CurveTransformDto): any;\n /**\n * Transforms the Nurbs curves\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#transformcurves\n * @param inputs Nurbs curves with transformation matrixes\n * @returns Transformed curves\n */\n transformCurves(inputs: Inputs.Verb.CurvesTransformDto): any[];\n /**\n * Weights of the Nurbs curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_curve.verbcurve.html#weights\n * @param inputs Nurbs curve\n * @returns Weights\n */\n weights(inputs: Inputs.Verb.CurveDto): number[];\n}/**\n * Functions that allow to intersect various geometric entities and get the results\n */\ndeclare class VerbIntersect {\n private readonly context;\n private readonly geometryHelper;\n constructor(context: Context, geometryHelper: GeometryHelper);\n /**\n * Intersects two verb Nurbs curves together and returns intersection results\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_intersect.verbintersect.html#curves\n * @param inputs Two Nurbs curves\n * @returns Intersection results\n */\n curves(inputs: Inputs.Verb.CurveCurveDto): BaseTypes.CurveCurveIntersection[];\n /**\n * Intersects curve and surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_intersect.verbintersect.html#curveAndSurface\n * @param inputs Nurbs curve and a Nurbs surface\n * @returns Intersection results\n */\n curveAndSurface(inputs: Inputs.Verb.CurveSurfaceDto): BaseTypes.CurveSurfaceIntersection[];\n /**\n * Intersects two surfaces\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_intersect.verbintersect.html#surfaces\n * @param inputs Nurbs curve and a Nurbs surface\n * @returns Nurbs curves along the intersection\n */\n surfaces(inputs: Inputs.Verb.SurfaceSurfaceDto): any[];\n /**\n * Gets intersection parameters on the first curve from curve-curve intersection\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_intersect.verbintersect.html#curvecurvefirstparams\n * @param inputs Intersections data\n * @returns Parameters on first curve\n */\n curveCurveFirstParams(inputs: Inputs.Verb.CurveCurveIntersectionsDto): number[];\n /**\n * Gets intersection parameters on the second curve from curve-curve intersection\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_intersect.verbintersect.html#curvecurvesecondparams\n * @param inputs Intersections data\n * @returns Parameters on second curve\n */\n curveCurveSecondParams(inputs: Inputs.Verb.CurveCurveIntersectionsDto): number[];\n /**\n * Gets intersection points on the first curve from curve-curve intersection\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_intersect.verbintersect.html#curvecurvefirstpoints\n * @param inputs Intersections data\n * @returns Points on first curve\n */\n curveCurveFirstPoints(inputs: Inputs.Verb.CurveCurveIntersectionsDto): number[][];\n /**\n * Gets intersection points on the second curve from curve-curve intersection\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_intersect.verbintersect.html#curvecurvesecondpoints\n * @param inputs Intersections data\n * @returns Points on second curve\n */\n curveCurveSecondPoints(inputs: Inputs.Verb.CurveCurveIntersectionsDto): number[][];\n /**\n * Gets intersection parameters on the curve from curve-surface intersection\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_intersect.verbintersect.html#curvesurfacecurveparams\n * @param inputs Intersections data\n * @returns Parameters on the curve\n */\n curveSurfaceCurveParams(inputs: Inputs.Verb.CurveSurfaceIntersectionsDto): number[];\n /**\n * Gets intersection parameters on the surface from curve-surface intersection\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_intersect.verbintersect.html#curvesurfacesurfaceparams\n * @param inputs Intersections data\n * @returns Parameters on the surface\n */\n curveSurfaceSurfaceParams(inputs: Inputs.Verb.CurveSurfaceIntersectionsDto): BaseTypes.UVDto[];\n /**\n * Gets intersection points on the curve from curve-surface intersection\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_intersect.verbintersect.html#curvesurfacecurvepoints\n * @param inputs Intersections data\n * @returns Points on the curve\n */\n curveSurfaceCurvePoints(inputs: Inputs.Verb.CurveSurfaceIntersectionsDto): number[][];\n /**\n * Gets intersection points on the surface from curve-surface intersection\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_intersect.verbintersect.html#curvesurfacesurfacepoints\n * @param inputs Intersections data\n * @returns Points on the surface\n */\n curveSurfaceSurfacePoints(inputs: Inputs.Verb.CurveSurfaceIntersectionsDto): number[][];\n}/**\n * Conical surface functions.\n * These functions wrap around Verbnurbs library that you can find here http://verbnurbs.com/.\n * Thanks Peter Boyer for his work.\n */\ndeclare class VerbSurfaceConical {\n private readonly context;\n constructor(context: Context);\n /**\n * Creates the conical Nurbs surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_conical.verbsurfaceconical.html#create\n * @param inputs Parameters for Nurbs conical surface\n * @returns Conical Nurbs surface\n */\n create(inputs: Inputs.Verb.ConeAndCylinderParametersDto): any;\n /**\n * Get cone axis\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_conical.verbsurfaceconical.html#axis\n * @param inputs Nurbs conical surface\n * @returns Axis vector\n */\n axis(inputs: Inputs.Verb.ConeDto): number[];\n /**\n * Get cone base\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_conical.verbsurfaceconical.html#base\n * @param inputs Nurbs conical surface\n * @returns Base point\n */\n base(inputs: Inputs.Verb.ConeDto): number[];\n /**\n * Get cone height\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_conical.verbsurfaceconical.html#height\n * @param inputs Nurbs conical surface\n * @returns Height\n */\n height(inputs: Inputs.Verb.ConeDto): number;\n /**\n * Get cone radius\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_conical.verbsurfaceconical.html#radius\n * @param inputs Nurbs conical surface\n * @returns Radius\n */\n radius(inputs: Inputs.Verb.ConeDto): number;\n /**\n * Get cone x axis\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_conical.verbsurfaceconical.html#xaxis\n * @param inputs Nurbs conical surface\n * @returns X axis vector\n */\n xAxis(inputs: Inputs.Verb.ConeDto): number[];\n}/**\n * Cylindrical surface functions.\n * These functions wrap around Verbnurbs library that you can find here http://verbnurbs.com/.\n * Thanks Peter Boyer for his work.\n */\ndeclare class VerbSurfaceCylindrical {\n private readonly context;\n constructor(context: Context);\n /**\n * Creates the cylindrical Nurbs surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_cylindrical.verbsurfacecylindrical.html#create\n * @param inputs Parameters for cylindrical Nurbs surface\n * @returns Cylindrical Nurbs surface\n */\n create(inputs: Inputs.Verb.ConeAndCylinderParametersDto): any;\n /**\n * Get cylinder axis\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_cylindrical.verbsurfacecylindrical.html#axis\n * @param inputs Nurbs cylindrical surface\n * @returns Axis vector\n */\n axis(inputs: Inputs.Verb.CylinderDto): number[];\n /**\n * Get cylinder base\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_cylindrical.verbsurfacecylindrical.html#base\n * @param inputs Nurbs cylindrical surface\n * @returns Base point\n */\n base(inputs: Inputs.Verb.CylinderDto): number[];\n /**\n * Get cylinder height\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_cylindrical.verbsurfacecylindrical.html#height\n * @param inputs Nurbs cylindrical surface\n * @returns Height\n */\n height(inputs: Inputs.Verb.CylinderDto): number;\n /**\n * Get cylinder radius\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_cylindrical.verbsurfacecylindrical.html#radius\n * @param inputs Nurbs cylindrical surface\n * @returns Radius\n */\n radius(inputs: Inputs.Verb.CylinderDto): number;\n /**\n * Get cylinder x axis\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_cylindrical.verbsurfacecylindrical.html#xaxis\n * @param inputs Nurbs cylindrical surface\n * @returns X axis vector\n */\n xAxis(inputs: Inputs.Verb.CylinderDto): number[];\n}/**\n * Extrusion surface functions.\n * These functions wrap around Verbnurbs library that you can find here http://verbnurbs.com/.\n * Thanks Peter Boyer for his work.\n */\ndeclare class VerbSurfaceExtrusion {\n private readonly context;\n constructor(context: Context);\n /**\n * Creates the Nurbs surface extrusion from the curve\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_extrusion.verbsurfaceextrusion.html#create\n * @param inputs Nurbs profile curve and direction vector\n * @returns Nurbs surface\n */\n create(inputs: Inputs.Verb.ExtrusionParametersDto): any;\n /**\n * Gets the direction vector of the extrusion\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_extrusion.verbsurfaceextrusion.html#direction\n * @param inputs Extruded Nurbs surface\n * @returns Vector\n */\n direction(inputs: Inputs.Verb.ExtrusionDto): number[];\n /**\n * Gets the profile Nurbs curve of the extrusion\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_extrusion.verbsurfaceextrusion.html#profile\n * @param inputs Extruded Nurbs surface\n * @returns Profile Nurbs curve\n */\n profile(inputs: Inputs.Verb.ExtrusionDto): number[];\n}/**\n * Revolved surface functions.\n * These functions wrap around Verbnurbs library that you can find here http://verbnurbs.com/.\n * Thanks Peter Boyer for his work.\n */\ndeclare class VerbSurfaceRevolved {\n private readonly context;\n constructor(context: Context);\n /**\n * Creates the revolved Nurbs surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_revolved.verbsurfacerevolved.html#create\n * @param inputs Parameters for Nurbs revolved surface\n * @returns Revolved Nurbs surface\n */\n create(inputs: Inputs.Verb.RevolutionParametersDto): any;\n /**\n * Get the profile Nurbs curve of the revolved Nurbs surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_revolved.verbsurfacerevolved.html#profile\n * @param inputs Revolved Nurbs surface\n * @returns Nurbs curve\n */\n profile(inputs: Inputs.Verb.RevolutionDto): any;\n /**\n * Get the center Nurbs curve of the revolved Nurbs surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_revolved.verbsurfacerevolved.html#center\n * @param inputs Revolved Nurbs surface\n * @returns Center point\n */\n center(inputs: Inputs.Verb.RevolutionDto): number[];\n /**\n * Get the rotation axis of the revolved Nurbs surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_revolved.verbsurfacerevolved.html#axis\n * @param inputs Revolved Nurbs surface\n * @returns Axis vector of rotation\n */\n axis(inputs: Inputs.Verb.RevolutionDto): number[];\n /**\n * Get the angle of rotation from revolved Nurbs surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_revolved.verbsurfacerevolved.html#angle\n * @param inputs Revolved Nurbs surface\n * @returns Angle in degrees\n */\n angle(inputs: Inputs.Verb.RevolutionDto): number;\n}/**\n * Spherical surface functions.\n * These functions wrap around Verbnurbs library that you can find here http://verbnurbs.com/.\n * Thanks Peter Boyer for his work.\n */\ndeclare class VerbSurfaceSpherical {\n private readonly context;\n constructor(context: Context);\n /**\n * Creates the spherical Nurbs surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_spherical.verbsurfacespherical.html#create\n * @param inputs Parameters for Nurbs spherical surface\n * @returns Spherical Nurbs surface\n */\n create(inputs: Inputs.Verb.SphericalParametersDto): any;\n /**\n * Get the radius of the spherical Nurbs surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_spherical.verbsurfacespherical.html#radius\n * @param inputs Spherical Nurbs surface\n * @returns Radius\n */\n radius(inputs: Inputs.Verb.SphereDto): number;\n /**\n * Get the center of the spherical Nurbs surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_spherical.verbsurfacespherical.html#center\n * @param inputs Spherical Nurbs surface\n * @returns Center point\n */\n center(inputs: Inputs.Verb.SphereDto): number[];\n}/**\n * Sweep surface functions.\n * These functions wrap around Verbnurbs library that you can find here http://verbnurbs.com/.\n * Thanks Peter Boyer for his work.\n */\ndeclare class VerbSurfaceSweep {\n private readonly context;\n constructor(context: Context);\n /**\n * Creates the sweep Nurbs surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_sweep.verbsurfacesweep.html#create\n * @param inputs Parameters for Nurbs sweep surface\n * @returns Sweep Nurbs surface\n */\n create(inputs: Inputs.Verb.SweepParametersDto): any;\n /**\n * Get the profile Nurbs curve of the swept Nurbs surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_sweep.verbsurfacesweep.html#profile\n * @param inputs Sweep Nurbs surface\n * @returns Profile Nurbs curve\n */\n profile(inputs: Inputs.Verb.SweepDto): any;\n /**\n * Get the rail Nurbs curve of the swept Nurbs surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface_sweep.verbsurfacesweep.html#rail\n * @param inputs Sweep Nurbs surface\n * @returns Rail Nurbs curve\n */\n rail(inputs: Inputs.Verb.SweepDto): any;\n}/**\n * Contains various functions for Nurbs surfaces.\n * These functions wrap around Verbnurbs library that you can find here http://verbnurbs.com/.\n * Thanks Peter Boyer for his work.\n */\ndeclare class VerbSurface {\n readonly cone: VerbSurfaceConical;\n readonly cylinder: VerbSurfaceCylindrical;\n readonly extrusion: VerbSurfaceExtrusion;\n readonly sphere: VerbSurfaceSpherical;\n readonly revolved: VerbSurfaceRevolved;\n readonly sweep: VerbSurfaceSweep;\n private readonly context;\n private readonly geometryHelper;\n constructor(cone: VerbSurfaceConical, cylinder: VerbSurfaceCylindrical, extrusion: VerbSurfaceExtrusion, sphere: VerbSurfaceSpherical, revolved: VerbSurfaceRevolved, sweep: VerbSurfaceSweep, context: Context, geometryHelper: GeometryHelper);\n /**\n * Draws a single surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#drawsurface\n * @param inputs Contains a surface and information for drawing\n * @returns Mesh that is being drawn by Babylon\n */\n drawSurface(inputs: Inputs.Verb.DrawSurfaceDto): Mesh;\n /**\n * Draws multiple surfaces\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#drawsurfaces\n * @param inputs Contains the Nurbs surfaces and information for drawing\n * @returns Mesh that is being drawn by Babylon\n */\n drawSurfaces(inputs: Inputs.Verb.DrawSurfacesDto): Mesh;\n /**\n * Draws multiple surfaces with multiple colours. Number of colours has to be equal to number of surfaces\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#drawsurfacesmulticolour\n * @param inputs Contains the Nurbs surfaces, colours and other information for drawing\n * @returns Mesh that is being drawn by Babylon\n */\n drawSurfacesMultiColour(inputs: Inputs.Verb.DrawSurfacesColoursDto): Mesh;\n /**\n * Gets the boundary edge Nurbs curves of the surface in a list\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#boundaries\n * @param inputs Nurbs surface\n * @returns Array of curves\n */\n boundaries(inputs: Inputs.Verb.SurfaceDto): any[];\n /**\n * Creates the surface by providing 4 points as corners\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#createsurfacebycorners\n * @param inputs 4 points\n * @returns Nurbs surface\n */\n createSurfaceByCorners(inputs: Inputs.Verb.CornersDto): any;\n /**\n * Creates the Nurbs surface by providing uv knots, uv degrees, points and weights\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#createsurfacebyknotscontrolpointsweights\n * @param inputs Surface creation information\n * @returns Nurbs surface\n */\n createSurfaceByKnotsControlPointsWeights(inputs: Inputs.Verb.KnotsControlPointsWeightsDto): any;\n /**\n * Creates the Nurbs surface by lofting curves\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#createsurfacebyloftingcurves\n * @param inputs Curves to loft through\n * @returns Nurbs surface\n */\n createSurfaceByLoftingCurves(inputs: Inputs.Verb.LoftCurvesDto): any;\n /**\n * Clone the Nurbs surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#clone\n * @param inputs Nurbs surface\n * @returns Nurbs surface\n */\n clone(inputs: Inputs.Verb.SurfaceDto): any;\n /**\n * Finds the closest parameter on the surface from the point\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#closestparam\n * @param inputs Nurbs surface with a point\n * @returns UV parameters\n */\n closestParam(inputs: Inputs.Verb.SurfaceParamDto): BaseTypes.UVDto;\n /**\n * Finds the closest point on the surface from the point\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#closestpoint\n * @param inputs Nurbs surface with a point\n * @returns Point\n */\n closestPoint(inputs: Inputs.Verb.SurfaceParamDto): number[];\n /**\n * Gets the control points on the surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#controlpoints\n * @param inputs Nurbs surface\n * @returns Two dimensional array of points\n */\n controlPoints(inputs: Inputs.Verb.SurfaceDto): number[][][];\n /**\n * Gets the U degree of the surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#degreeu\n * @param inputs Nurbs surface\n * @returns U degree\n */\n degreeU(inputs: Inputs.Verb.SurfaceDto): number;\n /**\n * Gets the V degree of the surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#degreev\n * @param inputs Nurbs surface\n * @returns V degree\n */\n degreeV(inputs: Inputs.Verb.SurfaceDto): number;\n /**\n * Gets the derivatives of the surface at specified uv coordinate\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#derivatives\n * @param inputs Nurbs surface\n * @returns Two dimensional array of vectors\n */\n derivatives(inputs: Inputs.Verb.DerivativesDto): number[][][];\n /**\n * Gets the U domain of the surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#domainu\n * @param inputs Nurbs surface\n * @returns U domain as interval\n */\n domainU(inputs: Inputs.Verb.SurfaceDto): BaseTypes.IntervalDto;\n /**\n * Gets the V domain of the surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#domainv\n * @param inputs Nurbs surface\n * @returns V domain as interval\n */\n domainV(inputs: Inputs.Verb.SurfaceDto): BaseTypes.IntervalDto;\n /**\n * Gets the Nurbs isocurve on the surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#isocurve\n * @param inputs Nurbs surface\n * @returns Nurbs curve\n */\n isocurve(inputs: Inputs.Verb.SurfaceParameterDto): any;\n /**\n * Subdivides surface into preferred number of isocurves\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#isocurvesubdivision\n * @param inputs Nurbs surface\n * @returns Nurbs curves\n */\n isocurvesSubdivision(inputs: Inputs.Verb.IsocurveSubdivisionDto): any[];\n /**\n * Subdivides surface into isocurves on specified array of parameters\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#isocurvesatparams\n * @param inputs Nurbs surface\n * @returns Nurbs curves\n */\n isocurvesAtParams(inputs: Inputs.Verb.IsocurvesParametersDto): any[];\n /**\n * Gets the U knots of the surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#knotsu\n * @param inputs Nurbs surface\n * @returns Knots on u direction\n */\n knotsU(inputs: Inputs.Verb.SurfaceDto): number[];\n /**\n * Gets the V knots of the surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#knotsv\n * @param inputs Nurbs surface\n * @returns Knots on v direction\n */\n knotsV(inputs: Inputs.Verb.SurfaceDto): number[];\n /**\n * Gets the normal on the surface at uv coordinate\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#normal\n * @param inputs Nurbs surface\n * @returns Normal vector\n */\n normal(inputs: Inputs.Verb.SurfaceLocationDto): number[];\n /**\n * Gets the point on the surface at uv coordinate\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#point\n * @param inputs Nurbs surface\n * @returns Point\n */\n point(inputs: Inputs.Verb.SurfaceLocationDto): number[];\n /**\n * Reverse the Nurbs surface. This will reverse the UV origin and isocurve directions\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#reverse\n * @param inputs Nurbs surface\n * @returns Nurbs surface\n */\n reverse(inputs: Inputs.Verb.SurfaceDto): any;\n /**\n * Splits the Nurbs surface in two halfs.\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#split\n * @param inputs Nurbs surface\n * @returns Two Nurbs surfaces\n */\n split(inputs: Inputs.Verb.SurfaceParameterDto): any[];\n /**\n * Transforms the Nurbs surface with a given list of transformations.\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#transformsurface\n * @param inputs Nurbs surface with transforms\n * @returns Nurbs surface\n */\n transformSurface(inputs: Inputs.Verb.SurfaceTransformDto): any;\n /**\n * Gets the weights of the surface\n * @link https://docs.bitbybit.dev/classes/bitbybit_verb_surface.verbsurface.html#weights\n * @param inputs Nurbs surface\n * @returns Two dimensional array of weights\n */\n weights(inputs: Inputs.Verb.SurfaceDto): number[][];\n private parseFaces;\n}/**\n * Contains various functions for Nurbs curves and surfaces.\n * These functions wrap around Verbnurbs library that you can find here http://verbnurbs.com/.\n * Thanks Peter Boyer for his work.\n */\ndeclare class Verb {\n readonly curve: VerbCurve;\n readonly surface: VerbSurface;\n readonly intersect: VerbIntersect;\n constructor(curve: VerbCurve, surface: VerbSurface, intersect: VerbIntersect);\n}" = ...

Generated using TypeDoc