tinyspline

package module
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const TS_DOMAIN_DEFAULT_MAX float64 = 1.0
View Source
const TS_DOMAIN_DEFAULT_MIN float64 = 0.0
View Source
const TS_KNOT_EPSILON float64 = 1e-4
View Source
const TS_LENGTH_ZERO float64 = 1e-4
View Source
const TS_MAX_NUM_KNOTS int = 10000
View Source
const TS_PI float64 = 3.14159265358979323846
View Source
const TS_POINT_EPSILON float64 = 1e-5

Variables

View Source
var Swig_escape_always_false bool
View Source
var Swig_escape_val interface{}

Functions

func BSplineKnotsEqual

func BSplineKnotsEqual(arg1 float64, arg2 float64) (_swig_ret bool)

func DeleteBSpline

func DeleteBSpline(arg1 BSpline)

func DeleteChordLengths added in v0.6.0

func DeleteChordLengths(arg1 ChordLengths)

func DeleteDeBoorNet

func DeleteDeBoorNet(arg1 DeBoorNet)

func DeleteDomain

func DeleteDomain(arg1 Domain)

func DeleteFrame

func DeleteFrame(arg1 Frame)

func DeleteFrameSeq

func DeleteFrameSeq(arg1 FrameSeq)

func DeleteMorphism

func DeleteMorphism(arg1 Morphism)

func DeleteVec2

func DeleteVec2(arg1 Vec2)

func DeleteVec3

func DeleteVec3(arg1 Vec3)

func DeleteVec4

func DeleteVec4(arg1 Vec4)

func Swig_free

func Swig_free(arg1 uintptr)

func Swig_malloc

func Swig_malloc(arg1 int) (_swig_ret uintptr)

Types

type BSpline

type BSpline interface {
	Swigcptr() uintptr
	SwigIsBSpline()
	ControlPointVec2At(arg2 int) (_swig_ret Vec2)
	ControlPointVec3At(arg2 int) (_swig_ret Vec3)
	ControlPointVec4At(arg2 int) (_swig_ret Vec4)
	KnotAt(arg2 int) (_swig_ret float64)
	Eval(arg2 float64) (_swig_ret DeBoorNet)
	EvalAll(arg2 []float64) (_swig_ret []float64)
	Sample(a ...interface{}) []float64
	Bisect(a ...interface{}) DeBoorNet
	IsClosed(a ...interface{}) bool
	ComputeRMF(a ...interface{}) FrameSeq
	SubSpline(arg2 float64, arg3 float64) (_swig_ret BSpline)
	UniformKnotSeq(a ...interface{}) []float64
	EquidistantKnotSeq(a ...interface{}) []float64
	ChordLengths(a ...interface{}) ChordLengths
	ToJson() (_swig_ret string)
	Save(arg2 string)
	SetControlPointVec2At(arg2 int, arg3 Vec2)
	SetControlPointVec3At(arg2 int, arg3 Vec3)
	SetControlPointVec4At(arg2 int, arg3 Vec4)
	SetKnotAt(arg2 int, arg3 float64)
	InsertKnot(arg2 float64, arg3 int) (_swig_ret BSpline)
	Split(arg2 float64) (_swig_ret BSpline)
	Tension(arg2 float64) (_swig_ret BSpline)
	ToBeziers() (_swig_ret BSpline)
	Derive(a ...interface{}) BSpline
	ElevateDegree(a ...interface{}) BSpline
	AlignWith(a ...interface{}) BSpline
	MorphTo(a ...interface{}) Morphism
	String() (_swig_ret string)
	GetDegree() (_swig_ret int)
	GetOrder() (_swig_ret int)
	GetDimension() (_swig_ret int)
	GetNumControlPoints() (_swig_ret int)
	GetDomain() (_swig_ret Domain)
	SetControlPoints(arg2 []float64)
	GetControlPoints() (_swig_ret []float64)
	SetKnots(arg2 []float64)
	GetKnots() (_swig_ret []float64)
}

func BSplineInterpolateCatmullRom

func BSplineInterpolateCatmullRom(a ...interface{}) BSpline

func BSplineInterpolateCatmullRom__SWIG_0

func BSplineInterpolateCatmullRom__SWIG_0(arg1 []float64, arg2 int, arg3 float64, arg4 []float64, arg5 []float64, arg6 float64) (_swig_ret BSpline)

func BSplineInterpolateCatmullRom__SWIG_1

func BSplineInterpolateCatmullRom__SWIG_1(arg1 []float64, arg2 int, arg3 float64, arg4 []float64, arg5 []float64) (_swig_ret BSpline)

func BSplineInterpolateCatmullRom__SWIG_2

func BSplineInterpolateCatmullRom__SWIG_2(arg1 []float64, arg2 int, arg3 float64, arg4 []float64) (_swig_ret BSpline)

func BSplineInterpolateCatmullRom__SWIG_3

func BSplineInterpolateCatmullRom__SWIG_3(arg1 []float64, arg2 int, arg3 float64) (_swig_ret BSpline)

func BSplineInterpolateCatmullRom__SWIG_4

func BSplineInterpolateCatmullRom__SWIG_4(arg1 []float64, arg2 int) (_swig_ret BSpline)

func BSplineInterpolateCubicNatural

func BSplineInterpolateCubicNatural(arg1 []float64, arg2 int) (_swig_ret BSpline)

