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.crEnum 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
-
#no_connection?
Returns
trueif this enum value equalsNoConnection -
#previous_ac?
Returns
trueif this enum value equalsPreviousAC -
#previous_bc?
Returns
trueif this enum value equalsPreviousBC