libavoid-js
    Preparing search index...

    Interface Point

    A point.

    libavoid: Point, without its internal id/vn fields.

    interface Point {
        x: number;
        y: number;
        equals(other: PointLike, epsilon?: number): boolean;
    }
    Index
    x y
    • Compares with another point. Without epsilon, both coordinates must be exactly equal; with epsilon, each must differ by less than epsilon.

      Parameters

      Returns boolean

      libavoid: Point::operator== without epsilon, Point::equals with it.

    x: number
    y: number