Declaration
func SampleOnCurve(curve BezierCurve, samplePoint float) float
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Curve | BezierCurve | curve |
| Sample Point | Float | Sampling point, value range [0,1] |
Return
| Type | Description |
|---|---|
| Float | Result |
Get the value on the curve
func SampleOnCurve(curve BezierCurve, samplePoint float) float
go
| Name | Type | Description |
|---|---|---|
| Curve | BezierCurve | curve |
| Sample Point | Float | Sampling point, value range [0,1] |
| Type | Description |
|---|---|
| Float | Result |