Open ghost opened 5 years ago
Thank you for the fix. Will do it ASAP.
Le sam. 2 mars 2019 à 15:19, JiYangLin notifications@github.com a écrit :
When i create Shape by Builder.buildDelaunay.......collapse
Code: List data = new List(); data.Add(new Coord3d(-4.000000, -4.000000, -0.586176)); data.Add(new Coord3d(-2.000000, -4.000000, -0.971278)); data.Add(new Coord3d(0.000000, -4.000000, -0.756803)); data.Add(new Coord3d(2.000000, -4.000000, -0.971278)); data.Add(new Coord3d(-4.000000, -2.000000, -0.971278)); data.Add(new Coord3d(-2.000000, -2.000000, 0.308072)); data.Add(new Coord3d(0.000000, -2.000000, 0.909297)); data.Add(new Coord3d(2.000000, -2.000000, 0.308072)); data.Add(new Coord3d(-4.000000, 0.000000, -0.756803)); data.Add(new Coord3d(-2.000000, 0.000000, 0.909297)); data.Add(new Coord3d(0.000000, 0.000000, 0.000000)); data.Add(new Coord3d(2.000000, 0.000000, 0.909297)); data.Add(new Coord3d(-4.000000, 2.000000, -0.971278)); data.Add(new Coord3d(-2.000000, 2.000000, 0.308072)); data.Add(new Coord3d(0.000000, 2.000000, 0.909297)); data.Add(new Coord3d(2.000000, 2.000000, 0.308072)); Shape surface = Builder.buildDelaunay(data);
I Trying to modify Triangle_dt.cs: public bool circumcircle_contains(Point_dt p) { if (null == _circum) return false; return _circum.Radius > _circum.Center.distance2(p); }
It work
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/benoit74/nzy3d-api/issues/16, or mute the thread https://github.com/notifications/unsubscribe-auth/AGxeiakTNq4Ii_23rNa16lJ7K_JplgGLks5vSohjgaJpZM4baaDr .
When i create Shape by Builder.buildDelaunay.......collapse
Code: List data = new List();
data.Add(new Coord3d(-4.000000, -4.000000, -0.586176));
data.Add(new Coord3d(-2.000000, -4.000000, -0.971278));
data.Add(new Coord3d(0.000000, -4.000000, -0.756803));
data.Add(new Coord3d(2.000000, -4.000000, -0.971278));
data.Add(new Coord3d(-4.000000, -2.000000, -0.971278));
data.Add(new Coord3d(-2.000000, -2.000000, 0.308072));
data.Add(new Coord3d(0.000000, -2.000000, 0.909297));
data.Add(new Coord3d(2.000000, -2.000000, 0.308072));
data.Add(new Coord3d(-4.000000, 0.000000, -0.756803));
data.Add(new Coord3d(-2.000000, 0.000000, 0.909297));
data.Add(new Coord3d(0.000000, 0.000000, 0.000000));
data.Add(new Coord3d(2.000000, 0.000000, 0.909297));
data.Add(new Coord3d(-4.000000, 2.000000, -0.971278));
data.Add(new Coord3d(-2.000000, 2.000000, 0.308072));
data.Add(new Coord3d(0.000000, 2.000000, 0.909297));
data.Add(new Coord3d(2.000000, 2.000000, 0.308072));
Shape surface = Builder.buildDelaunay(data);
I Trying to modify Triangle_dt.cs: public bool circumcircle_contains(Point_dt p) { if (null == _circum) return false; return _circum.Radius > _circum.Center.distance2(p); }
It work