func BSplineLoad

func BSplineLoad(arg1 string) (_swig_ret BSpline)

func BSplineParseJson

func BSplineParseJson(arg1 string) (_swig_ret BSpline)

func NewBSpline

func NewBSpline(a ...interface{}) BSpline

func NewBSpline__SWIG_0

func NewBSpline__SWIG_0() (_swig_ret BSpline)

func NewBSpline__SWIG_1

func NewBSpline__SWIG_1(arg1 BSpline) (_swig_ret BSpline)

func NewBSpline__SWIG_2

func NewBSpline__SWIG_2(arg1 int, arg2 int, arg3 int, arg4 TinysplineBSplineType) (_swig_ret BSpline)

func NewBSpline__SWIG_3

func NewBSpline__SWIG_3(arg1 int, arg2 int, arg3 int) (_swig_ret BSpline)

func NewBSpline__SWIG_4

func NewBSpline__SWIG_4(arg1 int, arg2 int) (_swig_ret BSpline)

func NewBSpline__SWIG_5

func NewBSpline__SWIG_5(arg1 int) (_swig_ret BSpline)

type ChordLengths added in v0.6.0

type ChordLengths interface {
	Swigcptr() uintptr
	SwigIsChordLengths()
	Size() (_swig_ret int)
	ArcLength() (_swig_ret float64)
	LengthToKnot(arg2 float64) (_swig_ret float64)
	TToKnot(arg2 float64) (_swig_ret float64)
	String() (_swig_ret string)
	GetSpline() (_swig_ret BSpline)
	GetKnots() (_swig_ret []float64)
	GetValues() (_swig_ret []float64)
}

func NewChordLengths added in v0.6.0

func NewChordLengths(a ...interface{}) ChordLengths

func NewChordLengths__SWIG_0 added in v0.6.0

func NewChordLengths__SWIG_0() (_swig_ret ChordLengths)

func NewChordLengths__SWIG_1 added in v0.6.0

func NewChordLengths__SWIG_1(arg1 ChordLengths) (_swig_ret ChordLengths)

type DeBoorNet

type DeBoorNet interface {
	Swigcptr() uintptr
	SwigIsDeBoorNet()
	ResultVec2(a ...interface{}) Vec2
	ResultVec3(a ...interface{}) Vec3
	ResultVec4(a ...interface{}) Vec4
	String() (_swig_ret string)
	GetKnot() (_swig_ret float64)
	GetIndex() (_swig_ret int)
	GetMultiplicity() (_swig_ret int)
	GetNumInsertions() (_swig_ret int)
	GetDimension() (_swig_ret int)
	GetPoints() (_swig_ret []float64)
	GetResult() (_swig_ret []float64)
}

func NewDeBoorNet

func NewDeBoorNet(arg1 DeBoorNet) (_swig_ret DeBoorNet)

type Domain

type Domain interface {
	Swigcptr() uintptr
	SwigIsDomain()
	String() (_swig_ret string)
	GetMin() (_swig_ret float64)
	GetMax() (_swig_ret float64)
}

func NewDomain

func NewDomain(arg1 float64, arg2 float64) (_swig_ret Domain)

type Frame

type Frame interface {
	Swigcptr() uintptr
	SwigIsFrame()
	String() (_swig_ret string)
	GetPosition() (_swig_ret Vec3)
	GetTangent() (_swig_ret Vec3)
	GetNormal() (_swig_ret Vec3)
	GetBinormal() (_swig_ret Vec3)
}

func NewFrame

func NewFrame(arg1 Vec3, arg2 Vec3, arg3 Vec3, arg4 Vec3) (_swig_ret Frame)

type FrameSeq

type FrameSeq interface {
	Swigcptr() uintptr
	SwigIsFrameSeq()
	Size() (_swig_ret int)
	At(arg2 int) (_swig_ret Frame)
	String() (_swig_ret string)
}

func NewFrameSeq

func NewFrameSeq(a ...interface{}) FrameSeq

func NewFrameSeq__SWIG_0

func NewFrameSeq__SWIG_0() (_swig_ret FrameSeq)

func NewFrameSeq__SWIG_1

func NewFrameSeq__SWIG_1(arg1 FrameSeq) (_swig_ret FrameSeq)

type Morphism

type Morphism interface {
	Swigcptr() uintptr
	SwigIsMorphism()
	Eval(arg2 float64) (_swig_ret BSpline)
	String() (_swig_ret string)
	GetOrigin() (_swig_ret BSpline)
	GetTarget() (_swig_ret BSpline)
	GetEpsilon() (_swig_ret float64)
}

func NewMorphism

func NewMorphism(a ...interface{}) Morphism

func NewMorphism__SWIG_0

func NewMorphism__SWIG_0(arg1 BSpline, arg2 BSpline, arg3 float64) (_swig_ret Morphism)

func NewMorphism__SWIG_1

func NewMorphism__SWIG_1(arg1 BSpline, arg2 BSpline) (_swig_ret Morphism)

type Std_vector_Sl_double_Sg_ added in v0.6.0

type Std_vector_Sl_double_Sg_ interface {
	Swigcptr() uintptr
}

type SwigcptrBSpline

type SwigcptrBSpline uintptr

func (SwigcptrBSpline) AlignWith

func (p SwigcptrBSpline) AlignWith(a ...interface{}) BSpline

