Class: Lightwave::LightwaveObject::Polygon

Inherits:
Array
  • Object
show all
Defined in:
lib/lightwave.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#flagsObject

Returns the value of attribute flags.



317
318
319
# File 'lib/lightwave.rb', line 317

def flags
  @flags
end

#pointsObject

Returns the value of attribute points.



318
319
320
# File 'lib/lightwave.rb', line 318

def points
  @points
end

#surface_idObject

Returns the value of attribute surface_id.



319
320
321
# File 'lib/lightwave.rb', line 319

def surface_id
  @surface_id
end

Instance Method Details

#new(poly_set, flags = nil) ⇒ Object



320
321
322
323
# File 'lib/lightwave.rb', line 320

def new(poly_set, flags=nil)
  @points = poly_set
  @flags = flags
end