export class OCCTVertex {
    constructor(occ, och) {
        this.occ = occ;
        this.och = och;
    }
    vertexFromPoint(inputs) {
        return this.och.entitiesService.makeVertex(inputs.point);
    }
    verticesFromPoints(inputs) {
        return inputs.points.map(p => this.vertexFromPoint({ point: p }));
    }
    verticesCompoundFromPoints(inputs) {
        const vertexes = this.verticesFromPoints(inputs);
        return this.och.converterService.makeCompound({ shapes: vertexes });
    }
    getVertices(inputs) {
        return this.och.shapeGettersService.getVertices(inputs);
    }
    getVerticesAsPoints(inputs) {
        return this.och.verticesService.getVerticesAsPoints(inputs);
    }
    verticesToPoints(inputs) {
        return this.och.verticesService.verticesToPoints(inputs);
    }
    vertexToPoint(inputs) {
        return this.och.converterService.vertexToPoint(inputs);
    }
}
