Method: Geometry::VertexRing#push

Defined in:
lib/geometry/polygon.rb

#push(point, type) ⇒ Object

Parameters:

  • point (Point)

    The Point to push

  • type (Integer)

    The vertex type: 1 is inside, 0 is boundary, -1 is outside



354
355
356
# File 'lib/geometry/polygon.rb', line 354

def push(point, type)
    @vertices << {:vertex => point, :type => type}
end