#include <GeometryHelper.hpp>
Additional Inherited Members | |
![]() | |
static void | rotationGetSinCos (double angle, double *cosa, double *sina) |
static void | rotationMatrixIdentityInPlace (Id ndim, 1 &rot) |
static void | rotation2DMatrixInPlace (double angle, 1 &rot) |
static void | rotation3DMatrixInPlace (double alpha, double beta, double gamma, 1 &rot) |
static void | rotationMatrixInPlace (Id ndim, const 1 &angles, 1 &rot) |
static | rotationMatrix (Id ndim, const 1 &angles) |
static void | rotationGetAnglesInPlace (Id ndim, const double *rot, double *angles) |
static void | rotationGetAnglesInPlace (const 1 &rot, 1 &angles) |
static void | rotationCopy (Id ndim, const double *rotin, double *rotout) |
static bool | rotationIsIdentity (Id ndim, const double *rot, double eps=EPSILON10) |
static void | rotationMatrixDerivativesInPlace (Id ndim, const 1 &angles, std::vector< MatrixSquare > &dR) |
static void | rotation2DMatrixDerivativesInPlace (double angle, MatrixSquare &dR) |
static void | rotation3DMatrixDerivativesInPlace (const 1 &angles, std::vector< MatrixSquare > &dR) |
static MatrixSquare | EulerToRotation (const 1 &angles, const ERotation &convrot=ERotation::fromKey("SXYZ")) |
static std::vector< MatrixSquare > | EulerToRotationDerivatives (const 1 &angles, const ERotation &convrot=ERotation::fromKey("SXYZ")) |
static void | EulerToRotationDerivativesInPlace (std::vector< MatrixSquare > &dR, const 1 &angles, const ERotation &convrot=ERotation::fromKey("SXYZ")) |
static void | rotationGetRandomDirection (double ct, double st, const double *a, double *codir) |
static void | rotationGetDirection2D (const 1 &angles, 1 &codir) |
static void | rotationGetDirectionDefault (Id ndim, 1 &codir) |
static void | rotationGetAnglesFromCodirInPlace (const 1 &codir, 1 &angles) |
static | rotationGetAngles (const 1 &codir, bool flagResize=false) |
static | rotationFromIncrements (const 1 &incr, bool flagDegree=false) |
Returns the set of angles for the rotation (in radians) | |
static | rotationToEuler (const MatrixSquare &mat, const ERotation &convrot=ERotation::fromKey("SXYZ"), double eps=EPSILON10) |
static double | distancePointToSegment (double x0, double y0, double x1, double y1, double x2, double y2, double *xd, double *yd, Id *nint) |
static bool | segmentIntersect (double xd1, double yd1, double xe1, double ye1, double xd2, double yd2, double xe2, double ye2, double *xint, double *yint) |
static double | geodeticAngularDistance (double long1, double lat1, double long2, double lat2, double radius=1.) |
static void | geodeticAngles (double long1, double lat1, double long2, double lat2, double long3, double lat3, double *a, double *b, double *c, double *A, double *B, double *C) |
static double | geodeticTrianglePerimeter (double long1, double lat1, double long2, double lat2, double long3, double lat3) |
static double | geodeticTriangleSurface (double long1, double lat1, double long2, double lat2, double long3, double lat3) |
static bool | isInSphericalTriangle (double *coor, double surface, double *pts1, double *pts2, double *pts3, double *wgts, double eps=EPSILON6) |
static bool | isInSphericalTriangleOptimized (const double *coor, const double *ptsa, const double *ptsb, const double *ptsc, double *wgts, double eps=EPSILON6) |
static | convertLongLatTo3D (const 1 &longitude, const 1 &latitude, double dilate=1., double radius_arg=1.) |
static | convert3DToLongLat (const 1 &x, const 1 &y, const 1 &z, double radius_arg=1.) |
static void | convertCart2Sph (double x, double y, double z, double *rlong, double *rlat, double radius_arg=1.) |
static void | convertSph2Cart (double rlong, double rlat, double *x, double *y, double *z, double radius_arg=1.) |
static MatrixSquare | gradXYToRotmat (double dzoverdx, double dzoverdy) |
static MatrixDense * | getDirectionsInR3 (const MatrixDense *U) |
static MatrixDense * | getDirectionsInRn (const MatrixDense *U) |
static double | formatAngle (double anglein, double basis=360.) |
static | formatAngles (const 1 &anglesin, double basis=360.) |
static | rayTriangleIntersect (const 1 &dir, const 1 &v0, const 1 &v1, const 1 &v2) |
static | sphBarCoord (const 1 &sphPts, const MatrixDense &apices, const MatrixInt &meshes) |
static double | getCosineAngularTolerance (double tolang) |
static | getEllipse (const 1 ¢er, double rx, double ry, double theta, Id count=360) |