# Useful geometry methods

Some methods are used again and again in game development - we present some of these useful functions for your usage.

### Bresenhams Line Algorithm

Intermediate 1 years ago (04:00:57pm Sat 4th Feb, 2017)Calculating the points used to create a line between 2 sets of coordinates in 2D space.

Javascript Function Geometry### Points on Arc Circumference

Intermediate 1 years ago (04:30:08pm Mon 30th Jan, 2017)Find all the points that fall on the circumference of an arc, or specific section of a circle.

Javascript Function Geometry### Point given Angle and Distance

Intermediate 1 years ago (08:12:26am Sun 29th Jan, 2017)Method for plotting a point given a start point and an angle and distance.

Javascript Function Geometry### Angle between points

Intermediate 1 years ago (08:03:48am Sun 29th Jan, 2017)Method for easily finding the angle between 2 points in 2D space.

Javascript Function Geometry### Get Distance

Intermediate 1 years ago (02:10:45pm Wed 25th Jan, 2017)Find the distance between two points when given their coordinates.

Javascript Function Geometry### Rectangles Intersection

Intermediate 1 years ago (04:18:01pm Tue 24th Jan, 2017)A simple method to test if two rectangles are colliding in 2D space.

Javascript Function Geometry### Points on Line

Intermediate 1 years ago (04:13:03pm Tue 24th Jan, 2017)Find all the points a line between two coordinates in 2D space touches.

Javascript Function Geometry### Points on Circumference

Intermediate 1 years ago (04:07:37pm Tue 24th Jan, 2017)Find all the points that make the circumference of a circle on a 2D plane.

Javascript Function Geometry### Point in Triangle

Intermediate 1 years ago (03:53:33pm Tue 24th Jan, 2017)A method for determining if a coordinate falls within the bounds of a given Triangle on a 2D plane.

Javascript Function Geometry### Point in Rectangle

Intermediate 1 years ago (03:47:43pm Tue 24th Jan, 2017)A simple method for testing if a set of coordinates fall within the bounds of a given rectangle.

Javascript Function Geometry