import { vec3 } from "gl-matrix"; import { IWire } from "./IWire"; /** * 管道线框 */ export declare class PipeWire implements IWire { private _spine; private _left_spine; private _right_spine; private _radius; private _normal; get radius(): number; set radius(r: number); get long_spine(): vec3[]; get spine(): vec3[]; constructor(spine: vec3[], radius: number, normal?: vec3); private _points; get points(): Float32Array; point_changed: () => void; private _set_points; /** * P = O1 + t1*D1; P = O2 + t2*D2 * t1*D1 - t2*D2 = O2 - O1; * @param o1 * @param d1 * @param o2 * @param d2 */ private _get_insect; private _get_spine; private _project; }