Discover Packages
github.com/adamcolton/geom
d3
solid
box
package
Version:
v0.0.0-...-9c88ebf
Opens a new window with list of versions in this module.
Published: Aug 31, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package box provids a 3D bounding box.
Box is defined by 2 points, a min and a max.
New creates a Box by finding the relative Min and Max across all the
coordinates given.
Add points to expand the bounds if necessary.
AssertEqual fulfills geomtest.AssertEqualizer. It will check if two boxes
are equal.
LineIntersection returns the lowest point on the line greater than 0 that
intersects the cube. If there is no intersection it will return -1 and false.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.