Merge pull request #38 from specklesystems/oguzhan/remove-point-value-prop
Have it back
This commit is contained in:
@@ -43,6 +43,21 @@ public class Point : Base, ITransformable<Point>
|
||||
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>
|
||||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore), Obsolete("Use x,y,z properties instead", true)]
|
||||
public List<double> value
|
||||
{
|
||||
get => null!;
|
||||
set
|
||||
{
|
||||
x = value[0];
|
||||
y = value[1];
|
||||
z = value.Count > 2 ? value[2] : 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The x coordinate of the point.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user