From 641eb3802176410dadb4e8651ac173612eb642db Mon Sep 17 00:00:00 2001 From: Cesare Caoduro Date: Wed, 15 Sep 2021 21:46:58 +1000 Subject: [PATCH] converted point3 from struct to class --- src/GShark/Geometry/Point3.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/GShark/Geometry/Point3.cs b/src/GShark/Geometry/Point3.cs index 04177c89..00b37811 100644 --- a/src/GShark/Geometry/Point3.cs +++ b/src/GShark/Geometry/Point3.cs @@ -8,8 +8,13 @@ namespace GShark.Geometry /// Defines a Vector in Euclidean space with coordinates X, Y, and Z. /// Referenced from https://github.com/mcneel/rhinocommon/blob/master/dotnet/opennurbs/opennurbs_point.cs /// - public struct Point3 : IEquatable, IComparable, IComparable + public class Point3 : IEquatable, IComparable, IComparable { + /// + /// Initializes a new point. + /// + public Point3() { } + /// /// Initializes a new point by defining the X, Y and Z coordinates. ///