diff --git a/X10D.Unity.dll b/X10D.Unity.dll index 40a663e..8908935 100644 Binary files a/X10D.Unity.dll and b/X10D.Unity.dll differ diff --git a/X10D.dll b/X10D.dll index d0a87e4..8473359 100644 Binary files a/X10D.dll and b/X10D.dll differ diff --git a/X10D.xml b/X10D.xml index 6745a14..cce5765 100644 --- a/X10D.xml +++ b/X10D.xml @@ -874,6 +874,437 @@ is less than 0. + + + Represents a circle that is composed of a 32-bit signed integer center point and radius. + + + + + The empty circle. That is, a circle whose center point is (0, 0) and whose radius is 0. + + + + + The unit circle. That is, a circle whose center point is (0, 0) and whose radius is 1. + + + + + Initializes a new instance of the struct. + + The center point of the circle. + The radius of the circle. + + + + Gets the area of the circle. + + The area of the circle, calculated as πr². + + + + Gets the center point of the circle. + + The center point. + + + + Gets the circumference of the circle. + + The circumference of the circle, calculated as 2πr. + + + + Gets the diameter of the circle. + + The diameter. This is always twice the . + + + + Gets the radius of the circle. + + The radius. + + + + Returns a value indicating whether two instances of are equal. + + The first instance. + The second instance. + + if and are considered equal; otherwise, + . + + + + + Returns a value indicating whether two instances of are not equal. + + The first instance. + The second instance. + + if and are considered not equal; otherwise, + . + + + + + Returns a value indicating whether the radius of one circle is less than that of another. + + The first instance. + The second instance. + + if the of is less than that of + ; otherwise, . + + + + + Returns a value indicating whether the radius of one circle is greater than to that of another. + + The first instance. + The second instance. + + if the of is greater than that of + ; otherwise, . + + + + + Returns a value indicating whether the radius of one circle is less than or equal to that of another. + + The first instance. + The second instance. + + if the of is less than or equal to that of + ; otherwise, . + + + + + Returns a value indicating whether the radius of one circle is greater than or equal to that of another. + + The first instance. + The second instance. + + if the of is greater than or equal to that of + ; otherwise, . + + + + + Compares this instance to another . + + The other object. + + A signed number indicating the relative values of this instance and . + + + + Return value + Meaning + + + + Less than zero + + The of this instance is less than that of . + + + + Zero + + This instance is equal to , or the of both this instance + and are not a number (), + , or . + + + + Greater than zero + + The of this instance is greater than that of , or + is . + + + + + Comparison only takes into consideration the . + is not an instance of . + + + + Compares this instance to another . + + The other circle. + + A signed number indicating the relative values of this instance and . + + + + Return value + Meaning + + + + Less than zero + + The of this instance is less than that of . + + + + Zero + + This instance is equal to , or the of both this instance + and are not a number (), + , or . + + + + Greater than zero + + The of this instance is greater than that of . + + + + + Comparison only takes into consideration the . + + + + + + + Returns a value indicating whether this instance and another instance are equal. + + The instance with which to compare. + + if this instance and are considered equal; otherwise, + . + + + + + + + + Represents a circle that is composed of a single-precision floating-point center point and radius. + + + + + The empty circle. That is, a circle whose center point is (0, 0) and whose radius is 0. + + + + + The unit circle. That is, a circle whose center point is (0, 0) and whose radius is 1. + + + + + Initializes a new instance of the struct. + + The center point of the circle. + The radius of the circle. + + + + Initializes a new instance of the struct. + + The center point of the circle. + The radius of the circle. + + + + Gets the area of the circle. + + The area of the circle, calculated as πr². + + + + Gets the center point of the circle. + + The center point. + + + + Gets the circumference of the circle. + + The circumference of the circle, calculated as 2πr. + + + + Gets the diameter of the circle. + + The diameter. This is always twice the . + + + + Gets the radius of the circle. + + The radius. + + + + Returns a value indicating whether two instances of are equal. + + The first instance. + The second instance. + + if and are considered equal; otherwise, + . + + + + + Returns a value indicating whether two instances of are not equal. + + The first instance. + The second instance. + + if and are considered not equal; otherwise, + . + + + + + Returns a value indicating whether the radius of one circle is less than that of another. + + The first instance. + The second instance. + + if the of is less than that of + ; otherwise, . + + + + + Returns a value indicating whether the radius of one circle is greater than to that of another. + + The first instance. + The second instance. + + if the of is greater than that of + ; otherwise, . + + + + + Returns a value indicating whether the radius of one circle is less than or equal to that of another. + + The first instance. + The second instance. + + if the of is less than or equal to that of + ; otherwise, . + + + + + Returns a value indicating whether the radius of one circle is greater than or equal to that of another. + + The first instance. + The second instance. + + if the of is greater than or equal to that of + ; otherwise, . + + + + + Compares this instance to another . + + The other object. + + A signed number indicating the relative values of this instance and . + + + + Return value + Meaning + + + + Less than zero + + The of this instance is less than that of . + + + + Zero + + This instance is equal to , or the of both this instance + and are not a number (), + , or . + + + + Greater than zero + + The of this instance is greater than that of , or + is . + + + + + Comparison only takes into consideration the . + is not an instance of . + + + + Compares this instance to another . + + The other circle. + + A signed number indicating the relative values of this instance and . + + + + Return value + Meaning + + + + Less than zero + + The of this instance is less than that of . + + + + Zero + + This instance is equal to , or the of both this instance + and are not a number (), + , or . + + + + Greater than zero + + The of this instance is greater than that of . + + + + + Comparison only takes into consideration the . + + + + + + + Returns a value indicating whether this instance and another instance are equal. + + The instance with which to compare. + + if this instance and are considered equal; otherwise, + . + + + + + Drawing-related extensions for . @@ -938,6 +1369,465 @@ component is . + + + Represents a line that is composed of 32-bit signed integer X and Y coordinates. + + + + + The empty line. That is, a line whose start and end points are at (0, 0). + + + + + The line whose start point is at (0, 0) and end point is at (1, 1). + + + + + The line whose start point is at (0, 0) and end point is at (1, 0). + + + + + The line whose start point is at (0, 0) and end point is at (0, 1). + + + + + Initializes a new instance of the struct by taking the start and end points. + + The start point. + The end point. + + + + Gets the end point of the line. + + The end point. + + + + Gets the length of this line. + + The length. + + + + Gets the length of this line, squared. + + The squared length. + + + + Gets the start point of the line. + + The start point. + + + + Returns a value indicating whether two instances of are not equal. + + The first instance. + The second instance. + + if and are considered not equal; otherwise, + . + + + + + Returns a value indicating whether two instances of are not equal. + + The first instance. + The second instance. + + if and are considered not equal; otherwise, + . + + + + + Returns a value indicating whether the length of one line is less than that of another. + + The first instance. + The second instance. + + if the of is less than that of + ; otherwise, . + + + + + Returns a value indicating whether the length of one line is greater than that of another. + + The first instance. + The second instance. + + if the of is greater than that of + ; otherwise, . + + + + + Returns a value indicating whether the length of one line is less than or equal to that of another. + + The first instance. + The second instance. + + if the of is less than or equal to that of + ; otherwise, . + + + + + Returns a value indicating whether the length of one line is greater than or equal to that of another. + + The first instance. + The second instance. + + if the of is greater than or equal to that of + ; otherwise, . + + + + + Compares this instance to another object. + + The object with with which to compare + + A signed number indicating the relative values of this instance and . + + + + Return value + Meaning + + + + Less than zero + + The of this instance is less than that of . + + + + Zero + + This instance is equal to , or the of both this instance + and are not a number (), + , or . + + + + Greater than zero + + The of this instance is greater than that of . + + + + + + Comparison internally measures the property to avoid calls to . + is not an instance of . + + + + + Compares this instance to another . + + + + A signed number indicating the relative values of this instance and . + + + + Return value + Meaning + + + + Less than zero + + The of this instance is less than that of . + + + + Zero + + This instance is equal to , or the of both this instance + and are not a number (), + , or . + + + + Greater than zero + + The of this instance is greater than that of . + + + + + + Comparison internally measures the property to avoid calls to . + + + + + + + + Returns a value indicating whether this instance and another instance are equal. + + The instance with which to compare. + + if this instance and are considered equal; otherwise, + . + + + + + + + + Represents a line that is composed of single-precision floating-point X and Y coordinates. + + + + + The empty line. That is, a line whose start and end points are at (0, 0). + + + + + The line whose start point is at (0, 0) and end point is at (1, 1). + + + + + The line whose start point is at (0, 0) and end point is at (1, 0). + + + + + The line whose start point is at (0, 0) and end point is at (0, 1). + + + + + Initializes a new instance of the struct by taking the start and end points. + + The start point. + The end point. + + + + Initializes a new instance of the struct by taking the start and end points. + + The start point. + The end point. + + + + Gets the end point of the line. + + The end point. + + + + Gets the length of this line. + + The length. + + + + Gets the length of this line, squared. + + The squared length. + + + + Gets the start point of the line. + + The start point. + + + + Returns a value indicating whether two instances of are not equal. + + The first instance. + The second instance. + + if and are considered not equal; otherwise, + . + + + + + Returns a value indicating whether two instances of are not equal. + + The first instance. + The second instance. + + if and are considered not equal; otherwise, + . + + + + + Returns a value indicating whether the length of one line is less than that of another. + + The first instance. + The second instance. + + if the of is less than that of + ; otherwise, . + + + + + Returns a value indicating whether the length of one line is greater than that of another. + + The first instance. + The second instance. + + if the of is greater than that of + ; otherwise, . + + + + + Returns a value indicating whether the length of one line is less than or equal to that of another. + + The first instance. + The second instance. + + if the of is less than or equal to that of + ; otherwise, . + + + + + Returns a value indicating whether the length of one line is greater than or equal to that of another. + + The first instance. + The second instance. + + if the of is greater than or equal to that of + ; otherwise, . + + + + + Explicitly converts a to a . + + The line to convert. + The converted line. + + + + Implicitly converts a to a . + + The line to convert. + The line polygon. + + + + Compares this instance to another object. + + The object with with which to compare + + A signed number indicating the relative values of this instance and . + + + + Return value + Meaning + + + + Less than zero + + The of this instance is less than that of . + + + + Zero + + This instance is equal to , or the of both this instance + and are not a number (), + , or . + + + + Greater than zero + + The of this instance is greater than that of . + + + + + + Comparison internally measures the property to avoid calls to . + is not an instance of . + + + + + Compares this instance to another . + + + + A signed number indicating the relative values of this instance and . + + + + Return value + Meaning + + + + Less than zero + + The of this instance is less than that of . + + + + Zero + + This instance is equal to , or the of both this instance + and are not a number (), + , or . + + + + Greater than zero + + The of this instance is greater than that of . + + + + + + Comparison internally measures the property to avoid calls to . + + + + + + + + Returns a value indicating whether this instance and another instance are equal. + + The instance with which to compare. + + if this instance and are considered equal; otherwise, + . + + + + + Drawing-related extension methods for . @@ -976,6 +1866,230 @@ The point to convert. The resulting . + + + Represents a 2D polygon composed of 32-bit signed integer points. + + + + + The empty polygon. That is, a polygon with no points. + + + + + Initializes a new instance of the struct by copying the specified polygon. + + + + + Initializes a new instance of the struct by constructing it from the specified points. + + An enumerable collection of points from which the polygon should be constructed. + + + + Returns a value indicating whether this polygon is convex. + + if this polygon is convex; otherwise, . + + + + Gets the number of points in this polygon. + + An value, representing the number of points in this polygon. + + + + Gets a read-only view of the points in this polygon. + + A of values, representing the points of this polygon. + + + + Returns a value indicating whether two instances of are equal. + + The first instance. + The second instance. + + if and are considered equal; otherwise, + . + + + + + Returns a value indicating whether two instances of are not equal. + + The first instance. + The second instance. + + if and are considered not equal; otherwise, + . + + + + + Adds a point to this polygon. + + The point to add. + + + + Adds a collection of points to this polygon. + + An enumerable collection of points to add. + is . + + + + Clears all points from this polygon. + + + + + + + + Returns a value indicating whether this instance and another instance are equal. + + The instance with which to compare. + + if this instance and are considered equal; otherwise, + . + + + + + + + + Represents a 2D polygon composed of single-precision floating-point points. + + + + + The empty polygon. That is, a polygon with no points. + + + + + Initializes a new instance of the struct by copying the specified polygon. + + + + + Initializes a new instance of the struct by constructing it from the specified points. + + An enumerable collection of points from which the polygon should be constructed. + + + + Initializes a new instance of the struct by constructing it from the specified points. + + An enumerable collection of points from which the polygon should be constructed. + is . + + + + Returns a value indicating whether this polygon is convex. + + if this polygon is convex; otherwise, . + + + + Gets the number of points in this polygon. + + An value, representing the number of points in this polygon. + + + + Gets a read-only view of the points in this polygon. + + A of values, representing the points of this polygon. + + + + Returns a value indicating whether two instances of are equal. + + The first instance. + The second instance. + + if and are considered equal; otherwise, + . + + + + + Returns a value indicating whether two instances of are not equal. + + The first instance. + The second instance. + + if and are considered not equal; otherwise, + . + + + + + Explicitly converts a to a . + + The polygon to convert. + The converted polygon. + + + + Implicitly converts a to a . + + The polygon to convert. + The converted polygon. + + + + Adds a point to this polygon. + + The point to add. + + + + Adds a point to this polygon. + + The point to add. + + + + Adds a collection of points to this polygon. + + An enumerable collection of points to add. + is . + + + + Adds a collection of points to this polygon. + + An enumerable collection of points to add. + is . + + + + Clears all points from this polygon. + + + + + + + + Returns a value indicating whether this instance and another instance are equal. + + The instance with which to compare. + + if this instance and are considered equal; otherwise, + . + + + + + Extension methods for . diff --git a/package.json b/package.json index 89b64c0..0a9eb86 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "url": "https://oliverbooth.dev" }, "displayName": "X10D", - "version": "3.2.0-nightly.112", + "version": "3.2.0-nightly.113", "unity": "2021.2", "description": "Extension methods on crack", "keywords": ["dotnet", "extension-methods"],