Documentation
¶
Index ¶
- func BowyerWatson(pointsDirty []vector2.Float64) modeling.Mesh
- func ConstrainedBowyerWatson(pointsDirty []vector2.Float64, constraints []Constraint) modeling.Mesh
- func SuperTriangle(points []vector2.Float64) []vector2.Float64
- type BowyerWatsonNode
- type Constraint
- type Edge
- type SortByXComponent
- type Triangle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConstrainedBowyerWatson ¶
func ConstrainedBowyerWatson(pointsDirty []vector2.Float64, constraints []Constraint) modeling.Mesh
Types ¶
type BowyerWatsonNode ¶ added in v0.25.0
type BowyerWatsonNode struct {
Points nodes.Output[[]vector2.Float64]
Constraints nodes.Output[[]vector2.Float64]
}
func (BowyerWatsonNode) Out ¶ added in v0.25.0
func (node BowyerWatsonNode) Out(out *nodes.StructOutput[modeling.Mesh])
type Constraint ¶
type Constraint struct {
// contains filtered or unexported fields
}
func NewConstraint ¶
func NewConstraint(shape []vector2.Float64) Constraint
type SortByXComponent ¶
func (SortByXComponent) Len ¶
func (a SortByXComponent) Len() int
func (SortByXComponent) Less ¶
func (a SortByXComponent) Less(i, j int) bool
func (SortByXComponent) Swap ¶
func (a SortByXComponent) Swap(i, j int)
type Triangle ¶
type Triangle [3]int
func (Triangle) CounterClockwise ¶
func (Triangle) InsideCircumcircle ¶
Click to show internal directories.
Click to hide internal directories.