unreal.GeometryScript_MeshComparison
¶
- class unreal.GeometryScript_MeshComparison(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BlueprintFunctionLibrary
Geometry Script Library Mesh Comparison Functions
C++ Source:
Plugin: GeometryScripting
Module: GeometryScriptingCore
File: MeshComparisonFunctions.h
- classmethod is_intersecting_mesh(target_mesh, target_transform, other_mesh, other_transform, debug=None) -> (DynamicMesh, is_intersecting=bool)¶
Returns true if the two input meshes (with optional transforms) are geometrically intersecting.
- Parameters:
target_mesh (DynamicMesh) –
target_transform (Transform) –
other_mesh (DynamicMesh) –
other_transform (Transform) –
debug (GeometryScriptDebug) –
- Returns:
is_intersecting (bool):
- Return type:
- classmethod is_same_mesh_as(target_mesh, other_mesh, options, debug=None) -> (DynamicMesh, is_same_mesh=bool)¶
Returns true if the two input meshes are equivalent under the comparisons defined by the input options.
- Parameters:
target_mesh (DynamicMesh) –
other_mesh (DynamicMesh) –
options (GeometryScriptIsSameMeshOptions) –
debug (GeometryScriptDebug) –
- Returns:
is_same_mesh (bool):
- Return type:
- classmethod measure_distances_between_meshes(target_mesh, other_mesh, options, debug=None) -> (DynamicMesh, max_distance=double, min_distance=double, average_distance=double, root_mean_sqr_deviation=double)¶
Measures the min/max and average closest-point distances between two meshes.
- Parameters:
target_mesh (DynamicMesh) –
other_mesh (DynamicMesh) –
options (GeometryScriptMeasureMeshDistanceOptions) –
debug (GeometryScriptDebug) –
- Returns:
max_distance (double):
min_distance (double):
average_distance (double):
root_mean_sqr_deviation (double):
- Return type:
tuple