PolyFEM
Loading...
Searching...
No Matches
PointTriangleDistance.cpp File Reference
#include "PointTriangleDistance.hpp"
#include <cmath>
Include dependency graph for PointTriangleDistance.cpp:

Go to the source code of this file.

Namespaces

namespace  polyfem
 
namespace  polyfem::mesh
 

Functions

double polyfem::mesh::point_triangle_squared_distance (const double *p, const double *v0, const double *v1, const double *v2)
 Squared distance between a point and a triangle.
 

Variable Documentation

◆ x

double x

Definition at line 13 of file PointTriangleDistance.cpp.

◆ y

double y

Definition at line 13 of file PointTriangleDistance.cpp.

◆ z

double z

Definition at line 13 of file PointTriangleDistance.cpp.