compute_internal_region_points#

SurfaceUtilities.compute_internal_region_points(external_cap_topo_faces, internal_cap_topo_faces, geometry_topo_faces, params)#

Computes points inside enclosed regions by detecting intersections between offset cap surfaces and source topofaces.

Parameters:
  • external_cap_topo_faces (Iterable[int]) – Ids of external cap topofaces (For example, inlets, outlets).

  • internal_cap_topo_faces (Iterable[int]) – Ids of internal cap topofaces.

  • geometry_topo_faces (Iterable[int]) – Ids of geometry topofaces.

  • params (ComputeInternalRegionPointParams) – Parameters to control the internal region point computation.

Return type:

ComputeInternalRegionPointResults

Returns:

Returns the ComputeInternalRegionPointResults.

Notes

This is a beta API. The behavior and implementation may change in future.

Examples

>>> params = prime.ComputeInternalRegionPointParams(model = model)
>>> result = surf_utils.compute_internal_region_points(external_cap_topo_faces, internal_cap_topo_faces, geometry_topo_faces, params)