Skip to content

Commit 374fe34

Browse files
committed
Polish Bezier, IHasCurveLength
1 parent 2afac10 commit 374fe34

File tree

4 files changed

+751
-18
lines changed

4 files changed

+751
-18
lines changed

CHANGELOG.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,31 @@
2323
- `Topography.Trimmed`
2424
- `new Topography(Topography other)`
2525
- `Topography.TopMesh()`
26+
- `Bezier.PointAtLength()`
27+
- `Bezier.PointAtNormalizedLength()`
28+
- `Bezier.ParameterAt()`
29+
- `Bezier.DivideByLength()`
30+
- `Bezier.Split()`
31+
- `Bezier.SplitAt()`
32+
- `Bezier.SplitByLength()`
33+
- `Bezier.ConstructPiecewiseCubicBezier()`
2634

2735
### Changed
2836

2937
- `Polyline` now inherits from `BoundedCurve`.
3038
- `Polyline` is now parameterized 0->length.
31-
- `Polyline` now implements the `IHasArcLength` interface
39+
- `Polyline` now implements the `IHasArcLength` interface.
3240
- `Arc` now inherits from `TrimmedCurve<Circle>`.
33-
- `Arc` is now parameterized 0->2Pi
41+
- `Arc` is now parameterized 0->2Pi.
3442
- `Line` now inherits from `TrimmedCurve<InfiniteLine>`.
3543
- `Line` is now parameterized 0->length.
36-
- `Line` now implements the `IHasArcLength` interface
44+
- `Line` now implements the `IHasArcLength` interface.
3745
- `Bezier` now inherits from `BoundedCurve`.
46+
- `Bezier` now implements the `IHasArcLength` interface.
47+
- `Bezier.ArcLength()` now uses Gauss quadrature approximation vs linear sampling.
3848
- `Polyline` is now parameterized 0->length.
3949
- `Circle` is now parameterized 0->2Pi.
40-
- `Circle` now implements the `IHasArcLength` interface
50+
- `Circle` now implements the `IHasArcLength` interface.
4151
- `Vector3.DistanceTo(Ray ray)` now returns positive infinity instead of throwing.
4252
- `Message`: removed obsolete `FromLine` method.
4353
- `AdaptiveGrid`: removed obsolete `TryGetVertexIndex` with `tolerance` parameter.

0 commit comments

Comments
 (0)