Extensions Methods |
The Extensions type exposes the following members.
| Name | Description | |
|---|---|---|
| Abs | Returns the absolute values. | |
| AddRangeT | Adds a range of items to a collection. | |
| Average(IEnumerabledvec2) | Returns the average value. | |
| Average(IEnumerabledvec3) | Returns the average value. | |
| CopyFromT | Clears the list and copies the content from a collection. | |
| GetAllMessages | Concatenates exception messages recursively through the inner exceptions. | |
| GetAllStackTraces | Concatenates exception stack traces recursively through the inner exceptions. | |
| InheritsFrom |
Verifies whether a given type inherits from another type. This covers the inheritance from a base generic type. MyGenericType<int> inherits from MyGenericType <> | |
| IntervalRoundAway | Rounds a given number to the closest interval away from zero. | |
| ItemwiseCompareT | Compares two sublists item wise. | |
| Sum(IEnumerabledvec2) | Returns the vectors' sum. | |
| Sum(IEnumerabledvec3) | Returns the vectors' sum. | |
| ToBindablePoint(dvec2) | Converts a dvec2 to a BindablePoint. | |
| ToBindablePoint(dvec3) | Converts a dvec3 to a BindablePoint. | |
| ToBindablePoint(ivec2) | Converts a ivec2 to a BindablePoint. | |
| ToBindablePoint(ivec3) | Converts a ivec3 to a BindablePoint. | |
| ToBindablePoint(dvec3, dmat4) | Converts a dvec3 to a transformed BindablePoint. | |
| ToBoolean | Converts visibility into boolean. | |
| ToDegree(Double) | Converts an angle from radians do degree. | |
| ToDegree(Single) | Converts an angle from radians do degree. | |
| ToDmat2 | Converts a Matrix to a dmat2. Offset will be discarded. | |
| ToDmat3 | Converts a Matrix to a dmat3. Offset will be used as third column. | |
| ToDvec2(BindablePoint) | Converts a BindablePoint to a dvec2. | |
| ToDvec2(Point) | Converts a Point to a dvec2. | |
| ToDvec3(BindablePoint) | Converts a BindablePoint to a dvec3. | |
| ToDvec3(Point) | Converts a Point to a dvec2. Z value will be set to zero. | |
| ToIvec2 | Converts a BindablePoint to a ivec2. | |
| ToIvec3 | Converts a BindablePoint to a ivec3. | |
| ToPoint(dvec2) | Converts a dvec3 to a Point. | |
| ToPoint(dvec3) | Converts a dvec3 to a Point. | |
| ToRadians(Double) | Converts an angle from degree do radians. | |
| ToRadians(Single) | Converts an angle from degree do radians. | |
| ToVector(dvec2) | Converts a dvec2 to a Vector. | |
| ToVector(Point) | Converts a Point to a Vector. | |
| ToVisibility | Converts boolean into visibility. | |
| WaitOne | Waits for a signal or a cancellation. The cancellation exception will raised if a cancellation is requested. |