func (SwigcptrBSpline) AlignWith__SWIG_0

func (arg1 SwigcptrBSpline) AlignWith__SWIG_0(arg2 BSpline, arg3 BSpline, arg4 float64) (_swig_ret BSpline)

func (SwigcptrBSpline) AlignWith__SWIG_1

func (arg1 SwigcptrBSpline) AlignWith__SWIG_1(arg2 BSpline, arg3 BSpline) (_swig_ret BSpline)

func (SwigcptrBSpline) Bisect

func (p SwigcptrBSpline) Bisect(a ...interface{}) DeBoorNet

func (SwigcptrBSpline) Bisect__SWIG_0

func (arg1 SwigcptrBSpline) Bisect__SWIG_0(arg2 float64, arg3 float64, arg4 bool, arg5 int, arg6 bool, arg7 int) (_swig_ret DeBoorNet)

func (SwigcptrBSpline) Bisect__SWIG_1

func (arg1 SwigcptrBSpline) Bisect__SWIG_1(arg2 float64, arg3 float64, arg4 bool, arg5 int, arg6 bool) (_swig_ret DeBoorNet)

func (SwigcptrBSpline) Bisect__SWIG_2

func (arg1 SwigcptrBSpline) Bisect__SWIG_2(arg2 float64, arg3 float64, arg4 bool, arg5 int) (_swig_ret DeBoorNet)

func (SwigcptrBSpline) Bisect__SWIG_3

func (arg1 SwigcptrBSpline) Bisect__SWIG_3(arg2 float64, arg3 float64, arg4 bool) (_swig_ret DeBoorNet)

func (SwigcptrBSpline) Bisect__SWIG_4

func (arg1 SwigcptrBSpline) Bisect__SWIG_4(arg2 float64, arg3 float64) (_swig_ret DeBoorNet)

func (SwigcptrBSpline) Bisect__SWIG_5

func (arg1 SwigcptrBSpline) Bisect__SWIG_5(arg2 float64) (_swig_ret DeBoorNet)

func (SwigcptrBSpline) ChordLengths added in v0.6.0

func (p SwigcptrBSpline) ChordLengths(a ...interface{}) ChordLengths

func (SwigcptrBSpline) ChordLengths__SWIG_0 added in v0.6.0

func (arg1 SwigcptrBSpline) ChordLengths__SWIG_0(arg2 []float64) (_swig_ret ChordLengths)

func (SwigcptrBSpline) ChordLengths__SWIG_1 added in v0.6.0

func (arg1 SwigcptrBSpline) ChordLengths__SWIG_1(arg2 int) (_swig_ret ChordLengths)

func (SwigcptrBSpline) ChordLengths__SWIG_2 added in v0.6.0

func (arg1 SwigcptrBSpline) ChordLengths__SWIG_2() (_swig_ret ChordLengths)

func (SwigcptrBSpline) ComputeRMF

func (p SwigcptrBSpline) ComputeRMF(a ...interface{}) FrameSeq

func (SwigcptrBSpline) ComputeRMF__SWIG_0

func (arg1 SwigcptrBSpline) ComputeRMF__SWIG_0(arg2 []float64, arg3 Vec3) (_swig_ret FrameSeq)

func (SwigcptrBSpline) ComputeRMF__SWIG_1

func (arg1 SwigcptrBSpline) ComputeRMF__SWIG_1(arg2 []float64) (_swig_ret FrameSeq)

func (SwigcptrBSpline) ControlPointVec2At

func (arg1 SwigcptrBSpline) ControlPointVec2At(arg2 int) (_swig_ret Vec2)

func (SwigcptrBSpline) ControlPointVec3At

func (arg1 SwigcptrBSpline) ControlPointVec3At(arg2 int) (_swig_ret Vec3)

func (SwigcptrBSpline) ControlPointVec4At

func (arg1 SwigcptrBSpline) ControlPointVec4At(arg2 int) (_swig_ret Vec4)

func (SwigcptrBSpline) Derive

func (p SwigcptrBSpline) Derive(a ...interface{}) BSpline

func (SwigcptrBSpline) Derive__SWIG_0

func (arg1 SwigcptrBSpline) Derive__SWIG_0(arg2 int, arg3 float64) (_swig_ret BSpline)

func (SwigcptrBSpline) Derive__SWIG_1

func (arg1 SwigcptrBSpline) Derive__SWIG_1(arg2 int) (_swig_ret BSpline)

func (SwigcptrBSpline) Derive__SWIG_2

func (arg1 SwigcptrBSpline) Derive__SWIG_2() (_swig_ret BSpline)

func (SwigcptrBSpline) ElevateDegree

func (p SwigcptrBSpline) ElevateDegree(a ...interface{}) BSpline

func (SwigcptrBSpline) ElevateDegree__SWIG_0

func (arg1 SwigcptrBSpline) ElevateDegree__SWIG_0(arg2 int, arg3 float64) (_swig_ret BSpline)

func (SwigcptrBSpline) ElevateDegree__SWIG_1

func (arg1 SwigcptrBSpline) ElevateDegree__SWIG_1(arg2 int) (_swig_ret BSpline)

func (SwigcptrBSpline) EquidistantKnotSeq added in v0.6.0

func (p SwigcptrBSpline) EquidistantKnotSeq(a ...interface{}) []float64

