Functions | |
| template<typename T > | |
| T | computeOrientationDeterminant (const ads::FixedArray< 2, T > &a, const ads::FixedArray< 2, T > &b, const ads::FixedArray< 2, T > &c) |
| Compute the orientation determinant. | |
| template<typename T > | |
| T | computeInCircleDeterminant (const ads::FixedArray< 2, T > &a, const ads::FixedArray< 2, T > &b, const ads::FixedArray< 2, T > &c, const ads::FixedArray< 2, T > &d) |
| Compute the in-circle determinant. | |
| template<typename T > | |
| bool | isInCircle (const ads::FixedArray< 2, T > &a, const ads::FixedArray< 2, T > &b, const ads::FixedArray< 2, T > &c, const ads::FixedArray< 2, T > &d) |
Return true if d is inside the circle with a, b, and c on its boundary. | |
| T computeInCircleDeterminant | ( | const ads::FixedArray< 2, T > & | a, | |
| const ads::FixedArray< 2, T > & | b, | |||
| const ads::FixedArray< 2, T > & | c, | |||
| const ads::FixedArray< 2, T > & | d | |||
| ) | [inline] |
Compute the in-circle determinant.
Return the determinant of:
where
. Point d lies inside the circle passing through a, b, and c if and only if
.
See Geometry and Topology for Mesh Generation.
Referenced by isInCircle().
| T computeOrientationDeterminant | ( | const ads::FixedArray< 2, T > & | a, | |
| const ads::FixedArray< 2, T > & | b, | |||
| const ads::FixedArray< 2, T > & | c | |||
| ) | [inline] |
Compute the orientation determinant.
Return the determinant of:
It is positive for a left turn, negative for a right turn, and zero if the points are colinear.
See Geometry and Topology for Mesh Generation.
Referenced by isInCircle().
| bool isInCircle | ( | const ads::FixedArray< 2, T > & | a, | |
| const ads::FixedArray< 2, T > & | b, | |||
| const ads::FixedArray< 2, T > & | c, | |||
| const ads::FixedArray< 2, T > & | d | |||
| ) | [inline] |
Return true if d is inside the circle with a, b, and c on its boundary.
Point d lies inside the circle passing through a, b, and c if and only if
.
See Geometry and Topology for Mesh Generation.
References computeInCircleDeterminant(), and computeOrientationDeterminant().
1.6.3