Table of Contents

Struct SamplePointsPatch

A patch of vertices to be connected by triangles (i.e. same Material and no hard edges within a patch)

public struct SamplePointsPatch

Remarks

The index values refer to rasterized points of CGShape

Constructors

SamplePointsPatch(int)

public SamplePointsPatch(int start)

Parameters

start int

Fields

Count

Number of Sample Points of the patch

public int Count

Field Value

int

Start

First Sample Point Index of the patch

public int Start

Field Value

int

Properties

End

Last Sample Point Index of the patch

public int End { get; set; }

Property Value

int

TriangleCount

public int TriangleCount { get; }

Property Value

int

Methods

Equals(SamplePointsPatch)

public bool Equals(SamplePointsPatch other)

Parameters

other SamplePointsPatch

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(SamplePointsPatch, SamplePointsPatch)

public static bool operator ==(SamplePointsPatch left, SamplePointsPatch right)

Parameters

left SamplePointsPatch
right SamplePointsPatch

Returns

bool

operator !=(SamplePointsPatch, SamplePointsPatch)

public static bool operator !=(SamplePointsPatch left, SamplePointsPatch right)

Parameters

left SamplePointsPatch
right SamplePointsPatch

Returns

bool