MPM-Geomechanics
Material Point Method for simulating geo-materials under large deformation conditions
Loading...
Searching...
No Matches
Geometry.h File Reference
#include "Eigen/Core"
#include <vector>
#include <string>
Include dependency graph for Geometry.h:

Go to the source code of this file.

Namespaces

namespace  Geometry
 Contain auxiliary functions related with geometric operations.
 

Functions

bool Geometry::getInsidePolygon (const vector< Vector3d > &polygon, const Vector3d &point, string extrude_direction)
 Verify in a point is inside of a polygon.
 
void Geometry::getBoundingBox (const vector< Vector3d > &points, vector< Vector3d > &box)
 Calculate the bounding box of a group of points.
 
bool Geometry::getInsideBox (Vector3d p1, Vector3d p2, Vector3d position)
 Verify if a point is inside a box.