| Class | Proj4::Point |
| In: |
lib/proj4.rb
|
| Parent: | Object |
This class represents a point in either lon/lat or projected x/y coordinates.
| x | [RW] | X coordinate or longitude |
| y | [RW] | Y coordinate or latitude |
| z | [RW] | Z coordinate (height) |
Create new Proj4::Point object from coordinates.
# File lib/proj4.rb, line 328
328: def initialize(x, y, z=0)
329: @x = x
330: @y = y
331: @z = z
332: end