Details
-
Type:
Story
-
Status: Won't Fix
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: afw
-
Labels:
-
Story Points:12
-
Epic Link:
-
Sprint:Alert Production F16 - 10, Alert Production F16 - 11, Alert Production F16 - 11b, Alert Production S17 - 1, Alert Production S17 - 2
-
Team:Alert Production
Description
Create an ordered container of Point2D objects.
The container must interoperate easily with C code. It is recommended, but not required, that it have a view as an array of floating-point coordinates. If a view is not implemented, a fast copy into such a format should be available.
Proposed interface: this class shall be fully mutable, in order to support use cases where the number of points is not known in advance (e.g., data being read directly from disk).
The interface shall include:
I strongly prefer the copy approach because I don't think it's possible to implement the view in a compiler-independent manner, but I will test the performance of both approaches before making a final decision.