Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for mutable classes #136

Open
Jones-Adam opened this issue Jan 11, 2018 · 0 comments
Open

Support for mutable classes #136

Jones-Adam opened this issue Jan 11, 2018 · 0 comments

Comments

@Jones-Adam
Copy link
Contributor

Currently the Spatial library provides immutable structures which are great for direct geometry or for including in other entities. I don't think this should change.

However there is another use case where the geometry is the primary entity. Where the geometry is involved in motion and needs to be updated many times a second and is associated with additional data. In this case it would be more helpful if the geometric items could be created once and be modifiable.

I suggest therefore to add another set of classes - I propose mathnet.Spatial.MutableGeometry namespace which are freezable, mutable classes which support external reference data via a Tag property and nested geometric entities

What do you think? Should this kind of use be supported in this library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant