UNPKG

@bitbybit-dev/manifold

Version:

Bit By Bit Developers Manifold based CAD Library to Program Geometry

27 lines (26 loc) 1.69 kB
import * as Inputs from "../../inputs/inputs"; import * as Manifold3D from "manifold-3d"; import { CrossSectionShapes } from "./cross-section-shapes"; import { CrossSectionOperations } from "./cross-section-operations"; import { CrossSectionTransforms } from "./cross-section-transforms"; import { CrossSectionBooleans } from "./cross-section-booleans"; import { CrossSectionEvaluate } from "./cross-section-evaluate"; import { BaseBitByBit } from "../../../base"; export declare class CrossSection { shapes: CrossSectionShapes; operations: CrossSectionOperations; transforms: CrossSectionTransforms; booleans: CrossSectionBooleans; evaluate: CrossSectionEvaluate; private manifold; private base; constructor(wasm: Manifold3D.ManifoldToplevel, base: BaseBitByBit); crossSectionFromPoints(inputs: Inputs.Manifold.CrossSectionFromPolygonPointsDto): Manifold3D.CrossSection; crossSectionFromPolygons(inputs: Inputs.Manifold.CrossSectionFromPolygonsPointsDto): Manifold3D.CrossSection; crossSectionToPolygons(inputs: Inputs.Manifold.CrossSectionDto<Manifold3D.CrossSection>): Manifold3D.SimplePolygon[]; crossSectionToPoints(inputs: Inputs.Manifold.CrossSectionDto<Manifold3D.CrossSection>): Inputs.Base.Point3[][]; crossSectionsToPolygons(inputs: Inputs.Manifold.CrossSectionsDto<Manifold3D.CrossSection>): Manifold3D.SimplePolygon[][]; crossSectionsToPoints(inputs: Inputs.Manifold.CrossSectionsDto<Manifold3D.CrossSection>): number[][][][]; deleteCrossSection(inputs: Inputs.Manifold.CrossSectionDto<Manifold3D.CrossSection>): void; deleteCrossSections(inputs: Inputs.Manifold.CrossSectionsDto<Manifold3D.CrossSection>): void; }