Struct FDictPoint
- struct FDictPoint
-
A dictionary of points.
This is used to store multiple points, indexed by an integer key
Public Functions
- inline FDictPoint()
-
Construct an empty dictionary of points.
Note
We need to allocate the Buffer first before we start handing out array views which means we can’t do it here
- inline TPoint &Add()
-
Add a point to the dictionary, by emplacing it, and returning it to the caller for initialization.
- Returns:
-
a reference to the newly added point
- inline void Add(TPoint &Point)
-
Add a preallocated point to the dictionary.
- Parameters:
-
Point – [in] The point to add
- inline TPoint &operator[](int Index)
-
Get the point at the given Index, but const.
- Parameters:
-
Index – The index of the point to get
- Returns:
-
a reference to the point at the given Index
- inline const TPoint &operator[](int Index) const
-
Get the point at the given Index, in a const context.
- Parameters:
-
Index – The index of the point to get
- Returns:
-
a const reference to the point at the given Index
- inline void Accept(PointVisitor &Visitor)
- inline void Accept(ConstPointVisitor &Visitor) const
- inline void Accept(PointVisitor *Visitor)
- inline void Accept(ConstPointVisitor *Visitor) const