Skip to content

Non-templated Python class names #600

@hugtalbot

Description

@hugtalbot

In #593 the question has been raised to instantiate bindings using SReal instead of explicitly using float or double. However, due to the way Python classes are named (coming from the TypeInfo), the Python class name would change depending whether SOFA is compiled in double or in float (e.g. ForceFieldVec3d)

Either we should remove the option of float compilation (not desired by the devs) or better : find a clever solution to name Python objects to avoid influence of the TypeInfo. In XML we had alias for this : we could find a similar mechanism

@damienmarchal we would need your guidance 🪄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions