Skip to content

Support for mutable classes #136

Open

Description

@Jones-Adam

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions