Blender V5.0
blender::bke::pbvh::uv_islands::UVBorder Struct Reference

#include <pbvh_uv_islands.hh>

Public Attributes

Vector< UVBorderEdgeedges

UVBorder

bool is_ccw () const
void flip_order ()
float outside_angle (const UVBorderEdge &edge) const
void update_indexes (uint64_t border_index)
void remove (int64_t index)
static std::optional< UVBorderextract_from_edges (Vector< UVBorderEdge > &edges)

Detailed Description

Definition at line 252 of file pbvh_uv_islands.hh.

Member Function Documentation

◆ extract_from_edges()

◆ flip_order()

void blender::bke::pbvh::uv_islands::UVBorder::flip_order ( )

Flip the order of the verts, changing the order between CW and CCW.

Definition at line 1180 of file pbvh_uv_islands.cc.

References edges, and update_indexes().

◆ is_ccw()

bool blender::bke::pbvh::uv_islands::UVBorder::is_ccw ( ) const

◆ outside_angle()

float blender::bke::pbvh::uv_islands::UVBorder::outside_angle ( const UVBorderEdge & edge) const

◆ remove()

void blender::bke::pbvh::uv_islands::UVBorder::remove ( int64_t index)

Remove edge from the border. updates the indexes.

Definition at line 1209 of file pbvh_uv_islands.cc.

References edges, and update_indexes().

Referenced by blender::bke::pbvh::uv_islands::extend_at_vert().

◆ update_indexes()

void blender::bke::pbvh::uv_islands::UVBorder::update_indexes ( uint64_t border_index)

Definition at line 1197 of file pbvh_uv_islands.cc.

References edges, i, and next.

Referenced by blender::bke::pbvh::uv_islands::extend_at_vert(), flip_order(), and remove().

Member Data Documentation

◆ edges


The documentation for this struct was generated from the following files: