Beispiel #1
0
 /// <summary>
 /// Converts this <see cref="AABB"/> to a string with the given <paramref name="format"/>.
 /// </summary>
 /// <returns>A string representation of this AABB.</returns>
 public string ToString(string format)
 {
     return($"{_position.ToString(format)}, {_size.ToString(format)}");
 }
Beispiel #2
0
 /// <summary>
 /// Converts this <see cref="Plane"/> to a string with the given <paramref name="format"/>.
 /// </summary>
 /// <returns>A string representation of this plane.</returns>
 public string ToString(string format)
 {
     return($"{_normal.ToString(format)}, {D.ToString(format)}");
 }