Trait fenris::element::ClosestPointInElement
source · pub trait ClosestPointInElement<T: Scalar>: FiniteElement<T>where
DefaultAllocator: BiDimAllocator<T, Self::GeometryDim, Self::ReferenceDim>,{
// Required method
fn closest_point(
&self,
p: &OPoint<T, Self::GeometryDim>
) -> ClosestPoint<T, Self::ReferenceDim>;
}
Expand description
A finite element you can query for the closest point to an arbitrary point.