Options
All
  • Public
  • Public/Protected
  • All
Menu

shapetypes

Index

Object literals

Const shapetypesSettings

shapetypesSettings: object

Global parameters defining the acceptable tolerances for calculations involving comparisons. This tolerance is needed since floating-point numbers aren't totally accurate. In functions where these values are used, such as Vector.isParallelTo and Point.equals, there is typically a parameter allowing these values to be temporarily overridden if needed.

absoluteTolerance

absoluteTolerance: number = 0.000001

angleTolerance

angleTolerance: number = Math.PI / 180

Generated using TypeDoc