Definition at line 95 of file selectEnclosedPoints.H.
◆ selectEnclosedPoints()
selectEnclosedPoints::selectEnclosedPoints |
( |
const meshBase * |
meshBase_ | ) |
|
|
inlineexplicit |
◆ fromDataSet()
vtkDataArray * selectEnclosedPoints::fromDataSet |
( |
vtkDataSet * |
mesh, |
|
|
vtkDataSet * |
points |
|
) |
| |
|
static |
- Parameters
-
mesh | Input mesh. Geometry is extracted from here. |
points | Set of points to check for enclosure. |
- Returns
- Mask of (0,1). Point is outside (0) or inside (1).
Definition at line 52 of file selectEnclosedPoints.C.
References NEM::MSH::New().
54 vtkSmartPointer<vtkGeometryFilter> gf =
56 vtkSmartPointer<vtkSelectEnclosedPoints> sep =
60 gf->SetInputData(
mesh);
65 sep->SetSurfaceConnection(gf->GetOutputPort());
68 return sep->GetOutput()->GetPointData()->GetScalars(
"SelectedPoints");
geoMeshBase * New(MeshType meshType)
Create a new mesh object.
std::shared_ptr< meshBase > mesh
std::vector< vtkIdType > points
points given by id in .inp file
◆ _meshBase
const meshBase* selectEnclosedPoints::_meshBase |
|
private |
The documentation for this class was generated from the following files: