Blender V4.3
blender::geometry::OverlapMerger Class Reference

Static Public Member Functions

static bool overlap (PackIsland *a, PackIsland *b)
 
static void add_geometry (PackIsland *dest, const PackIsland *source)
 
static PackIslandmerge_islands (const PackIsland *a, const PackIsland *b)
 
static float pack_islands_overlap (const Span< PackIsland * > islands, const UVPackIsland_Params &params)
 

Detailed Description

Definition at line 2157 of file uv_pack.cc.

Member Function Documentation

◆ add_geometry()

static void blender::geometry::OverlapMerger::add_geometry ( PackIsland * dest,
const PackIsland * source )
inlinestatic

◆ merge_islands()

static PackIsland * blender::geometry::OverlapMerger::merge_islands ( const PackIsland * a,
const PackIsland * b )
inlinestatic

Return a new root of the binary tree, with a and b as leaves.

Definition at line 2194 of file uv_pack.cc.

References b, result, and sqrtf.

◆ overlap()

static bool blender::geometry::OverlapMerger::overlap ( PackIsland * a,
PackIsland * b )
inlinestatic

Definition at line 2159 of file uv_pack.cc.

References b, isect_tri_tri_v2(), and blender::geometry::overlap_aabb().

◆ pack_islands_overlap()


The documentation for this class was generated from the following file: