|
bool | geom_utils::isPointZero (const libMesh::Point &pt) |
| Check whether a point is equal to zero. More...
|
|
libMesh::Point | geom_utils::unitVector (const libMesh::Point &pt, const std::string &name) |
| Get the unit vector for a point parameter. More...
|
|
libMesh::Point | geom_utils::rotatePointAboutAxis (const libMesh::Point &p, const libMesh::Real angle, const libMesh::Point &axis) |
| Rotate point about an axis. More...
|
|
libMesh::Real | geom_utils::minDistanceToPoints (const libMesh::Point &pt, const std::vector< libMesh::Point > &candidates, const unsigned int axis) |
| Get the minimum distance from a point to another set of points, in the plane perpendicular to the specified axis. More...
|
|
std::vector< libMesh::Point > | geom_utils::polygonCorners (const unsigned int num_sides, const libMesh::Real radius, const unsigned int axis) |
| Get the corner coordinates of a regular 2-D polygon, assuming a face of the polygon is parallel to the x0 axis. More...
|
|
std::pair< unsigned int, unsigned int > | geom_utils::projectedIndices (const unsigned int axis) |
| Get the indices of the plane perpendicular to the specified axis. More...
|
|
libMesh::Point | geom_utils::projectPoint (const libMesh::Real x0, const libMesh::Real x1, const unsigned int axis) |
| Given two coordinates, construct a point in the 2-D plane perpendicular to the specified axis. More...
|
|
libMesh::Point | geom_utils::projectedUnitNormal (libMesh::Point pt1, libMesh::Point pt2, const unsigned int axis) |
| Get the unit normal vector between two points (which are first projected onto the plane perpendicular to the 'axis'), such that the cross product of the unit normal with the line from pt1 to pt2 has a positive 'axis' component. More...
|
|
libMesh::Real | geom_utils::distanceFromLine (const libMesh::Point &pt, const libMesh::Point &line0, const libMesh::Point &line1) |
| Compute the distance from a 3-D line, provided in terms of two points on the line. More...
|
|
libMesh::Real | geom_utils::projectedDistanceFromLine (libMesh::Point pt, libMesh::Point line0, libMesh::Point line1, const unsigned int axis) |
| Compute the distance from a 3-D line, provided in terms of two points on the line. More...
|
|
libMesh::Real | geom_utils::projectedLineHalfSpace (libMesh::Point pt1, libMesh::Point pt2, libMesh::Point pt3, const unsigned int axis) |
| If positive, point is on the positive side of the half space (and vice versa). More...
|
|
bool | geom_utils::pointInPolygon (const libMesh::Point &point, const std::vector< libMesh::Point > &corners, const unsigned int axis) |
| Whether a point is in 2-D a polygon in the plane perpendicular to the specified axis, given by corner points. More...
|
|
bool | geom_utils::pointOnEdge (const libMesh::Point &point, const std::vector< libMesh::Point > &corners, const unsigned int axis) |
| Whether a point is on the edge of a 2-D polygon in the plane perpendicular to the specified axis, given its corner points. More...
|
|
std::vector< libMesh::Point > | geom_utils::boxCorners (const libMesh::BoundingBox &box, const libMesh::Real factor) |
| Get corner points of a bounding box, with side length re-scaled. More...
|
|