Contains common helper methods.
The following tables list the members exposed by the Utilities type.
Name | Description | |
---|---|---|
|
Name | Description | |
---|---|---|
Adds two points. Point.Offset() may be used instead. |
||
Approximates the specified bezier curve with a polyline. The specified quality parameter varies in the interval [1, …) and is proportional to the number of points in the resulting polyline. |
||
Calculates the bezier coefficients in the equation of the specified bezier curve. |
||
Converts Cartesian coordinates to the corresponding polar coordinates, using the specified point as a center of the coordinate system. |
||
Determines, given three points, if when travelling from the first to the second to the third, we travel in a counterclockwise direction. |
||
Returns the point from the specified pair, which lies closer to the specified pivot. |
||
Converts the values expressed in radians to degrees. |
||
Overloaded. |
||
Overloaded. |
||
Calculates the point of the the specified line segment which determines the distance from the specified point to the line segment |
||
Overloaded. |
||
Calculates the shortest distance from the specified point to the specified bezier curve. |
||
Calculates distance from the specified point to the specified line segment |
||
Overloaded. |
||
Calculates distance from the specified point to the specified rectangle. |
||
Overloaded. |
||
Gets the point from the specified bezier curve, corresponding to the specified parameter t [0, 1]. |
||
Calculate the intersection point between the ellipse with the specified bounds and the line segment defined by the specified points. |
||
Calculates the orthogonal projection of the specified point on the line defined be the specified point pair. |
||
Calculates the intersection point between the specified rectangle and the line segment defined by the specified points. |
||
Determines whether the specified line segments intersect. |
||
Overloaded. |
||
Finds the intersection point of the lines defined by the specified point pairs. |
||
Checks whether the specified point is contained in the ellipse defined by the specified rectangle. |
||
Determines if the specified point is within the specified polygon. |
||
Determines if the specified point is within the smallest rectangle that encloses the specified polygon. |
||
Checks whether the line segment defined by the specified points contain the specified point. |
||
Converts polar coordinates to the corresponding Cartesian coordinates, using the specified point as a center of the coordinate system. |
||
Converts the values expressed in degrees to radians. |
||
Checks whether the segments defined by the specified point pairs intersect and returns the intersection point. |