Geodesic::Face (Class)

In: Geodesic.rb
Parent: Object

Represents a triplet of Vectors defining a face

Methods

new   normal   normal_out?   points   reverse!   scale_by   subdivide_by   to_s  

Attributes

a  [R] 
b  [R] 
c  [R] 

Public Class methods

Public Instance methods

Return the normal of this face

Returns true if the normal of the face points away from the origin

Reverse the direction of the face’s normal by swapping the first and last points

Scale each point by the specified factor

Subdivide the face into (frequency+1)^2 sub-triangles

Returns an array of new Face instances

Note that the points shared by common faces will be pointers to the same vector instance

[Validate]