Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/clientIO/joint
/ point.mjs
File
point.mjs
packages/joint-core/src/g/point.mjs:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/*
2
Point is the most basic object consisting of x/y coordinate.
3
4
Possible instantiations are:
Callers
nothing calls this directly
Calls
13
normalizeAngle
Function · 0.90
toDeg
Function · 0.90
random
Function · 0.90
bearing
Function · 0.90
length
Function · 0.90
toRad
Function · 0.90
snapToGrid
Function · 0.90
squaredLength
Function · 0.90
round
Function · 0.85
equals
Method · 0.80
clone
Method · 0.80
scale
Method · 0.80
Tested by
no test coverage detected