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

New requirement on Create2D(IVertex2D) #33

Open
mc0re opened this issue Sep 14, 2019 · 2 comments
Open

New requirement on Create2D(IVertex2D) #33

mc0re opened this issue Sep 14, 2019 · 2 comments

Comments

@mc0re
Copy link

mc0re commented Sep 14, 2019

Why is there a "new" requirement? IVertex2D only has read-only properties, so a constructor with parameters is necessary, whilst a parameterless constructor (the result of "new" requirement) is pointless, unless you do some hefty reflection tricks...

@micampbell
Copy link
Member

I'm sorry I'm not understanding. IVertex2D is an interface. This is the extent of the code:

    public interface IVertex2D
    {
        /// <summary>
        /// Gets the x.
        /// </summary>
        /// <value>The x.</value>
        double X { get; }

        /// <summary>
        /// Gets the y.
        /// </summary>
        /// <value>The y.</value>
        double Y { get; }
    }

@debashis66
Copy link

Hi, is it possible to use Create2D on coplanar points which do not lie on Z=0 plane ? Can it be used to calculate 2D hull for points on arbitrary oriented planes or plane normal should always be 0,0,1

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

3 participants