func (SwigcptrBSpline) EquidistantKnotSeq__SWIG_0 added in v0.6.0

func (arg1 SwigcptrBSpline) EquidistantKnotSeq__SWIG_0(arg2 int, arg3 int) (_swig_ret []float64)

func (SwigcptrBSpline) EquidistantKnotSeq__SWIG_1 added in v0.6.0

func (arg1 SwigcptrBSpline) EquidistantKnotSeq__SWIG_1(arg2 int) (_swig_ret []float64)

func (SwigcptrBSpline) EquidistantKnotSeq__SWIG_2 added in v0.6.0

func (arg1 SwigcptrBSpline) EquidistantKnotSeq__SWIG_2() (_swig_ret []float64)

func (SwigcptrBSpline) Eval

func (arg1 SwigcptrBSpline) Eval(arg2 float64) (_swig_ret DeBoorNet)

func (SwigcptrBSpline) EvalAll

func (arg1 SwigcptrBSpline) EvalAll(arg2 []float64) (_swig_ret []float64)

func (SwigcptrBSpline) GetControlPoints

func (arg1 SwigcptrBSpline) GetControlPoints() (_swig_ret []float64)

func (SwigcptrBSpline) GetDegree

func (arg1 SwigcptrBSpline) GetDegree() (_swig_ret int)

func (SwigcptrBSpline) GetDimension

func (arg1 SwigcptrBSpline) GetDimension() (_swig_ret int)

func (SwigcptrBSpline) GetDomain

func (arg1 SwigcptrBSpline) GetDomain() (_swig_ret Domain)

func (SwigcptrBSpline) GetKnots

func (arg1 SwigcptrBSpline) GetKnots() (_swig_ret []float64)

func (SwigcptrBSpline) GetNumControlPoints

func (arg1 SwigcptrBSpline) GetNumControlPoints() (_swig_ret int)

func (SwigcptrBSpline) GetOrder

func (arg1 SwigcptrBSpline) GetOrder() (_swig_ret int)

func (SwigcptrBSpline) InsertKnot

func (arg1 SwigcptrBSpline) InsertKnot(arg2 float64, arg3 int) (_swig_ret BSpline)

func (SwigcptrBSpline) IsClosed

func (p SwigcptrBSpline) IsClosed(a ...interface{}) bool

func (SwigcptrBSpline) IsClosed__SWIG_0

func (arg1 SwigcptrBSpline) IsClosed__SWIG_0(arg2 float64) (_swig_ret bool)

func (SwigcptrBSpline) IsClosed__SWIG_1

func (arg1 SwigcptrBSpline) IsClosed__SWIG_1() (_swig_ret bool)

func (SwigcptrBSpline) KnotAt

func (arg1 SwigcptrBSpline) KnotAt(arg2 int) (_swig_ret float64)

func (SwigcptrBSpline) MorphTo

func (p SwigcptrBSpline) MorphTo(a ...interface{}) Morphism

func (SwigcptrBSpline) MorphTo__SWIG_0

func (arg1 SwigcptrBSpline) MorphTo__SWIG_0(arg2 BSpline, arg3 float64) (_swig_ret Morphism)

func (SwigcptrBSpline) MorphTo__SWIG_1

func (arg1 SwigcptrBSpline) MorphTo__SWIG_1(arg2 BSpline) (_swig_ret Morphism)

func (SwigcptrBSpline) Sample

func (p SwigcptrBSpline) Sample(a ...interface{}) []float64

func (SwigcptrBSpline) Sample__SWIG_0

func (arg1 SwigcptrBSpline) Sample__SWIG_0(arg2 int) (_swig_ret []float64)

func (SwigcptrBSpline) Sample__SWIG_1

func (arg1 SwigcptrBSpline) Sample__SWIG_1() (_swig_ret []float64)

func (SwigcptrBSpline) Save

func (arg1 SwigcptrBSpline) Save(arg2 string)

func (SwigcptrBSpline) SetControlPointVec2At

func (arg1 SwigcptrBSpline) SetControlPointVec2At(arg2 int, arg3 Vec2)

func (SwigcptrBSpline) SetControlPointVec3At

func (arg1 SwigcptrBSpline) SetControlPointVec3At(arg2 int, arg3 Vec3)

func (SwigcptrBSpline) SetControlPointVec4At

func (arg1 SwigcptrBSpline) SetControlPointVec4At(arg2 int, arg3 Vec4)

func (SwigcptrBSpline) SetControlPoints

func (arg1 SwigcptrBSpline) SetControlPoints(arg2 []float64)

func (SwigcptrBSpline) SetKnotAt

func (arg1 SwigcptrBSpline) SetKnotAt(arg2 int, arg3 float64)

func (SwigcptrBSpline) SetKnots

func (arg1 SwigcptrBSpline) SetKnots(arg2 []float64)

func (SwigcptrBSpline) Split

func (arg1 SwigcptrBSpline) Split(arg2 float64) (_swig_ret BSpline)

func (SwigcptrBSpline) String

func (arg1 SwigcptrBSpline) String() (_swig_ret string)

func (SwigcptrBSpline) SubSpline added in v0.6.0

func (arg1 SwigcptrBSpline) SubSpline(arg2 float64, arg3 float64) (_swig_ret BSpline)

func (SwigcptrBSpline) SwigIsBSpline

func (p SwigcptrBSpline) SwigIsBSpline()

func (SwigcptrBSpline) Swigcptr

func (p SwigcptrBSpline) Swigcptr() uintptr

func (SwigcptrBSpline) Tension

func (arg1 SwigcptrBSpline) Tension(arg2 float64) (_swig_ret BSpline)

func (SwigcptrBSpline) ToBeziers

func (arg1 SwigcptrBSpline) ToBeziers() (_swig_ret BSpline)

func (SwigcptrBSpline) ToJson

func (arg1 SwigcptrBSpline) ToJson() (_swig_ret string)

func (SwigcptrBSpline) UniformKnotSeq

func (p SwigcptrBSpline) UniformKnotSeq(a ...interface{}) []float64

func (SwigcptrBSpline) UniformKnotSeq__SWIG_0

func (arg1 SwigcptrBSpline) UniformKnotSeq__SWIG_0(arg2 int) (_swig_ret []float64)

func (SwigcptrBSpline) UniformKnotSeq__SWIG_1

func (arg1 SwigcptrBSpline) UniformKnotSeq__SWIG_1() (_swig_ret []float64)

type SwigcptrChordLengths added in v0.6.0

type SwigcptrChordLengths uintptr

func (SwigcptrChordLengths) ArcLength added in v0.6.0

func (arg1 SwigcptrChordLengths) ArcLength() (_swig_ret float64)

func (SwigcptrChordLengths) GetKnots added in v0.6.0

func (arg1 SwigcptrChordLengths) GetKnots() (_swig_ret []float64)

func (SwigcptrChordLengths) GetSpline added in v0.6.0

func (arg1 SwigcptrChordLengths) GetSpline() (_swig_ret BSpline)

func (SwigcptrChordLengths) GetValues added in v0.6.0

func (arg1 SwigcptrChordLengths) GetValues() (_swig_ret []float64)

func (SwigcptrChordLengths) LengthToKnot added in v0.6.0

func (arg1 SwigcptrChordLengths) LengthToKnot(arg2 float64) (_swig_ret float64)

func (SwigcptrChordLengths) Size added in v0.6.0

func (arg1 SwigcptrChordLengths) Size() (_swig_ret int)

func (SwigcptrChordLengths) String added in v0.6.0

func (arg1 SwigcptrChordLengths) String() (_swig_ret string)

func (SwigcptrChordLengths) SwigIsChordLengths added in v0.6.0

func (p SwigcptrChordLengths) SwigIsChordLengths()

func (SwigcptrChordLengths) Swigcptr added in v0.6.0

func (p SwigcptrChordLengths) Swigcptr() uintptr

func (SwigcptrChordLengths) TToKnot added in v0.6.0

func (arg1 SwigcptrChordLengths) TToKnot(arg2 float64) (_swig_ret float64)

type SwigcptrDeBoorNet

type SwigcptrDeBoorNet uintptr

func (SwigcptrDeBoorNet) GetDimension

func (arg1 SwigcptrDeBoorNet) GetDimension() (_swig_ret int)

func (SwigcptrDeBoorNet) GetIndex

func (arg1 SwigcptrDeBoorNet) GetIndex() (_swig_ret int)

func (SwigcptrDeBoorNet) GetKnot

func (arg1 SwigcptrDeBoorNet) GetKnot() (_swig_ret float64)

func (SwigcptrDeBoorNet) GetMultiplicity

func (arg1 SwigcptrDeBoorNet) GetMultiplicity() (_swig_ret int)

func (SwigcptrDeBoorNet) GetNumInsertions

func (arg1 SwigcptrDeBoorNet) GetNumInsertions() (_swig_ret int)

func (SwigcptrDeBoorNet) GetPoints

func (arg1 SwigcptrDeBoorNet) GetPoints() (_swig_ret []float64)

func (SwigcptrDeBoorNet) GetResult

func (arg1 SwigcptrDeBoorNet) GetResult() (_swig_ret []float64)

func (SwigcptrDeBoorNet) ResultVec2

func (p SwigcptrDeBoorNet) ResultVec2(a ...interface{}) Vec2

func (SwigcptrDeBoorNet) ResultVec2__SWIG_0

func (arg1 SwigcptrDeBoorNet) ResultVec2__SWIG_0(arg2 int) (_swig_ret Vec2)

func (SwigcptrDeBoorNet) ResultVec2__SWIG_1

func (arg1 SwigcptrDeBoorNet) ResultVec2__SWIG_1() (_swig_ret Vec2)

func (SwigcptrDeBoorNet) ResultVec3

func (p SwigcptrDeBoorNet) ResultVec3(a ...interface{}) Vec3

func (SwigcptrDeBoorNet) ResultVec3__SWIG_0

func (arg1 SwigcptrDeBoorNet) ResultVec3__SWIG_0(arg2 int) (_swig_ret Vec3)

func (SwigcptrDeBoorNet) ResultVec3__SWIG_1

func (arg1 SwigcptrDeBoorNet) ResultVec3__SWIG_1() (_swig_ret Vec3)

func (SwigcptrDeBoorNet) ResultVec4

func (p SwigcptrDeBoorNet) ResultVec4(a ...interface{}) Vec4

func (SwigcptrDeBoorNet) ResultVec4__SWIG_0

func (arg1 SwigcptrDeBoorNet) ResultVec4__SWIG_0(arg2 int) (_swig_ret Vec4)

