/** * Convert to Mesh * * Provides functions to convert Cubes and Splines to Mesh objects. * This is a core workflow function for converting between element types. */ import { Mesh } from '../geometry/mesh'; import { SplineMesh } from '../geometry/spline_mesh'; import { Vector3 } from './transform'; /** * Adjust from/to coordinates for inflate and stretch * This accounts for cube inflation and stretching when converting */ export declare function adjustFromAndToForInflateAndStretch(from: Vector3, to: Vector3, element: any): void; /** * Convert a Cube to a Mesh */ export declare function convertCubeToMesh(cube: any): Mesh; /** * Convert a SplineMesh to a Mesh * Uses the spline's tube mesh generation */ export declare function convertSplineToMesh(spline: SplineMesh): Mesh; /** * Convert elements to meshes * Handles both cubes and splines */ export declare function convertToMesh(elements: Array): Mesh[]; //# sourceMappingURL=convert_to_mesh.d.ts.map