@@ -89,6 +89,9 @@ public Vector3d Max
8989 get => new ( MaxX , MaxY , MaxZ ) ;
9090 }
9191
92+ /// <summary>
93+ /// The minimum X coordinate of the bounding area.
94+ /// </summary>
9295 [ JsonIgnore ]
9396 [ MemoryPackIgnore ]
9497 public Fixed64 MinX
@@ -97,6 +100,9 @@ public Fixed64 MinX
97100 get => Corner1 . x < Corner2 . x ? Corner1 . x : Corner2 . x ;
98101 }
99102
103+ /// <summary>
104+ /// Gets the greater X-coordinate value of the two corners that define the bounding area.
105+ /// </summary>
100106 [ JsonIgnore ]
101107 [ MemoryPackIgnore ]
102108 public Fixed64 MaxX
@@ -105,6 +111,9 @@ public Fixed64 MaxX
105111 get => Corner1 . x > Corner2 . x ? Corner1 . x : Corner2 . x ;
106112 }
107113
114+ /// <summary>
115+ /// Gets the minimum Y-coordinate value of the bounding area defined by Corner1 and Corner2.
116+ /// </summary>
108117 [ JsonIgnore ]
109118 [ MemoryPackIgnore ]
110119 public Fixed64 MinY
@@ -113,6 +122,9 @@ public Fixed64 MinY
113122 get => Corner1 . y < Corner2 . y ? Corner1 . y : Corner2 . y ;
114123 }
115124
125+ /// <summary>
126+ /// Gets the maximum Y-coordinate value of the bounding area defined by the two corners.
127+ /// </summary>
116128 [ JsonIgnore ]
117129 [ MemoryPackIgnore ]
118130 public Fixed64 MaxY
@@ -121,6 +133,9 @@ public Fixed64 MaxY
121133 get => Corner1 . y > Corner2 . y ? Corner1 . y : Corner2 . y ;
122134 }
123135
136+ /// <summary>
137+ /// Gets the minimum Z coordinate value of the bounding volume.
138+ /// </summary>
124139 [ JsonIgnore ]
125140 [ MemoryPackIgnore ]
126141 public Fixed64 MinZ
@@ -129,6 +144,9 @@ public Fixed64 MinZ
129144 get => Corner1 . z < Corner2 . z ? Corner1 . z : Corner2 . z ;
130145 }
131146
147+ /// <summary>
148+ /// Gets the maximum Z coordinate value between the two corners of the bounding box.
149+ /// </summary>
132150 [ JsonIgnore ]
133151 [ MemoryPackIgnore ]
134152 public Fixed64 MaxZ
@@ -290,22 +308,37 @@ private static bool OverlapsOnAllAxes(Vector3d min, Vector3d max, Vector3d other
290308
291309 #region Operators
292310
311+ /// <summary>
312+ /// Determines whether two BoundingArea instances are equal.
313+ /// </summary>
314+ /// <param name="left">The first BoundingArea to compare.</param>
315+ /// <param name="right">The second BoundingArea to compare.</param>
316+ /// <returns>true if the specified BoundingArea instances are equal; otherwise, false.</returns>
293317 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
294318 public static bool operator == ( BoundingArea left , BoundingArea right ) => left . Equals ( right ) ;
295319
320+ /// <summary>
321+ /// Determines whether two BoundingArea instances are not equal.
322+ /// </summary>
323+ /// <param name="left">The first BoundingArea to compare.</param>
324+ /// <param name="right">The second BoundingArea to compare.</param>
325+ /// <returns>true if the specified BoundingArea instances are not equal; otherwise, false.</returns>
296326 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
297327 public static bool operator != ( BoundingArea left , BoundingArea right ) => ! left . Equals ( right ) ;
298328
299329 #endregion
300330
301331 #region Equality and HashCode Overrides
302332
333+ /// <inheritdoc/>
303334 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
304335 public override bool Equals ( object ? obj ) => obj is BoundingArea other && Equals ( other ) ;
305336
337+ /// <inheritdoc/>
306338 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
307339 public bool Equals ( BoundingArea other ) => Corner1 . Equals ( other . Corner1 ) && Corner2 . Equals ( other . Corner2 ) ;
308340
341+ /// <inheritdoc/>
309342 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
310343 public override int GetHashCode ( )
311344 {
0 commit comments