2021-02-27 12:33:17 +00:00
<!DOCTYPE html > < html > < head > < meta http-equiv = "X-UA-Compatible" content = "IE=edge" / > < meta content = "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name = "viewport" / > < title > PSF-LoginServer - master - net.psforever.objects.geometry.Geometry< / title > < meta content = "PSF - LoginServer - master - net.psforever.objects.geometry.Geometry" name = "description" / > < meta content = "PSF LoginServer master net.psforever.objects.geometry.Geometry" name = "keywords" / > < meta http-equiv = "content-type" content = "text/html; charset=UTF-8" / > < link href = "../../../../lib/index.css" media = "screen" type = "text/css" rel = "stylesheet" / > < link href = "../../../../lib/template.css" media = "screen" type = "text/css" rel = "stylesheet" / > < link href = "../../../../lib/print.css" media = "print" type = "text/css" rel = "stylesheet" / > < link href = "../../../../lib/diagrams.css" media = "screen" type = "text/css" rel = "stylesheet" id = "diagrams-css" / > < script type = "text/javascript" src = "../../../../lib/jquery.min.js" > < / script > < script type = "text/javascript" src = "../../../../lib/index.js" > < / script > < script type = "text/javascript" src = "../../../../index.js" > < / script > < script type = "text/javascript" src = "../../../../lib/scheduler.js" > < / script > < script type = "text/javascript" src = "../../../../lib/template.js" > < / script > < script type = "text/javascript" > / * t h i s v a r i a b l e c a n b e u s e d b y t h e J S t o d e t e r m i n e t h e p a t h t o t h e r o o t d o c u m e n t * /
2021-06-12 03:06:39 +00:00
var toRoot = '../../../../';< / script > < / head > < body > < div id = "search" > < span id = "doc-title" > PSF-LoginServer - < span id = "doc-version" > master< / span > < / span > < span class = "close-results" > < span class = "left" > < < / span > Back< / span > < div id = "textfilter" > < span class = "input" > < input autocapitalize = "none" placeholder = "Search" id = "index-input" type = "text" accesskey = "/" / > < i class = "clear material-icons" > < / i > < i id = "search-icon" class = "material-icons" > < / i > < / span > < / div > < / div > < div id = "search-results" > < div id = "search-progress" > < div id = "progress-fill" > < / div > < / div > < div id = "results-content" > < div id = "entity-results" > < / div > < div id = "member-results" > < / div > < / div > < / div > < div id = "content-scroll-container" style = "-webkit-overflow-scrolling: touch;" > < div id = "content-container" style = "-webkit-overflow-scrolling: touch;" > < div id = "subpackage-spacer" > < div id = "packages" > < h1 > Packages< / h1 > < ul > < li class = "indented0 " name = "_root_.root" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "_root_" > < / a > < a id = "root:_root_" > < / a > < span class = "permalink" > < a href = "../../../../index.html" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > < / span > < span class = "kind" > package< / span > < / span > < span class = "symbol" > < a href = "../../../../index.html" title = "" > < span class = "name" > root< / span > < / a > < / span > < div class = "fullcomment" > < dl class = "attributes block" > < dt > Definition Classes< / dt > < dd > < a href = "../../../../index.html" name = "_root_" id = "_root_" class = "extype" > root< / a > < / dd > < / dl > < / div > < / li > < li class = "indented1 " name = "_root_.net" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "net" > < / a > < a id = "net:net" > < / a > < span class = "permalink" > < a href = "../../../../net/index.html" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > < / span > < span class = "kind" > package< / span > < / span > < span class = "symbol" > < a href = "../../../index.html" title = "" > < span class = "name" > net< / span > < / a > < / span > < div class = "fullcomment" > < dl class = "attributes block" > < dt > Definition Classes< / dt > < dd > < a href = "../../../../index.html" name = "_root_" id = "_root_" class = "extype" > root< / a > < / dd > < / dl > < / div > < / li > < li class = "indented2 " name = "net.psforever" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "psforever" > < / a > < a id = "psforever:psforever" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/index.html" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > < / span > < span class = "kind" > package< / span > < / span > < span class = "symbol" > < a href = "../../index.html" title = "" > < span class = "name" > psforever< / span > < / a > < / span > < div class = "fullcomment" > < dl class = "attributes block" > < dt > Definition Classes< / dt > < dd > < a href = "../../../index.html" name = "net" id = "net" class = "extype" > net< / a > < / dd > < / dl > < / div > < / li > < li class = "indented3 " name = "net.psforever.objects" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "objects" > < / a > < a id = "objects:objects" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/objects/index.html" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > < / span > < span class = "kind" > package< / span > < / span > < span class = "symbol" > < a href = "../index.html" title = "" > < span class = "name" > objects< / span > < / a > < / span > < div class = "fullcomment" > < dl class = "attributes block" > < dt > Definition Classes< / dt > < dd > < a href = "../../index.html" name = "net.psforever" id = "net.psforever" class = "extype" > psforever< / a > < / dd > < / dl > < / div > < / li > < li class = "indented4 " name = "net.psforever.objects.geometry" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "geometry" > < / a > < a id = "geometry:geometry" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/objects/geometry/index.html" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > < / span > < span class = "kind" > package< / span > < / span > < span class = "symbol" > < a href = "index.html" title = "" > < span class = "name" > geometry< / span >
< / p > < / div > < dl class = "attributes block" > < dt > Source< / dt > < dd > < a href = "https://github.com/psforever/PSF-LoginServer/blob/master//home/runner/work/PSF-LoginServer/PSF-LoginServer/src/main/scala/net/psforever/objects/geometry/Geometry.scala" target = "_blank" > Geometry.scala< / a > < / dd > < / dl > < div class = "toggleContainer" > < div class = "toggle block" > < span > Linear Supertypes< / span > < div class = "superTypes hiddenContent" > < span name = "scala.AnyRef" class = "extype" > AnyRef< / span > , < span name = "scala.Any" class = "extype" > Any< / span > < / div > < / div > < / div > < / div > < div id = "mbrsel" > < div class = "toggle" > < / div > < div id = "memberfilter" > < i class = "material-icons arrow" > < / i > < span class = "input" > < input placeholder = "Filter all members" id = "mbrsel-input" type = "text" accesskey = "/" / > < / span > < i class = "clear material-icons" > < / i > < / div > < div id = "filterby" > < div id = "order" > < span class = "filtertype" > Ordering< / span > < ol > < li class = "alpha in" > < span > Alphabetic< / span > < / li > < li class = "inherit out" > < span > By Inheritance< / span > < / li > < / ol > < / div > < div class = "ancestors" > < span class = "filtertype" > Inherited< br / > < / span > < ol id = "linearization" > < li class = "in" name = "net.psforever.objects.geometry.Geometry" > < span > Geometry< / span > < / li > < li class = "in" name = "scala.AnyRef" > < span > AnyRef< / span > < / li > < li class = "in" name = "scala.Any" > < span > Any< / span > < / li > < / ol > < / div > < div class = "ancestors" > < span class = "filtertype" > < / span > < ol > < li class = "hideall out" > < span > Hide All< / span > < / li > < li class = "showall in" > < span > Show All< / span > < / li > < / ol > < / div > < div id = "visbl" > < span class = "filtertype" > Visibility< / span > < ol > < li class = "public in" > < span > Public< / span > < / li > < li class = "protected out" > < span > Protected< / span > < / li > < / ol > < / div > < / div > < / div > < div id = "template" > < div id = "allMembers" > < div class = "values members" > < h3 > Value Members< / h3 > < ol > < li class = "indented0 " name = "scala.AnyRef#!=" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "!=(x$1:Any):Boolean" > < / a > < a id = "!=(Any):Boolean" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/objects/geometry/Geometry$.html#!=(x$1:Any):Boolean" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > final < / span > < span class = "kind" > def< / span > < / span > < span class = "symbol" > < span class = "name" title = "gt4s: $bang$eq" > !=< / span > < span class = "params" > (< span name = "arg0" > arg0: < span name = "scala.Any" class = "extype" > Any< / span > < / span > )< / span > < span class = "result" > : < span name = "scala.Boolean" class = "extype" > Boolean< / span > < / span > < / span > < div class = "fullcomment" > < dl class = "attributes block" > < dt > Definition Classes< / dt > < dd > AnyRef → Any< / dd > < / dl > < / div > < / li > < li class = "indented0 " name = "scala.AnyRef###" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "##:Int" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/objects/geometry/Geometry$.html###:Int" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > final < / span > < span class = "kind" > def< / span > < / span > < span class = "symbol" > < span class = "name" title = "gt4s: $hash$hash" > ##< / span > < span class = "result" > : < span name = "scala.Int" class = "extype" > Int< / span > < / span > < / span > < div class = "fullcomment" > < dl class = "attributes block" > < dt > Definition Classes< / dt > < dd > AnyRef → Any< / dd > < / dl > < / div > < / li > < li class = "indented0 " name = "scala.AnyRef#==" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "==(x$1:Any):Boolean" > < / a > < a id = "==(Any):Boolean" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/objects/geometry/Geometry$.html#==(x$1:Any):Boolean" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > final < / span > < span class = "kind" > def< / span > < / span > < span class = "symbol" > < span class = "name" title = "gt4s: $eq$eq" > ==< / span > < span class = "params" > (< span name = "arg0" > arg0: < span name = "scala.Any" class = "extype" > Any< / span > < / span > )< / span > < span class = "result" > : < span name = "scala.Boolean" class = "extype" > Boolean< / span > < / span > < / span > < div class = "fullcomment" > < dl class = "attributes block" > < dt > Definition Classes< / dt > < dd > AnyRef → Any< / dd > < / dl > < /di
< code > false< / code > , otherwise< / p > < / dd > < / dl > < / div > < / li > < li class = "indented0 " name = "net.psforever.objects.geometry.Geometry#equalVectors" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "equalVectors(value1:net.psforever.types.Vector3,value2:net.psforever.types.Vector3,off:net.psforever.types.Vector3):Boolean" > < / a > < a id = "equalVectors(Vector3,Vector3,Vector3):Boolean" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/objects/geometry/Geometry$.html#equalVectors(value1:net.psforever.types.Vector3,value2:net.psforever.types.Vector3,off:net.psforever.types.Vector3):Boolean" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > < / span > < span class = "kind" > def< / span > < / span > < span class = "symbol" > < span class = "name" > equalVectors< / span > < span class = "params" > (< span name = "value1" > value1: < a href = "../../types/Vector3.html" name = "net.psforever.types.Vector3" id = "net.psforever.types.Vector3" class = "extype" > Vector3< / a > < / span > , < span name = "value2" > value2: < a href = "../../types/Vector3.html" name = "net.psforever.types.Vector3" id = "net.psforever.types.Vector3" class = "extype" > Vector3< / a > < / span > , < span name = "off" > off: < a href = "../../types/Vector3.html" name = "net.psforever.types.Vector3" id = "net.psforever.types.Vector3" class = "extype" > Vector3< / a > < / span > )< / span > < span class = "result" > : < span name = "scala.Boolean" class = "extype" > Boolean< / span > < / span > < / span > < p class = "shortcomment cmt" > Are two < code > Vector3< / code > entities equal enough to be considered equal?< / p > < div class = "fullcomment" > < div class = "comment cmt" > < p > Are two < code > Vector3< / code > entities equal enough to be considered equal?< / p > < / div > < dl class = "paramcmts block" > < dt class = "param" > value1< / dt > < dd class = "cmt" > < p > the first coordinate triple< / p > < / dd > < dt class = "param" > value2< / dt > < dd class = "cmt" > < p > the second coordinate triple< / p > < / dd > < dt class = "param" > off< / dt > < dd class = "cmt" > < p > how far each individual coordinate can be inequal from the other< / p > < / dd > < dt > returns< / dt > < dd class = "cmt" > < p > < code > true< / code > , if the two < code > Vector3< / code > entities are close enough to be considered equal;
< code > false< / code > , otherwise< / p > < / dd > < / dl > < dl class = "attributes block" > < dt > See also< / dt > < dd > < span class = "cmt" > < p > < code > equalFloats< / code > < / p > < / span > < / dd > < / dl > < / div > < / li > < li class = "indented0 " name = "net.psforever.objects.geometry.Geometry#equalVectors" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "equalVectors(value1:net.psforever.types.Vector3,value2:net.psforever.types.Vector3,off:Float):Boolean" > < / a > < a id = "equalVectors(Vector3,Vector3,Float):Boolean" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/objects/geometry/Geometry$.html#equalVectors(value1:net.psforever.types.Vector3,value2:net.psforever.types.Vector3,off:Float):Boolean" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > < / span > < span class = "kind" > def< / span > < / span > < span class = "symbol" > < span class = "name" > equalVectors< / span > < span class = "params" > (< span name = "value1" > value1: < a href = "../../types/Vector3.html" name = "net.psforever.types.Vector3" id = "net.psforever.types.Vector3" class = "extype" > Vector3< / a > < / span > , < span name = "value2" > value2: < a href = "../../types/Vector3.html" name = "net.psforever.types.Vector3" id = "net.psforever.types.Vector3" class = "extype" > Vector3< / a > < / span > , < span name = "off" > off: < span name = "scala.Float" class = "extype" > Float< / span > = < span class = "symbol" > 0.001f< / span > < / span > )< / span > < span class = "result" > : < span name = "scala.Boolean" class = "extype" > Boolean< / span > < / span > < / span > < p class = "shortcomment cmt" > Are two < code > Vector3< / code > entities equal enough to be considered equal?< / p > < div class = "fullcomment" > < div class = "comment cmt" > < p > Are two < code > Vector3< / code > entities equal enough to be considered equal?< / p > < / div > < dl class = "paramcmts block" > < dt class = "param" > value1< / dt > < dd class = "cmt" > < p > the first coordinate triple< / p > < / dd > < dt class = "param" > value2< / dt > < dd class = "cmt" > < p > the second coordinate triple< / p > < / dd > < dt class = "param" > off< / dt > < dd class = "cmt" > < p > how far any individual coordinate can be inequal from each other< / p > < / dd > < dt > returns< / dt > < dd class = "cmt" > < p > < code > true< / code > , if the two < code > Vector3< / code > entities are close enough to be considered equal;
< code > false< / code > , otherwise< / p > < / dd > < / dl > < dl class = "attributes block" > < dt > See also< / dt > < dd > < span class = "cmt" > < p > < code > equalFloats< / code > < / p > < / span > < / dd > < / dl > < / div > < / li > < li class = "indented0 " name = "scala.AnyRef#equals" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "equals(x$1:Object):Boolean" > < / a > < a id = "equals(AnyRef):Boolean" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/objects/geometry/Geometry$.html#equals(x$1:Object):Boolean" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > < / span > < span class = "kind" > def< / span > < / span > < span class = "symbol" > < span class = "name" > equals< / span > < span class = "params" > (< span name = "arg0" > arg0: < span name = "scala.AnyRef" class = "extype" > AnyRef< / span > < / span > )< / span > < span class = "result" > : < span name = "scala.Boolean" class = "extype" > Boolean< / span > < / span > < / span > < div class = "fullcomment" > < dl class = "attributes block" > < dt > Definition Classes< / dt > < dd > AnyRef → Any< / dd > < / dl > < / div > < / li > < li class = "indented0 " name = "scala.AnyRef#finalize" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "prt" > < a id = "finalize():Unit" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/objects/geometry/Geometry$.html#finalize():Unit" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > < / span > < span class = "kind" > def< / span > < / span > < span class = "symbol" > < span class = "name" > finalize< / span > < span class = "params" > ()< / span > < span class = "result" > : < span name = "scala.Unit" class = "extype" > Unit< / span > < / span > < / span > < div class = "fullcomment" > < dl class = "attributes block" > < dt > Attributes< / dt > < dd > protected[< span name = "java.lang" class = "extype" > lang< / span > ] < / dd > < dt > Definition Classes< / dt > < dd > AnyRef< / dd > < dt > Annotations< / dt > < dd > < span class = "name" > @throws< / span > < span class = "args" > (< span > < span class = "symbol" > classOf[java.lang.Throwable]< / span > < / span > )< / span > < / dd > < / dl > < / div > < / li > < li class = "indented0 " name = "scala.AnyRef#getClass" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "getClass():Class[_]" > < / a > < a id = "getClass():Class[_<:AnyRef]" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/objects/geometry/Geometry$.html#getClass():Class[_]" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > final < / span > < span class = "kind" > def< / span > < / span > < span class = "symbol" > < span class = "name" > getClass< / span > < span class = "params" > ()< / span > < span class = "result" > : < a href = "https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html#java.lang.Class" name = "java.lang.Class" id = "java.lang.Class" class = "extype" > Class< / a > [_ < : < span name = "scala.AnyRef" class = "extype" > AnyRef< / span > ]< / span > < / span > < div class = "fullcomment" > < dl class = "attributes block" > < dt > Definition Classes< / dt > < dd > AnyRef → Any< / dd > < dt > Annotations< / dt > < dd > < span class = "name" > @native< / span > < span class = "args" > ()< / span > < / dd > < / dl > < / div > < / li > < li class = "indented0 " name = "scala.AnyRef#hashCode" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "hashCode():Int" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/objects/geometry/Geometry$.html#hashCode():Int" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > < / span > < span class = "kind" > def< / span > < / span > < span class = "symbol" > < span class = "name" > hashCode< / span > < span class = "params" > ()< / span > < span class = "result" > : < span name = "scala.Int" class = "extype" > Int< / span > < / span > < / span > < div class = "fullcomment" > < dl class = "attributes block" > < dt > Definition Classes< / dt > < dd > AnyRef → Any< / dd > < dt > Annotations< / dt > < dd > < span class = "name" > @native< / span > < span class = "args" > ()< / span > < / dd > < / dl > < / div > < / li > < li class = "indented0 " name = "scala.Any#isInstanceOf" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "isInstanceOf[T0]:Boolean" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/objects/geometry/Geometry$.html#isInstanceOf[T0]:Boolean" title = "Permalink" > < i cla