MCPcopy Create free account
hub / github.com/VolmitSoftware/Adapt / length

Method length

src/main/java/com/volmit/adapt/util/Vector3d.java:172–174  ·  view source on GitHub ↗

Returns the length of this vector. @return the length of this vector

()

Source from the content-addressed store, hash-verified

170 * @return the length of this vector
171 */
172 public final double length() {
173 return Math.sqrt(this.x * this.x + this.y * this.y + this.z * this.z);
174 }
175
176
177 /**

Callers 15

angleMethod · 0.95
replaceHiddenStringMethod · 0.45
extractMethod · 0.45
colorsToStringMethod · 0.45
getByCharMethod · 0.45
hexToColorMethod · 0.45
getLastColorsMethod · 0.45
compressToBase64Method · 0.45
decompressFromBase64Method · 0.45
decompressFromUTF16Method · 0.45
_compressMethod · 0.45

Calls 1

sqrtMethod · 0.80

Tested by

no test coverage detected