func (SwigcptrDeBoorNet) ResultVec4__SWIG_1

func (arg1 SwigcptrDeBoorNet) ResultVec4__SWIG_1() (_swig_ret Vec4)

func (SwigcptrDeBoorNet) String

func (arg1 SwigcptrDeBoorNet) String() (_swig_ret string)

func (SwigcptrDeBoorNet) SwigIsDeBoorNet

func (p SwigcptrDeBoorNet) SwigIsDeBoorNet()

func (SwigcptrDeBoorNet) Swigcptr

func (p SwigcptrDeBoorNet) Swigcptr() uintptr

type SwigcptrDomain

type SwigcptrDomain uintptr

func (SwigcptrDomain) GetMax

func (arg1 SwigcptrDomain) GetMax() (_swig_ret float64)

func (SwigcptrDomain) GetMin

func (arg1 SwigcptrDomain) GetMin() (_swig_ret float64)

func (SwigcptrDomain) String

func (arg1 SwigcptrDomain) String() (_swig_ret string)

func (SwigcptrDomain) SwigIsDomain

func (p SwigcptrDomain) SwigIsDomain()

func (SwigcptrDomain) Swigcptr

func (p SwigcptrDomain) Swigcptr() uintptr

type SwigcptrFrame

type SwigcptrFrame uintptr

func (SwigcptrFrame) GetBinormal

func (arg1 SwigcptrFrame) GetBinormal() (_swig_ret Vec3)

func (SwigcptrFrame) GetNormal

func (arg1 SwigcptrFrame) GetNormal() (_swig_ret Vec3)

func (SwigcptrFrame) GetPosition

func (arg1 SwigcptrFrame) GetPosition() (_swig_ret Vec3)

func (SwigcptrFrame) GetTangent

func (arg1 SwigcptrFrame) GetTangent() (_swig_ret Vec3)

func (SwigcptrFrame) String

func (arg1 SwigcptrFrame) String() (_swig_ret string)

func (SwigcptrFrame) SwigIsFrame

func (p SwigcptrFrame) SwigIsFrame()

func (SwigcptrFrame) Swigcptr

func (p SwigcptrFrame) Swigcptr() uintptr

type SwigcptrFrameSeq

type SwigcptrFrameSeq uintptr

func (SwigcptrFrameSeq) At

func (arg1 SwigcptrFrameSeq) At(arg2 int) (_swig_ret Frame)

func (SwigcptrFrameSeq) Size

func (arg1 SwigcptrFrameSeq) Size() (_swig_ret int)

func (SwigcptrFrameSeq) String

func (arg1 SwigcptrFrameSeq) String() (_swig_ret string)

func (SwigcptrFrameSeq) SwigIsFrameSeq

func (p SwigcptrFrameSeq) SwigIsFrameSeq()

func (SwigcptrFrameSeq) Swigcptr

func (p SwigcptrFrameSeq) Swigcptr() uintptr

type SwigcptrMorphism

type SwigcptrMorphism uintptr

func (SwigcptrMorphism) Eval

func (arg1 SwigcptrMorphism) Eval(arg2 float64) (_swig_ret BSpline)

func (SwigcptrMorphism) GetEpsilon

func (arg1 SwigcptrMorphism) GetEpsilon() (_swig_ret float64)

func (SwigcptrMorphism) GetOrigin

func (arg1 SwigcptrMorphism) GetOrigin() (_swig_ret BSpline)

func (SwigcptrMorphism) GetTarget

func (arg1 SwigcptrMorphism) GetTarget() (_swig_ret BSpline)

func (SwigcptrMorphism) String

func (arg1 SwigcptrMorphism) String() (_swig_ret string)

func (SwigcptrMorphism) SwigIsMorphism

func (p SwigcptrMorphism) SwigIsMorphism()

func (SwigcptrMorphism) Swigcptr

func (p SwigcptrMorphism) Swigcptr() uintptr

type SwigcptrStd_vector_Sl_double_Sg_ added in v0.6.0

type SwigcptrStd_vector_Sl_double_Sg_ uintptr

func (SwigcptrStd_vector_Sl_double_Sg_) Swigcptr added in v0.6.0

type SwigcptrVec2

type SwigcptrVec2 uintptr

func (SwigcptrVec2) Add

func (arg1 SwigcptrVec2) Add(arg2 Vec2) (_swig_ret Vec2)

func (SwigcptrVec2) Angle

func (arg1 SwigcptrVec2) Angle(arg2 Vec2) (_swig_ret float64)

func (SwigcptrVec2) Distance

func (arg1 SwigcptrVec2) Distance(arg2 Vec2) (_swig_ret float64)

func (SwigcptrVec2) Dot

func (arg1 SwigcptrVec2) Dot(arg2 Vec2) (_swig_ret float64)

func (SwigcptrVec2) GetValues added in v0.5.0

func (arg1 SwigcptrVec2) GetValues() (_swig_ret []float64)

func (SwigcptrVec2) GetX

func (arg1 SwigcptrVec2) GetX() (_swig_ret float64)

func (SwigcptrVec2) GetY

func (arg1 SwigcptrVec2) GetY() (_swig_ret float64)

func (SwigcptrVec2) Magnitude

func (arg1 SwigcptrVec2) Magnitude() (_swig_ret float64)

