You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/homog2d_history.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,10 +30,12 @@ now all of these return the number of points that the primitive has, as a `size_
30
30
- added `getBisectorLines()` for polyline objects
31
31
- added `getOSegment()` to Polyline class
32
32
- changed normalization of closed polyline: now constant orientation
33
-
-`getLmPoint()` and associated functions now return a `std::pair`, so user can fetch its position in the container.
33
+
-`getLmPoint()` and associated functions now return a `std::pair`, so user can fetch its position in the container.
34
34
The downside is that it is now not possible to use a `std::list` as input container.
35
35
See [details here](homog2d_manual.md#extremum_points).
36
36
- renamed `getOrthogonalLine()` to `getOrthogLine()` so it's similar to `getOrthogSegment()`
37
+
- added member function `getPointAt()` to class `OSegment`
38
+
37
39
38
40
-[v2.12](https://github.com/skramm/homog2d/releases/tag/v2.12), released on 2025-01-26
39
41
-**heavy architectural change**: runtime polymorphism is now achieved in a more modern way, using `std::variant`, [see here](homog2d_manual.md#section_rtp).
For closed Polyline objects, the member function `getOffsetPoly()` can compute a new polyline at a given distance.
1079
+
Its argument is a distance (numerical value).
1080
+
If positive, the returned polyline will be "outside", if negative, il will be inside.
1081
+
1082
+
An optional second argument of type `OffsetPolyParams` holds a boolean value `_angleSplit` that can be set to `true` to "smoothen" the return polyline, by adding some points on sharp angles
1083
+
(applies only to "outside" computation).
1084
+
1085
+
See [showcase 22](homog2d_showcase.md#sc22)
1086
+
1087
+
#### 3.4.13 - Importing from boost::geometry
1076
1088
<a name="boost_geom_1"></a>
1077
1089
1078
1090
If the symbol `HOMOG2D_USE_BOOSTGEOM` is defined (see [build options](#build_options)), you can import a Polyline from a boost Polygon type.
0 commit comments