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: 2
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
type Intersections interface {
Intersections(Line) []float64
}
Intersections with the given line, expressed as parametric values on the
line.
type Line struct {
T0 d3.Pt
D d3.V
}
Line in 3D space, invoked parametrically
New line defined by a starting and ending point so that l.Pt1(0)==start and
l.Pt1(1)==end.
AtX return the T value when the X coordinate of the line is at x.
AtY return the T value when the Y coordinate of the line is at y.
AtZ return the T value when the Z coordinate of the line is at z.
Closest returns the parametric points on both lines at the point they pass
closest to eachother
Pt1 returns a Pt on the line.
V1 always returns l.D, the slope of the line.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.