https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PointInSurfaceCheckInterface.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "SurfaceSide.h"
13
14namespace libMesh
15{
16class Point;
17}
18
35{
36public:
37 virtual ~PointInSurfaceCheckInterface() = default;
38
41
43 bool contains(const libMesh::Point & p) const
44 {
46 }
47};
Mixin interface implemented by user objects that can classify a query point against a closed surface ...
bool contains(const libMesh::Point &p) const
Whether the point is inside or on the surface(s). ON maps to true.
virtual SurfaceGeometry::SurfaceSide sideness(const libMesh::Point &p) const =0
Classify a point as INSIDE, ON, or OUTSIDE the surface(s).
virtual ~PointInSurfaceCheckInterface()=default
SurfaceSide
The side of a closed surface where a query point is located.
Definition SurfaceSide.h:21
@ OUTSIDE
The point lies strictly in the exterior of the closed surface.
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...