func (SwigcptrVec2) Multiply

func (arg1 SwigcptrVec2) Multiply(arg2 float64) (_swig_ret Vec2)

func (SwigcptrVec2) Norm

func (arg1 SwigcptrVec2) Norm() (_swig_ret Vec2)

func (SwigcptrVec2) Normalize added in v0.5.0

func (arg1 SwigcptrVec2) Normalize() (_swig_ret Vec2)

func (SwigcptrVec2) SetX

func (arg1 SwigcptrVec2) SetX(arg2 float64)

func (SwigcptrVec2) SetY

func (arg1 SwigcptrVec2) SetY(arg2 float64)

func (SwigcptrVec2) String

func (arg1 SwigcptrVec2) String() (_swig_ret string)

func (SwigcptrVec2) Subtract

func (arg1 SwigcptrVec2) Subtract(arg2 Vec2) (_swig_ret Vec2)

func (SwigcptrVec2) SwigIsVec2

func (p SwigcptrVec2) SwigIsVec2()

func (SwigcptrVec2) Swigcptr

func (p SwigcptrVec2) Swigcptr() uintptr

type SwigcptrVec3

type SwigcptrVec3 uintptr

func (SwigcptrVec3) Add

func (arg1 SwigcptrVec3) Add(arg2 Vec3) (_swig_ret Vec3)

func (SwigcptrVec3) Angle

func (arg1 SwigcptrVec3) Angle(arg2 Vec3) (_swig_ret float64)

func (SwigcptrVec3) Cross

func (arg1 SwigcptrVec3) Cross(arg2 Vec3) (_swig_ret Vec3)

func (SwigcptrVec3) Distance

func (arg1 SwigcptrVec3) Distance(arg2 Vec3) (_swig_ret float64)

func (SwigcptrVec3) Dot

func (arg1 SwigcptrVec3) Dot(arg2 Vec3) (_swig_ret float64)

func (SwigcptrVec3) GetValues added in v0.5.0

func (arg1 SwigcptrVec3) GetValues() (_swig_ret []float64)

func (SwigcptrVec3) GetX

func (arg1 SwigcptrVec3) GetX() (_swig_ret float64)

func (SwigcptrVec3) GetY

func (arg1 SwigcptrVec3) GetY() (_swig_ret float64)

func (SwigcptrVec3) GetZ

func (arg1 SwigcptrVec3) GetZ() (_swig_ret float64)

func (SwigcptrVec3) Magnitude

func (arg1 SwigcptrVec3) Magnitude() (_swig_ret float64)

func (SwigcptrVec3) Multiply

func (arg1 SwigcptrVec3) Multiply(arg2 float64) (_swig_ret Vec3)

func (SwigcptrVec3) Norm

func (arg1 SwigcptrVec3) Norm() (_swig_ret Vec3)

func (SwigcptrVec3) Normalize added in v0.5.0

func (arg1 SwigcptrVec3) Normalize() (_swig_ret Vec3)

func (SwigcptrVec3) SetX

func (arg1 SwigcptrVec3) SetX(arg2 float64)

func (SwigcptrVec3) SetY

func (arg1 SwigcptrVec3) SetY(arg2 float64)

func (SwigcptrVec3) SetZ

func (arg1 SwigcptrVec3) SetZ(arg2 float64)

func (SwigcptrVec3) String

func (arg1 SwigcptrVec3) String() (_swig_ret string)

func (SwigcptrVec3) Subtract

func (arg1 SwigcptrVec3) Subtract(arg2 Vec3) (_swig_ret Vec3)

func (SwigcptrVec3) SwigIsVec3

func (p SwigcptrVec3) SwigIsVec3()

func (SwigcptrVec3) Swigcptr

func (p SwigcptrVec3) Swigcptr() uintptr

type SwigcptrVec4

type SwigcptrVec4 uintptr

func (SwigcptrVec4) Add

func (arg1 SwigcptrVec4) Add(arg2 Vec4) (_swig_ret Vec4)

func (SwigcptrVec4) Angle

func (arg1 SwigcptrVec4) Angle(arg2 Vec4) (_swig_ret float64)

func (SwigcptrVec4) Distance

func (arg1 SwigcptrVec4) Distance(arg2 Vec4) (_swig_ret float64)

func (SwigcptrVec4) Dot

func (arg1 SwigcptrVec4) Dot(arg2 Vec4) (_swig_ret float64)

func (SwigcptrVec4) GetValues added in v0.5.0

func (arg1 SwigcptrVec4) GetValues() (_swig_ret []float64)

func (SwigcptrVec4) GetW

func (arg1 SwigcptrVec4) GetW() (_swig_ret float64)

func (SwigcptrVec4) GetX

func (arg1 SwigcptrVec4) GetX() (_swig_ret float64)

func (SwigcptrVec4) GetY

func (arg1 SwigcptrVec4) GetY() (_swig_ret float64)

func (SwigcptrVec4) GetZ

func (arg1 SwigcptrVec4) GetZ() (_swig_ret float64)

func (SwigcptrVec4) Magnitude

func (arg1 SwigcptrVec4) Magnitude() (_swig_ret float64)

func (SwigcptrVec4) Multiply

func (arg1 SwigcptrVec4) Multiply(arg2 float64) (_swig_ret Vec4)

func (SwigcptrVec4) Norm

