MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / length

Method length

src/main/java/field/linalg/Vec2.java:562–565  ·  view source on GitHub ↗

Return the length of this vector. @return the length

()

Source from the content-addressed store, hash-verified

560 * @return the length
561 */
562 @SafeToToString
563 public double length() {
564 return Math.sqrt((x * x) + (y * y));
565 }
566
567 /**
568 * Return the length squared of this vector.

Callers 15

runMethod · 0.45
renderStaticJavaMethod · 0.45
possibleToStringMethod · 0.45
formatMethod · 0.45
indentMethod · 0.45
BoxPairMethod · 0.45
checkPairsMethod · 0.45
loadedMethod · 0.45
updateToVariantMethod · 0.45
TypingMethod · 0.45
newFieldBoxMethod · 0.45
newFieldFileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected