| | |
| | | /// <param name="rhs"></param> |
| | | public RevitPosition(RevitPosition rhs) |
| | | { |
| | | this.X = rhs.X; |
| | | this.Y = rhs.Y; |
| | | this.Z = rhs.Z; |
| | | if (rhs != null) |
| | | { |
| | | this.X = rhs.X; |
| | | this.Y = rhs.Y; |
| | | this.Z = rhs.Z; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// X |
| | | /// </summary> |
| | | [JsonProperty("X", NullValueHandling = NullValueHandling.Ignore)] |
| | | public double X { get; set; } |
| | | |
| | | /// <summary> |
| | | /// Y |
| | | /// </summary> |
| | | [JsonProperty("Y", NullValueHandling = NullValueHandling.Ignore)] |
| | | public double Y { get; set; } |
| | | |
| | | /// <summary> |
| | | /// Z |
| | | /// </summary> |
| | | [JsonProperty("Z", NullValueHandling = NullValueHandling.Ignore)] |
| | | public double Z { get; set; } |
| | | } |
| | | |