import { PlaneData, PlaneDataSchema } from "../proto/compas_pb/generated/geometry_pb.js"; import { Point } from "./point.js"; import { Vector } from "./vector.js"; import { MessageInitShape } from "@bufbuild/protobuf"; //#region src/geometry/plane.d.ts /** The fields a Plane is built from. */ type PlaneInit = MessageInitShape; declare class Plane { readonly data: PlaneData; private _point?; private _normal?; constructor(init: PlaneInit); get bytes(): Uint8Array; /** Reads a Plane from the bytes of its protobuf message. */ static fromBytes(bytes: Uint8Array): Plane; get guid(): string; get name(): string; get point(): Point; get normal(): Vector; } declare function bytesToPlane(bytes: Uint8Array): Plane; declare function planeToBytes(plane: Plane): Uint8Array; //#endregion export { Plane, PlaneInit, bytesToPlane, planeToBytes }; //# sourceMappingURL=plane.d.ts.map