brepjs API Reference
    Preparing search index...

    Function vecIsZero

    • Test whether a 3D vector is approximately zero-length.

      Parameters

      • v: Vec3
      • tolerance: number = 1e-10

        Length threshold below which the vector is considered zero.

      Returns boolean

      tolerance 1e-10