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:
Returns:

is_intersecting (bool):

Return type:

bool

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:
Returns:

is_same_mesh (bool):

Return type:

bool

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:
Returns:

max_distance (double):

min_distance (double):

average_distance (double):

root_mean_sqr_deviation (double):

Return type:

tuple