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

#include <pbvh_uv_islands.hh>

Public Member Functions

UVBorderEdge
 UVBorderEdge (UVEdge *edge, UVPrimitive *uv_primitive)
UVVertexget_uv_vertex (int index)
const UVVertexget_uv_vertex (int index) const
const UVVertexget_other_uv_vertex () const
float length () const

Public Attributes

UVEdgeedge
bool tag = false
UVPrimitiveuv_primitive
bool reverse_order = false
int64_t index = -1
int64_t prev_index = -1
int64_t next_index = -1
int64_t border_index = -1

Detailed Description

Definition at line 202 of file pbvh_uv_islands.hh.

Constructor & Destructor Documentation

◆ UVBorderEdge()

blender::bke::pbvh::uv_islands::UVBorderEdge::UVBorderEdge ( UVEdge * edge,
UVPrimitive * uv_primitive )
explicit

Definition at line 1400 of file pbvh_uv_islands.cc.

References edge, and uv_primitive.

Member Function Documentation

◆ get_other_uv_vertex()

const UVVertex * blender::bke::pbvh::uv_islands::UVBorderEdge::get_other_uv_vertex ( ) const

Get the uv vertex from the primitive that is not part of the edge.

Definition at line 1417 of file pbvh_uv_islands.cc.

References edge, and uv_primitive.

Referenced by blender::bke::pbvh::uv_islands::UVBorder::is_ccw().

◆ get_uv_vertex() [1/2]

◆ get_uv_vertex() [2/2]

const UVVertex * blender::bke::pbvh::uv_islands::UVBorderEdge::get_uv_vertex ( int index) const

Definition at line 1411 of file pbvh_uv_islands.cc.

References edge, index, and reverse_order.

◆ length()

float blender::bke::pbvh::uv_islands::UVBorderEdge::length ( ) const

Definition at line 1422 of file pbvh_uv_islands.cc.

References edge, and len_v2v2().

Member Data Documentation

◆ border_index

int64_t blender::bke::pbvh::uv_islands::UVBorderEdge::border_index = -1

Definition at line 212 of file pbvh_uv_islands.hh.

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

◆ edge

◆ index

int64_t blender::bke::pbvh::uv_islands::UVBorderEdge::index = -1

◆ next_index

int64_t blender::bke::pbvh::uv_islands::UVBorderEdge::next_index = -1

Definition at line 211 of file pbvh_uv_islands.hh.

◆ prev_index

int64_t blender::bke::pbvh::uv_islands::UVBorderEdge::prev_index = -1

◆ reverse_order

bool blender::bke::pbvh::uv_islands::UVBorderEdge::reverse_order = false

◆ tag

bool blender::bke::pbvh::uv_islands::UVBorderEdge::tag = false

◆ uv_primitive

UVPrimitive* blender::bke::pbvh::uv_islands::UVBorderEdge::uv_primitive

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