Point Data
The viennals::PointData
class is designed to hold data associated with points in space. It’s a generic class that can work with any data type T
that satisfies the lsConcepts::IsFloatingPoint
concept. By default, it uses double
as the data type.
Member Types:
ScalarDataType
: A type alias for a vector ofT
type elements. This is used to represent scalar data.VectorDataType
: A type alias for a vector of arrays, each containing 3 elements ofT
type. This is used to represent vector data.
Public Methods:
insertNextScalarData
: This method inserts a new scalar data its corresponding label.