UNPKG

@achirita/blox

Version:

A CAD library for building 3D models in the browser.

22 lines (21 loc) 627 B
import { Vector } from '../math'; export class Vertex { constructor(wrapped: any); /** * Returns the wrapped OpenCascade object. * @private */ private get wrapped(); /** * Retrieves the position of the vertex. * @returns {Vector} A `Vector` object representing the vertex's position. */ get position(): Vector; /** * Checks if this vertex is equal to another vertex. * @param {Vertex} vertex - The vertex to compare with. * @returns {boolean} `true` if the vertices are equal, `false` otherwise. */ isEqual(vertex: Vertex): boolean; #private; }