class CSG::Polygon

Overview

Represents a convex polygon. The vertices used to initialize a polygon must be coplanar and form a convex loop.

Defined in:

primitives/polygon.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(vertices : Array(CSG::Vertex)) #

[View source]

Instance Method Detail

def clone #

[View source]
def flip #

[View source]
def plane : Plane #

[View source]
def plane=(plane : Plane) #

[View source]
def vertices : Array(Vertex) #

[View source]
def vertices=(vertices : Array(Vertex)) #

[View source]