AutoMovie API
    Preparing search index...

    Variable polygonShortestEdgeConst

    polygonShortestEdge: (polygon: readonly IAutoMoviePlanarPoint[]) => number = ...

    The shortest edge length of a closed polygon.

    Includes the closing edge and measures Euclidean length in polygon units. An empty ring returns Infinity; repeated consecutive finite corners and a one-point ring return zero. Coordinate subtraction or a non-representable final length can still overflow despite Math.hypot's scaled evaluation.

    Type Declaration

      • (polygon: readonly IAutoMoviePlanarPoint[]): number
      • Parameters

        Returns number

        The minimum edge length, or Infinity for an empty ring.