P
olypoint
Docs
Files
Theatre
Editor
protractor
Docs
protractor.js
<script src="./point_src/protractor"></script>
parse
Meta Data
filepath_exists
True
path
protractor
filepath
protractor.js
clean_files
()
Point
PointList
Stage
Lines
Line
Curve
Angle
Text
Hit Me
Collisions
Constraints
Box Of
Clustering
Gears
Gravity
Asteroids
TOC
{{key}}
VariableDeclaration
const
PI_180
=
(180 / Math.PI)
FunctionDeclaration
function
calculateAngle360
(
point1
,
point2
,
rotation
,
direction
=
1
)
dict_keys(['kind', 'word', 'generator', 'expression', 'async', 'params', 'id', 'pos', 'type'])
FunctionDeclaration
function
calculateAngle180
(
point1
,
point2
,
rotation
,
direction
=
1
)
dict_keys(['kind', 'word', 'generator', 'expression', 'async', 'params', 'id', 'pos', 'type'])
FunctionDeclaration
function
calculateInverseAngle180
(
point1
,
point2
,
rotation
,
direction
=
1
)
dict_keys(['kind', 'word', 'generator', 'expression', 'async', 'params', 'id', 'pos', 'type'])
FunctionDeclaration
function
invertClockRotation
(
angleInDegrees
)
dict_keys(['kind', 'word', 'generator', 'expression', 'async', 'params', 'id', 'pos', 'type'])
FunctionDeclaration
function
convertAngle180Split
(
angle
)
dict_keys(['kind', 'word', 'generator', 'expression', 'async', 'params', 'id', 'pos', 'type'])
FunctionDeclaration
function
getCavity
(
point1
,
midPoint
,
point2
)
dict_keys(['kind', 'word', 'generator', 'expression', 'async', 'params', 'id', 'pos', 'type'])
FunctionDeclaration
function
calculateAngleDiff
(
primaryPoint
,
secondaryPoint
)
dict_keys(['kind', 'word', 'generator', 'expression', 'async', 'params', 'id', 'pos', 'type'])
FunctionDeclaration
function
radiansDiff
(
primaryRads
,
secondaryRads
)
dict_keys(['kind', 'word', 'generator', 'expression', 'async', 'params', 'id', 'pos', 'type'])
FunctionDeclaration
function
calculateAngleWithRef
(
point1
,
point2
,
referencePoint
)
dict_keys(['kind', 'word', 'generator', 'expression', 'async', 'params', 'id', 'pos', 'type'])
{{ title.kind }}
{{ title.textContent }}