enum Hpdf::ShadingEdgeFlag

Overview

edge connectivity flag used when adding vertices to a Shading mesh. Controls how each new vertex connects to the previous triangle.

Defined in:

hpdf/enum.cr

Enum Members

NoConnection = 0

first vertex of a new standalone triangle — no shared edge

PreviousBC = 1

new vertex connects to the edge between vertices B and C of the previous triangle

PreviousAC = 2

new vertex connects to the edge between vertices A and C of the previous triangle

Instance Method Summary

Instance Method Detail

def no_connection? #

Returns true if this enum value equals NoConnection


[View source]
def previous_ac? #

Returns true if this enum value equals PreviousAC


[View source]
def previous_bc? #

Returns true if this enum value equals PreviousBC


[View source]