Table of Contents

Struct DuplicateSamplePoint

Data about duplicated points, meaning a couple of points sharing the same position. Such duplicated points are used to store different normals or different U coordinates at the same position

public readonly struct DuplicateSamplePoint

Constructors

DuplicateSamplePoint(int, int, bool)

public DuplicateSamplePoint(int startIndex, int endIndex, bool isHardEdge)

Parameters

startIndex int
endIndex int
isHardEdge bool

Properties

EndIndex

The index of the second point

public int EndIndex { get; }

Property Value

int

IsHardEdge

When true, both points don't share the same normal

public bool IsHardEdge { get; }

Property Value

bool

StartIndex

The index of the first point

public int StartIndex { get; }

Property Value

int

Methods

Equals(DuplicateSamplePoint)

public bool Equals(DuplicateSamplePoint other)

Parameters

other DuplicateSamplePoint

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 ==(DuplicateSamplePoint, DuplicateSamplePoint)

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

Parameters

left DuplicateSamplePoint
right DuplicateSamplePoint

Returns

bool

operator !=(DuplicateSamplePoint, DuplicateSamplePoint)

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

Parameters

left DuplicateSamplePoint
right DuplicateSamplePoint

Returns

bool