Documentation
¶
Overview ¶
Package pointrange holds distributions that accept and return 3d points
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Constant ¶
Constant implements Range as a poll which always returns the same floatgeom.Point3eger.
func (Constant) EnforceRange ¶
EnforceRange on a constant must return the constant
type Range ¶
type Range interface { Poll() floatgeom.Point3 // Mult(float64, float64, float64) Range InRange(floatgeom.Point3) bool EnforceRange(floatgeom.Point3) floatgeom.Point3 }
Range represents the ability to poll a struct and return an integer, distributed over some range dependant on the implementing struct.
func NewConstant ¶
NewConstant returns a range which will always return the input constant
Click to show internal directories.
Click to hide internal directories.