Skip to content

Class uipc::geometry::AttributeCopy

ClassList > uipc > geometry > AttributeCopy

Public Types

Type Name
enum CopyType

Public Functions

Type Name
AttributeCopy () noexcept
Dst[i] = Src[i].
CopyType type () noexcept const

Public Static Functions

Type Name
AttributeCopy pair (span< const std::pair< SizeT, SizeT > > pairs) noexcept
Dst[Pairs[i].first] = Src[Pairs[i].second].
AttributeCopy pull (span< const SizeT > mapping) noexcept
Dst[i] = Src[Mapping[i]].
AttributeCopy push (span< const SizeT > mapping) noexcept
Dst[Mapping[i]] = Src[i].
AttributeCopy range (SizeT dst_offset, SizeT src_offset, SizeT count) noexcept
Dst[dst_offset + i] = Src[src_offset + i] $$ i \in [0, count) $$.

Public Types Documentation

enum CopyType

enum uipc::geometry::AttributeCopy::CopyType {
    None = 0,
    SameDim,
    Range,
    Pull,
    Push,
    Pair
};

Public Functions Documentation

function AttributeCopy

uipc::geometry::AttributeCopy::AttributeCopy () noexcept

function type

CopyType uipc::geometry::AttributeCopy::type () noexcept const

Public Static Functions Documentation

function pair

static AttributeCopy uipc::geometry::AttributeCopy::pair (
    span< const std::pair< SizeT, SizeT > > pairs
) noexcept

function pull

static AttributeCopy uipc::geometry::AttributeCopy::pull (
    span< const SizeT > mapping
) noexcept

function push

static AttributeCopy uipc::geometry::AttributeCopy::push (
    span< const SizeT > mapping
) noexcept

function range

static AttributeCopy uipc::geometry::AttributeCopy::range (
    SizeT dst_offset,
    SizeT src_offset,
    SizeT count
) noexcept


The documentation for this class was generated from the following file include/uipc/geometry/attribute_copy.h