Struct FBoxPoint
- struct FBoxPoint : public FPoint
-
A point in a box(continuous) space.
Conceptually a floating point vector
Public Functions
- inline FBoxPoint(const float *Data, int Num)
-
Construct a BoxPoint from a raw array of floats.
- Parameters:
-
-
Data – [in] The raw array of floats, as a const ptr
-
Num – [in] The size of the array
-
- inline float operator[](int Index) const
-
Get the value of the BoxPoint at the given index or dimension.
- Parameters:
-
Index – The dimension to get the value at
- Returns:
-
the value at the given index or dimension
- inline void Add(float Value)
-
Add a value to the BoxPoint.
Adds a new dimension to the point
- Parameters:
-
Value – [in] The value to add
- inline virtual void Reset() override
-
Reset the values of the BoxPoint.
Clears the current values
Note
This is doesn’t reset the size of the array so subsequent calls to Add will not reallocate memory
- virtual void Accept(PointVisitor &Visitor) override
- virtual void Accept(ConstPointVisitor &Visitor) const override