Skip to content

Commit

Permalink
Remove value prop from Point object
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhankoral committed Jul 17, 2024
1 parent e975975 commit b52d8e0
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 b52d8e0

Please sign in to comment.