func (arg1 SwigcptrVec4) Norm() (_swig_ret Vec4)

func (SwigcptrVec4) Normalize added in v0.5.0

func (arg1 SwigcptrVec4) Normalize() (_swig_ret Vec4)

func (SwigcptrVec4) SetW

func (arg1 SwigcptrVec4) SetW(arg2 float64)

func (SwigcptrVec4) SetX

func (arg1 SwigcptrVec4) SetX(arg2 float64)

func (SwigcptrVec4) SetY

func (arg1 SwigcptrVec4) SetY(arg2 float64)

func (SwigcptrVec4) SetZ

func (arg1 SwigcptrVec4) SetZ(arg2 float64)

func (SwigcptrVec4) String

func (arg1 SwigcptrVec4) String() (_swig_ret string)

func (SwigcptrVec4) Subtract

func (arg1 SwigcptrVec4) Subtract(arg2 Vec4) (_swig_ret Vec4)

func (SwigcptrVec4) SwigIsVec4

func (p SwigcptrVec4) SwigIsVec4()

func (SwigcptrVec4) Swigcptr

func (p SwigcptrVec4) Swigcptr() uintptr

type TinysplineBSplineType

type TinysplineBSplineType int
var BSplineBeziers TinysplineBSplineType = _swig_getBSpline_Beziers_BSpline()
var BSplineClamped TinysplineBSplineType = _swig_getBSpline_Clamped_BSpline()
var BSplineOpened TinysplineBSplineType = _swig_getBSpline_Opened_BSpline()

type Vec2

type Vec2 interface {
	Swigcptr() uintptr
	SwigIsVec2()
	Add(arg2 Vec2) (_swig_ret Vec2)
	Subtract(arg2 Vec2) (_swig_ret Vec2)
	Multiply(arg2 float64) (_swig_ret Vec2)
	Normalize() (_swig_ret Vec2)
	Norm() (_swig_ret Vec2)
	Magnitude() (_swig_ret float64)
	Dot(arg2 Vec2) (_swig_ret float64)
	Angle(arg2 Vec2) (_swig_ret float64)
	Distance(arg2 Vec2) (_swig_ret float64)
	String() (_swig_ret string)
	SetX(arg2 float64)
	GetX() (_swig_ret float64)
	SetY(arg2 float64)
	GetY() (_swig_ret float64)
	GetValues() (_swig_ret []float64)
}

func NewVec2

func NewVec2(a ...interface{}) Vec2

func NewVec2__SWIG_0

func NewVec2__SWIG_0() (_swig_ret Vec2)

func NewVec2__SWIG_1

func NewVec2__SWIG_1(arg1 float64, arg2 float64) (_swig_ret Vec2)

type Vec3

type Vec3 interface {
	Swigcptr() uintptr
	SwigIsVec3()
	Add(arg2 Vec3) (_swig_ret Vec3)
	Subtract(arg2 Vec3) (_swig_ret Vec3)
	Multiply(arg2 float64) (_swig_ret Vec3)
	Cross(arg2 Vec3) (_swig_ret Vec3)
	Normalize() (_swig_ret Vec3)
	Norm() (_swig_ret Vec3)
	Magnitude() (_swig_ret float64)
	Dot(arg2 Vec3) (_swig_ret float64)
	Angle(arg2 Vec3) (_swig_ret float64)
	Distance(arg2 Vec3) (_swig_ret float64)
	String() (_swig_ret string)
	SetX(arg2 float64)
	GetX() (_swig_ret float64)
	SetY(arg2 float64)
	GetY() (_swig_ret float64)
	SetZ(arg2 float64)
	GetZ() (_swig_ret float64)
	GetValues() (_swig_ret []float64)
}

func NewVec3

func NewVec3(a ...interface{}) Vec3

func NewVec3__SWIG_0

func NewVec3__SWIG_0() (_swig_ret Vec3)

func NewVec3__SWIG_1

func NewVec3__SWIG_1(arg1 float64, arg2 float64, arg3 float64) (_swig_ret Vec3)

type Vec4

type Vec4 interface {
	Swigcptr() uintptr
	SwigIsVec4()
	Add(arg2 Vec4) (_swig_ret Vec4)
	Subtract(arg2 Vec4) (_swig_ret Vec4)
	Multiply(arg2 float64) (_swig_ret Vec4)
	Normalize() (_swig_ret Vec4)
	Norm() (_swig_ret Vec4)
	Magnitude() (_swig_ret float64)
	Dot(arg2 Vec4) (_swig_ret float64)
	Angle(arg2 Vec4) (_swig_ret float64)
	Distance(arg2 Vec4) (_swig_ret float64)
	String() (_swig_ret string)
	SetX(arg2 float64)
	GetX() (_swig_ret float64)
	SetY(arg2 float64)
	GetY() (_swig_ret float64)
	SetZ(arg2 float64)
	GetZ() (_swig_ret float64)
	SetW(arg2 float64)
	GetW() (_swig_ret float64)
	GetValues() (_swig_ret []float64)
}

func NewVec4

func NewVec4(a ...interface{}) Vec4

func NewVec4__SWIG_0

func NewVec4__SWIG_0() (_swig_ret Vec4)

func NewVec4__SWIG_1

func NewVec4__SWIG_1(arg1 float64, arg2 float64, arg3 float64, arg4 float64) (_swig_ret Vec4)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL