class CSG::Vertex
- CSG::Vertex
- Reference
- Object
Overview
Represents a vertex of a polygon.
Defined in:
primitives/vertex.crConstructors
Instance Method Summary
- #clone
-
#flip
Invert all orientation-specific data (e.g.
-
#interpolate(other : Vertex, t : Float64)
Create a new vertex between this vertex and
other
by linearly interpolating all properties using a parameter oft
. - #normal : Vector
- #normal=(normal : Vector)
- #pos : Vector
- #pos=(pos : Vector)
Constructor Detail
Instance Method Detail
def flip
#
Invert all orientation-specific data (e.g. vertex normal). Called when the orientation of a polygon is flipped.
Create a new vertex between this vertex and other
by linearly
interpolating all properties using a parameter of t
. Subclasses should
override this to interpolate additional properties.