PSF-LoginServer/net/psforever/objects/geometry/d3/index.html

25 lines
35 KiB
HTML

<!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.d3</title><meta content="PSF - LoginServer - master - net.psforever.objects.geometry.d3" name="description"/><meta content="PSF LoginServer master net.psforever.objects.geometry.d3" 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">/* this variable can be used by the JS to determine the path to the root document */
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">&lt;</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_" class="anchorToMember"></a><a id="root:_root_" class="anchorToMember"></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" class="anchorToMember"></a><a id="net:net" class="anchorToMember"></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" class="anchorToMember"></a><a id="psforever:psforever" class="anchorToMember"></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" class="anchorToMember"></a><a id="objects:objects" class="anchorToMember"></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" class="anchorToMember"></a><a id="geometry:geometry" class="anchorToMember"></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></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../../index.html" name="net.psforever.objects" id="net.psforever.objects" class="extype">objects</a></dd></dl></div></li><li class="indented5 " name="net.psforever.objects.geometry.d2" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="d2" class="anchorToMember"></a><a id="d2:d2" class="anchorToMember"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/geometry/d2/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="../d2/index.html" title=""><span class="name">d2</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../index.html" name="net.psforever.objects.geometry" id="net.psforever.objects.geometry" class="extype">geometry</a></dd></dl></div></li><li class="indented5 current" name="net.psforever.objects.geometry.d3" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="d3" class="anchorToMember"></a><a id="d3:d3" class="anchorToMember"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/geometry/d3/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"><span class="name">d3</span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../index.html" name="net.psforever.objects.geometry" id="net.psforever.objects.geometry" class="extype">geometry</a></dd></dl></div></li><li class="current-entities indented5"><span class="separator"></span> <a href="Cuboid.html" title="Untested geometry." class="class"></a><a href="Cuboid.html" title="Untested geometry.">Cuboid</a></li><li class="current-entities indented5"><a href="Cylinder$.html" title="" class="object"></a> <a href="Cylinder.html" title="The instance of a volumetric region that encapsulates all points within a certain distance of a central point." class="class"></a><a href="Cylinder.html" title="The instance of a volumetric region that encapsulates all points within a certain distance of a central point.">Cylinder</a></li><li class="current-entities indented5"><span class="separator"></span> <a href="Geometry3D.html" title="Basic interface of all three-dimensional geometry." class="trait"></a><a href="Geometry3D.html" title="Basic interface of all three-dimensional geometry.">Geometry3D</a></li><li class="current-entities indented5"><a href="Line$.html" title="" class="object"></a> <a href="Line.html" title="The instance of a geometric coordinate position and a specific direction from that position." class="class"></a><a href="Line.html" title="The instance of a geometric coordinate position and a specific direction from that position.">Line</a></li><li class="current-entities indented5"><a href="Point$.html" title="" class="object"></a> <a href="Point.html" title="The instance of a minute geometric coordinate position in three-dimensional space." class="class"></a><a href="Point.html" title="The instance of a minute geometric coordinate position in three-dimensional space.">Point</a></li><li class="current-entities indented5"><a href="Ray$.html" title="" class="object"></a> <a href="Ray.html" title="The instance of a geometric coordinate position and a specific direction from that position." class="class"></a><a href="Ray.html" title="The instance of a geometric coordinate position and a specific direction from that position.">Ray</a></li><li class="current-entities indented5"><a href="Segment$.html" title="" class="object"></a> <a href="Segment.html" title="The instance of a limited span between two geometric coordinate positions, called &quot;endpoints&quot;." class="class"></a><a href="Segment.html" title="The instance of a limited span between two geometric coordinate positions, called &quot;endpoints&quot;.">Segment</a></li><li class="current-entities indented5"><a href="Sphere$.html" title="" class="object"></a> <a href="Sphere.html" title="The instance of a volumetric region that encapsulates all points within a certain distance of a central point." class="class"></a><a href="Sphere.html" title="The instance of a volumetric region that encapsulates all points within a certain distance of a central point.">Sphere</a></li><li class="current-entities indented5"><span class="separator"></span> <a href="VolumetricGeometry.html" title="" class="trait"></a><a href="VolumetricGeometry.html" title="">VolumetricGeometry</a></li></ul></div></div><div id="content"><body class="package value"><div id="definition"><div class="big-circle package">p</div><p id="owner"><a href="../../../../index.html" name="net" id="net" class="extype">net</a>.<a href="../../../index.html" name="net.psforever" id="net.psforever" class="extype">psforever</a>.<a href="../../index.html" name="net.psforever.objects" id="net.psforever.objects" class="extype">objects</a>.<a href="../index.html" name="net.psforever.objects.geometry" id="net.psforever.objects.geometry" class="extype">geometry</a></p><h1>d3<span class="permalink"><a href="../../../../../net/psforever/objects/geometry/d3/index.html" title="Permalink"><i class="material-icons"></i></a></span></h1></div><h4 id="signature" class="signature"><span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><span class="name">d3</span></span></h4><div id="comment" class="fullcommenttop"></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></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 id="types" class="types members"><h3>Type Members</h3><ol><li class="indented0 " name="net.psforever.objects.geometry.d3.Cuboid" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="CuboidextendsVolumetricGeometrywithProductwithSerializable" class="anchorToMember"></a><a id="Cuboid:Cuboid" class="anchorToMember"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/geometry/d3/Cuboid.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">case class</span></span> <span class="symbol"><a href="Cuboid.html" title="Untested geometry."><span class="name">Cuboid</span></a><span class="params">(<span name="p">p: <a href="Point.html" name="net.psforever.objects.geometry.d3.Point" id="net.psforever.objects.geometry.d3.Point" class="extype">Point</a></span>, <span name="relativeForward">relativeForward: <a href="../../../types/Vector3.html" name="net.psforever.types.Vector3" id="net.psforever.types.Vector3" class="extype">Vector3</a></span>, <span name="relativeUp">relativeUp: <a href="../../../types/Vector3.html" name="net.psforever.types.Vector3" id="net.psforever.types.Vector3" class="extype">Vector3</a></span>, <span name="length">length: <span name="scala.Float" class="extype">Float</span></span>, <span name="width">width: <span name="scala.Float" class="extype">Float</span></span>, <span name="height">height: <span name="scala.Float" class="extype">Float</span></span>)</span><span class="result"> extends <a href="VolumetricGeometry.html" name="net.psforever.objects.geometry.d3.VolumetricGeometry" id="net.psforever.objects.geometry.d3.VolumetricGeometry" class="extype">VolumetricGeometry</a> with <span name="scala.Product" class="extype">Product</span> with <span name="scala.Serializable" class="extype">Serializable</span></span></span><p class="shortcomment cmt">Untested geometry.</p><div class="fullcomment"><div class="comment cmt"><p>Untested geometry.</p></div><dl class="paramcmts block"><dt class="param">p</dt><dd class="cmt"><p>na</p></dd><dt class="param">relativeForward</dt><dd class="cmt"><p>na</p></dd><dt class="param">relativeUp</dt><dd class="cmt"><p>na</p></dd><dt class="param">length</dt><dd class="cmt"><p>na</p></dd><dt class="param">width</dt><dd class="cmt"><p>na</p></dd><dt class="param">height</dt><dd class="cmt"><p>na</p></dd></dl></div></li><li class="indented0 " name="net.psforever.objects.geometry.d3.Cylinder" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="CylinderextendsVolumetricGeometrywithProductwithSerializable" class="anchorToMember"></a><a id="Cylinder:Cylinder" class="anchorToMember"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/geometry/d3/Cylinder.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">case class</span></span> <span class="symbol"><a href="Cylinder.html" title="The instance of a volumetric region that encapsulates all points within a certain distance of a central point."><span class="name">Cylinder</span></a><span class="params">(<span name="p">p: <a href="Point.html" name="net.psforever.objects.geometry.d3.Point" id="net.psforever.objects.geometry.d3.Point" class="extype">Point</a></span>, <span name="relativeUp">relativeUp: <a href="../../../types/Vector3.html" name="net.psforever.types.Vector3" id="net.psforever.types.Vector3" class="extype">Vector3</a></span>, <span name="radius">radius: <span name="scala.Float" class="extype">Float</span></span>, <span name="height">height: <span name="scala.Float" class="extype">Float</span></span>)</span><span class="result"> extends <a href="VolumetricGeometry.html" name="net.psforever.objects.geometry.d3.VolumetricGeometry" id="net.psforever.objects.geometry.d3.VolumetricGeometry" class="extype">VolumetricGeometry</a> with <span name="scala.Product" class="extype">Product</span> with <span name="scala.Serializable" class="extype">Serializable</span></span></span><p class="shortcomment cmt">The instance of a volumetric region that encapsulates all points within a certain distance of a central point.</p><div class="fullcomment"><div class="comment cmt"><p>The instance of a volumetric region that encapsulates all points within a certain distance of a central point.
The region is characterized by a regular circular cross-section when observed from above or below
and a flat top and a flat base when viewed from the side.
The "base" is where the origin point is defined (at the center of a circular cross-section)
and the "top" is discovered a <code>height</code> from the base along what the cylinder considers its <code>relativeUp</code> direction.</p></div><dl class="paramcmts block"><dt class="param">p</dt><dd class="cmt"><p>the point</p></dd><dt class="param">relativeUp</dt><dd class="cmt"><p>what the cylinder considers its "up" direction</p></dd><dt class="param">radius</dt><dd class="cmt"><p>a distance expressed in all circular cross-sections along the <code>relativeUp</code> direction</p></dd><dt class="param">height</dt><dd class="cmt"><p>the distance between the "base" and the "top"</p></dd></dl></div></li><li class="indented0 " name="net.psforever.objects.geometry.d3.Geometry3D" group="Ungrouped" fullComment="yes" data-isabs="true" visbl="pub"><a id="Geometry3DextendsPrimitiveGeometry" class="anchorToMember"></a><a id="Geometry3D:Geometry3D" class="anchorToMember"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/geometry/d3/Geometry3D.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">trait</span></span> <span class="symbol"><a href="Geometry3D.html" title="Basic interface of all three-dimensional geometry."><span class="name">Geometry3D</span></a><span class="result"> extends <a href="../PrimitiveGeometry.html" name="net.psforever.objects.geometry.PrimitiveGeometry" id="net.psforever.objects.geometry.PrimitiveGeometry" class="extype">PrimitiveGeometry</a></span></span><p class="shortcomment cmt">Basic interface of all three-dimensional geometry.</p><div class="fullcomment"><div class="comment cmt"><p>Basic interface of all three-dimensional geometry.
For the only real requirement for a three-dimensional geometric figure is that it has three components of position
and an equal number of components demonstrating equal that said dimensionality.
</p></div></div></li><li class="indented0 " name="net.psforever.objects.geometry.d3.Line" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="LineextendsGeometry3DwithLinewithProductwithSerializable" class="anchorToMember"></a><a id="Line:Line" class="anchorToMember"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/geometry/d3/Line.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">case class</span></span> <span class="symbol"><a href="Line.html" title="The instance of a geometric coordinate position and a specific direction from that position."><span class="name">Line</span></a><span class="params">(<span name="p">p: <a href="Point.html" name="net.psforever.objects.geometry.d3.Point" id="net.psforever.objects.geometry.d3.Point" class="extype">Point</a></span>, <span name="d">d: <a href="../../../types/Vector3.html" name="net.psforever.types.Vector3" id="net.psforever.types.Vector3" class="extype">Vector3</a></span>)</span><span class="result"> extends <a href="Geometry3D.html" name="net.psforever.objects.geometry.d3.Geometry3D" id="net.psforever.objects.geometry.d3.Geometry3D" class="extype">Geometry3D</a> with <a href="../Line.html" name="net.psforever.objects.geometry.Line" id="net.psforever.objects.geometry.Line" class="extype">geometry.Line</a> with <span name="scala.Product" class="extype">Product</span> with <span name="scala.Serializable" class="extype">Serializable</span></span></span><p class="shortcomment cmt">The instance of a geometric coordinate position and a specific direction from that position.</p><div class="fullcomment"><div class="comment cmt"><p>The instance of a geometric coordinate position and a specific direction from that position.
Mathematical lines have infinite length and their slope is represented as a unit vector.
The point is merely a point used to assist in defining the line.</p></div><dl class="paramcmts block"><dt class="param">p</dt><dd class="cmt"><p>the point of origin</p></dd><dt class="param">d</dt><dd class="cmt"><p>the direction</p></dd></dl></div></li><li class="indented0 " name="net.psforever.objects.geometry.d3.Point" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="PointextendsVolumetricGeometrywithPointwithProductwithSerializable" class="anchorToMember"></a><a id="Point:Point" class="anchorToMember"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/geometry/d3/Point.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">case class</span></span> <span class="symbol"><a href="Point.html" title="The instance of a minute geometric coordinate position in three-dimensional space."><span class="name">Point</span></a><span class="params">(<span name="x">x: <span name="scala.Float" class="extype">Float</span></span>, <span name="y">y: <span name="scala.Float" class="extype">Float</span></span>, <span name="z">z: <span name="scala.Float" class="extype">Float</span></span>)</span><span class="result"> extends <a href="VolumetricGeometry.html" name="net.psforever.objects.geometry.d3.VolumetricGeometry" id="net.psforever.objects.geometry.d3.VolumetricGeometry" class="extype">VolumetricGeometry</a> with <a href="../Point.html" name="net.psforever.objects.geometry.Point" id="net.psforever.objects.geometry.Point" class="extype">geometry.Point</a> with <span name="scala.Product" class="extype">Product</span> with <span name="scala.Serializable" class="extype">Serializable</span></span></span><p class="shortcomment cmt">The instance of a minute geometric coordinate position in three-dimensional space.</p><div class="fullcomment"><div class="comment cmt"><p>The instance of a minute geometric coordinate position in three-dimensional space.
The point is allowed to substitute for a sphere of zero radius, hence why it is volumetric
(ignoring that a sphere of zero radius has no volume).</p></div><dl class="paramcmts block"><dt class="param">x</dt><dd class="cmt"><p>the 'x' coordinate of the position</p></dd><dt class="param">y</dt><dd class="cmt"><p>the 'y' coordinate of the position</p></dd><dt class="param">z</dt><dd class="cmt"><p>the 'z' coordinate of the position</p></dd></dl><dl class="attributes block"><dt>See also</dt><dd><span class="cmt"><p><code>Vector3</code></p></span></dd></dl></div></li><li class="indented0 " name="net.psforever.objects.geometry.d3.Ray" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="RayextendsGeometry3DwithLinewithProductwithSerializable" class="anchorToMember"></a><a id="Ray:Ray" class="anchorToMember"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/geometry/d3/Ray.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">case class</span></span> <span class="symbol"><a href="Ray.html" title="The instance of a geometric coordinate position and a specific direction from that position."><span class="name">Ray</span></a><span class="params">(<span name="p">p: <a href="Point.html" name="net.psforever.objects.geometry.d3.Point" id="net.psforever.objects.geometry.d3.Point" class="extype">Point</a></span>, <span name="d">d: <a href="../../../types/Vector3.html" name="net.psforever.types.Vector3" id="net.psforever.types.Vector3" class="extype">Vector3</a></span>)</span><span class="result"> extends <a href="Geometry3D.html" name="net.psforever.objects.geometry.d3.Geometry3D" id="net.psforever.objects.geometry.d3.Geometry3D" class="extype">Geometry3D</a> with <a href="../Line.html" name="net.psforever.objects.geometry.Line" id="net.psforever.objects.geometry.Line" class="extype">geometry.Line</a> with <span name="scala.Product" class="extype">Product</span> with <span name="scala.Serializable" class="extype">Serializable</span></span></span><p class="shortcomment cmt">The instance of a geometric coordinate position and a specific direction from that position.</p><div class="fullcomment"><div class="comment cmt"><p>The instance of a geometric coordinate position and a specific direction from that position.
Rays are like mathematical lines in that they have infinite length;
but, that infinite length is only expressed in a single direction,
rather than proceeding in both a direction and its opposite direction from a target point.
Infinity just be like that.
Additionally, the point is not merely any point on the ray used to assist defining it
and is instead considered the clearly-defined origin of the ray.</p></div><dl class="paramcmts block"><dt class="param">p</dt><dd class="cmt"><p>the point of origin</p></dd><dt class="param">d</dt><dd class="cmt"><p>the direction</p></dd></dl></div></li><li class="indented0 " name="net.psforever.objects.geometry.d3.Segment" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="SegmentextendsGeometry3DwithSegmentwithProductwithSerializable" class="anchorToMember"></a><a id="Segment:Segment" class="anchorToMember"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/geometry/d3/Segment.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">case class</span></span> <span class="symbol"><a href="Segment.html" title="The instance of a limited span between two geometric coordinate positions, called &quot;endpoints&quot;."><span class="name">Segment</span></a><span class="params">(<span name="p1">p1: <a href="Point.html" name="net.psforever.objects.geometry.d3.Point" id="net.psforever.objects.geometry.d3.Point" class="extype">Point</a></span>, <span name="p2">p2: <a href="Point.html" name="net.psforever.objects.geometry.d3.Point" id="net.psforever.objects.geometry.d3.Point" class="extype">Point</a></span>)</span><span class="result"> extends <a href="Geometry3D.html" name="net.psforever.objects.geometry.d3.Geometry3D" id="net.psforever.objects.geometry.d3.Geometry3D" class="extype">Geometry3D</a> with <a href="../Segment.html" name="net.psforever.objects.geometry.Segment" id="net.psforever.objects.geometry.Segment" class="extype">geometry.Segment</a> with <span name="scala.Product" class="extype">Product</span> with <span name="scala.Serializable" class="extype">Serializable</span></span></span><p class="shortcomment cmt">The instance of a limited span between two geometric coordinate positions, called "endpoints".</p><div class="fullcomment"><div class="comment cmt"><p>The instance of a limited span between two geometric coordinate positions, called "endpoints".
Unlike mathematical lines, slope is treated the same as the vector leading from one point to the other
and is the length of the segment.</p></div><dl class="paramcmts block"><dt class="param">p1</dt><dd class="cmt"><p>a point</p></dd><dt class="param">p2</dt><dd class="cmt"><p>another point</p></dd></dl></div></li><li class="indented0 " name="net.psforever.objects.geometry.d3.Sphere" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="SphereextendsVolumetricGeometrywithProductwithSerializable" class="anchorToMember"></a><a id="Sphere:Sphere" class="anchorToMember"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/geometry/d3/Sphere.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">case class</span></span> <span class="symbol"><a href="Sphere.html" title="The instance of a volumetric region that encapsulates all points within a certain distance of a central point."><span class="name">Sphere</span></a><span class="params">(<span name="p">p: <a href="Point.html" name="net.psforever.objects.geometry.d3.Point" id="net.psforever.objects.geometry.d3.Point" class="extype">Point</a></span>, <span name="radius">radius: <span name="scala.Float" class="extype">Float</span></span>)</span><span class="result"> extends <a href="VolumetricGeometry.html" name="net.psforever.objects.geometry.d3.VolumetricGeometry" id="net.psforever.objects.geometry.d3.VolumetricGeometry" class="extype">VolumetricGeometry</a> with <span name="scala.Product" class="extype">Product</span> with <span name="scala.Serializable" class="extype">Serializable</span></span></span><p class="shortcomment cmt">The instance of a volumetric region that encapsulates all points within a certain distance of a central point.</p><div class="fullcomment"><div class="comment cmt"><p>The instance of a volumetric region that encapsulates all points within a certain distance of a central point.
(That's what a sphere is.)
When described by its center point, a sphere has no distinct "top", "base", or "side";
all directions are described in the same way in reference to this center.
It can be considered having a "base" and other "faces" for the purposes of settling on a surface (the ground).</p></div><dl class="paramcmts block"><dt class="param">p</dt><dd class="cmt"><p>the point</p></dd><dt class="param">radius</dt><dd class="cmt"><p>a distance that spans all points in any direction from the central point</p></dd></dl></div></li><li class="indented0 " name="net.psforever.objects.geometry.d3.VolumetricGeometry" group="Ungrouped" fullComment="no" data-isabs="true" visbl="pub"><a id="VolumetricGeometryextendsGeometry3D" class="anchorToMember"></a><a id="VolumetricGeometry:VolumetricGeometry" class="anchorToMember"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/geometry/d3/VolumetricGeometry.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">trait</span></span> <span class="symbol"><a href="VolumetricGeometry.html" title=""><span class="name">VolumetricGeometry</span></a><span class="result"> extends <a href="Geometry3D.html" name="net.psforever.objects.geometry.d3.Geometry3D" id="net.psforever.objects.geometry.d3.Geometry3D" class="extype">Geometry3D</a></span></span></li></ol></div><div class="values members"><h3>Value Members</h3><ol><li class="indented0 " name="net.psforever.objects.geometry.d3.Cylinder" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="Cylinder" class="anchorToMember"></a><a id="Cylinder:Cylinder" class="anchorToMember"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/geometry/d3/Cylinder$.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">object</span></span> <span class="symbol"><a href="Cylinder$.html" title=""><span class="name">Cylinder</span></a><span class="result"> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html#java.io.Serializable" name="java.io.Serializable" id="java.io.Serializable" class="extype">Serializable</a></span></span></li><li class="indented0 " name="net.psforever.objects.geometry.d3.Line" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="Line" class="anchorToMember"></a><a id="Line:Line" class="anchorToMember"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/geometry/d3/Line$.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">object</span></span> <span class="symbol"><a href="Line$.html" title=""><span class="name">Line</span></a><span class="result"> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html#java.io.Serializable" name="java.io.Serializable" id="java.io.Serializable" class="extype">Serializable</a></span></span></li><li class="indented0 " name="net.psforever.objects.geometry.d3.Point" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="Point" class="anchorToMember"></a><a id="Point:Point" class="anchorToMember"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/geometry/d3/Point$.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">object</span></span> <span class="symbol"><a href="Point$.html" title=""><span class="name">Point</span></a><span class="result"> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html#java.io.Serializable" name="java.io.Serializable" id="java.io.Serializable" class="extype">Serializable</a></span></span></li><li class="indented0 " name="net.psforever.objects.geometry.d3.Ray" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="Ray" class="anchorToMember"></a><a id="Ray:Ray" class="anchorToMember"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/geometry/d3/Ray$.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">object</span></span> <span class="symbol"><a href="Ray$.html" title=""><span class="name">Ray</span></a><span class="result"> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html#java.io.Serializable" name="java.io.Serializable" id="java.io.Serializable" class="extype">Serializable</a></span></span></li><li class="indented0 " name="net.psforever.objects.geometry.d3.Segment" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="Segment" class="anchorToMember"></a><a id="Segment:Segment" class="anchorToMember"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/geometry/d3/Segment$.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">object</span></span> <span class="symbol"><a href="Segment$.html" title=""><span class="name">Segment</span></a><span class="result"> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html#java.io.Serializable" name="java.io.Serializable" id="java.io.Serializable" class="extype">Serializable</a></span></span></li><li class="indented0 " name="net.psforever.objects.geometry.d3.Sphere" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="Sphere" class="anchorToMember"></a><a id="Sphere:Sphere" class="anchorToMember"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/geometry/d3/Sphere$.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">object</span></span> <span class="symbol"><a href="Sphere$.html" title=""><span class="name">Sphere</span></a><span class="result"> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html#java.io.Serializable" name="java.io.Serializable" id="java.io.Serializable" class="extype">Serializable</a></span></span></li></ol></div></div><div id="inheritedMembers"></div><div id="groupedMembers"><div name="Ungrouped" class="group"><h3>Ungrouped</h3></div></div></div><div id="tooltip"></div><div id="footer"></div></body></div></div></div></body></html>