|
GuidesHowtosReferenceTutorialsTraining
|
AboutContributeSupport
|
search
|
GuidesHowtosReferenceTutorialsTraining
|
AboutContributeSupport
|
search
  • Guides
  • Howtos
  • Reference
  • Tutorials
  • Training
  • generateStackTransform
  • getTransformedBounds
  • mergeI18n
  • utils.applyTransformToPoint()
  • utils.beamIntersectsCircle()
  • utils.beamIntersectsCurve()
  • utils.beamIntersectsX()
  • utils.beamIntersectsY()
  • utils.beamsIntersect()
  • utils.capitalize()
  • utils.circlesIntersect()
  • utils.combineTransform()
  • utils.curveEdge()
  • utils.curveIntersectsX()
  • utils.curveIntersectsY()
  • utils.curvesIntersect()
  • utils.deg2rad()
  • utils.lineIntersectsCircle()
  • utils.lineIntersectsCurve()
  • utils.linesIntersect()
  • utils.mergeOptions()
  • utils.pctBasedOn()
  • utils.pointOnBeam()
  • utils.pointOnCurve()
  • utils.pointOnLine()
  • utils.rad2deg()
  • utils.round()
  • utils.splitCurve()
  • utils.stretchToScale()
  • utils.units()
  • Reference
  • Core API
  • utils
  • utils.deg2rad()

utils.deg2rad()

Table of contents

  • Signature
  • Notes

The utils.deg2read() function returns the degrees you pass to it as radians.

Signature

Javascript
float deg2rad(float degrees)

Notes

This is useful for when you use functions like Math.cos() that expect a corner in radians, when we typically use degrees.

utils.curvesIntersect()utils.lineIntersectsCircle()

Contents by

  • Authors:
    • Joost De Cock
  • Maintainers:
    • Joost De Cock
  • Last updated: 3 days, 11 hours ago

Table of contents

  • Signature
  • Notes
FreeSewing

Come for the sewing patterns
Stay for the community

  • Search
  • Sitemap
Search powered by Algolia
Error reporting by Bugsnag
Translation powered by Crowdin
Builds and Hosting by Vercel