enum

Hpdf::ShadingEdgeFlag

Inherits Enum / Comparable / Value / Object

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

Constants

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 methods

no_connection?

Returns true if this enum value equals NoConnection

Source
previous_ac?

Returns true if this enum value equals PreviousAC

Source
previous_bc?

Returns true if this enum value equals PreviousBC

Source