Documentation
¶
Index ¶
- Variables
- type Check
- type EDefinition
- type LabeledPoint
- type Phenix
- type PointBag
- func (pb *PointBag) LabeledPoint(lbl string) LabeledPoint
- func (pb *PointBag) LabeledPoints(lbls ...string) []LabeledPoint
- func (pb *PointBag) NewCheck(debug bool, defs ...string) Check
- func (pb *PointBag) NewEDefinition(desc string) (edef EDefinition)
- func (pb *PointBag) NewPhenix(name string, checkFn func(*PointBag) []Check) *Phenix
Constants ¶
This section is empty.
Variables ¶
View Source
var ToggleDebug func()
Functions ¶
This section is empty.
Types ¶
type Check ¶
type Check struct {
Debug bool
// contains filtered or unexported fields
}
func NewCheck ¶
func NewCheck(debug bool, edges ...EDefinition) Check
type EDefinition ¶
type EDefinition struct {
Name string
Points []LabeledPoint
BaseName string
Ops []quadedge.Operation
// contains filtered or unexported fields
}
type LabeledPoint ¶
type Phenix ¶
type Phenix struct {
Name string
Line int
Filename string
Subdivision *subdivision.Subdivision
TriangleEdge [3]*quadedge.Edge
TrianglePoints [3]geom.Point
Points []geom.Point
Checks []Check
Order winding.Order
VerifyCheckCount bool
}
type PointBag ¶
func (*PointBag) LabeledPoint ¶
func (pb *PointBag) LabeledPoint(lbl string) LabeledPoint
func (*PointBag) LabeledPoints ¶
func (pb *PointBag) LabeledPoints(lbls ...string) []LabeledPoint
func (*PointBag) NewEDefinition ¶
func (pb *PointBag) NewEDefinition(desc string) (edef EDefinition)
Click to show internal directories.
Click to hide internal directories.