class CSG::Plane

Overview

Represents a plane in 3D space.

Defined in:

primitives/plane.cr

Constant Summary

BACK = 2
COPLANAR = 0
EPSILON = 1e-5
FRONT = 1
SPANNING = 3

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(normal : Vector, w : Float64) #

[View source]

Class Method Detail

def self.from_points(a : Vector, b : Vector, c : Vector) #

[View source]

Instance Method Detail

def clone #

[View source]
def flip #

[View source]
def normal : Vector #

[View source]
def normal=(normal : Vector) #

[View source]
def split_polygon(polygon : Polygon, coplanarFront : Array(Polygon), coplanarBack : Array(Polygon), front : Array(Polygon), back : Array(Polygon)) #

[View source]
def w : Float64 #

[View source]
def w=(w : Float64) #

[View source]