Module: Geom

Defined in:
lib/utm.rb,
lib/geom.rb,
lib/latlong.rb,
lib/point3d.rb,
lib/vector3d.rb,
lib/boundingbox.rb,
lib/polygonmesh.rb,
lib/transformation.rb

Defined Under Namespace

Classes: BoundingBox, LatLong, Point3d, PolygonMesh, Transformation, UTM, Vector3d

Class Method Summary collapse

Class Method Details

.closest_points(line1, line2) ⇒ Array(Geom::Point3d, Geom::Point3d)

Parameters:

Returns:


7
8
# File 'lib/geom.rb', line 7

def self.closest_points(line1, line2)
end

.fit_plane_to_points(*points) ⇒ Array(Geom::Point3d, Geom::Point3d)

Parameters:

Returns:


14
15
# File 'lib/geom.rb', line 14

def self.fit_plane_to_points(*points)
end

.intersect_line_lineGeom::Point3d, Nil

Parameters:

Returns:


21
22
# File 'lib/geom.rb', line 21

def self.intersect_line_line
end

.intersect_line_plane(line, plane) ⇒ Geom::Point3d, Nil

Parameters:

Returns:


28
29
# File 'lib/geom.rb', line 28

def self.intersect_line_plane(line, plane)
end

.intersect_plane_plane(plane1, plane2) ⇒ Geom::Point3d, Nil

Parameters:

Returns:


35
36
# File 'lib/geom.rb', line 35

def self.intersect_plane_plane(plane1, plane2)
end

.linear_combination(weight1, point1, weight2, point2) ⇒ Geom::Point3d .linear_combination(weight1, vector1, weight2, vector2) ⇒ Geom::Vector3d

Overloads:


53
54
# File 'lib/geom.rb', line 53

def self.linear_combination(weight1, point1, weight2, point2)
end

.point_in_polygon_2D(point, polygon, border) ⇒ Boolean

Parameters:

Returns:

  • (Boolean)

61
62
# File 'lib/geom.rb', line 61

def self.point_in_polygon_2D(point, polygon, border)
end