Skip to content

Commit

Permalink
Merge pull request #37 from specklesystems/oguzhan/remove-point-value…
Browse files Browse the repository at this point in the history
…-prop

Remove value prop from Point object
  • Loading branch information
didimitrie authored Jul 17, 2024
2 parents e975975 + b52d8e0 commit 7f50e9a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/Speckle.Objects/Geometry/Point.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,6 @@ public Point(double x, double y, double z = 0d, string units = Units.Meters, str
public Point(Vector vector)
: this(vector.x, vector.y, vector.z, vector.units, vector.applicationId) { }

/// <summary>
/// Gets or sets the coordinates of the <see cref="Point"/>
/// </summary>
[Obsolete("Use x,y,z properties instead", true)]
public List<double> value
{
set
{
x = value[0];
y = value[1];
z = value.Count > 2 ? value[2] : 0;
}
}

/// <summary>
/// The x coordinate of the point.
/// </summary>
Expand Down

0 comments on commit 7f50e9a

Please sign in to comment.