Skip to content

String attributes are not stored by points #7

@eprana

Description

@eprana

Hi,

String attributes are not stored by points.

When iterating through houio::HouGeo::AttributeAdapter::Ptr, (retrieved with houio::HouGeo::getPointAttributeNames() ), string attributes are not stored by points.
HouGeo::HouAttribute::getString() only returns unique values of a specific attribute.
For instance, there are 10 points with a string attribute.
The value of this attribute is "A" or "B" according to point id (even or odd).
attribute->getNumElements() returns 2 instead of 10

Is there an index by point somewhere to get the value of this attribute for each point ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions