Skip to content
forked from fransay/shapelib

simple euclidean geometry library for scientific computation in go

License

Notifications You must be signed in to change notification settings

0xdbdb/shapelib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shapelib 📚

Shapelib is a simple library designed to provide geometrical functions for general scientific computations in go.

DON'T USE LIB YET.

Geometry 📐

Geometry is one of the oldest branches of mathematics, it concerned with the properties of space such as distance, shape, size and relative positioning of figures. A high level classification shall render the field into two categories. They are Euclidean geometry non-euclidean geometry. Euclidean geometry is primarily concerned with the fundamental notion of points, lines and planes.Non-Euclidean is mostly concerned with the study of surfaces which are not flat, straight lines are not usual in non-euclidean engagements ...Read More

Fundamental Objects of Geometry

Three fundamental objects of geometry includes point, lines and polygon, points are the most fundamental blocks of geometry.

Point

A point is a primitive notion that models an exact location in space and has no length, width or thickness. Points are the basic building blocks of every geometric figure, a point is represented in space by its spatial dimensions as (x,y).
Point

Properties

1. No width or thickness 
2. No length
3. No centroid

Line Segment

A line segment is a line defined by two distinct points in space.
line segment

Properties

1. Length
2. Midpoint
3. Bearing

Line String

Line string is a one dimensional contiguous representation of line segments and the sequences of points connecting them.
line string

Properties

1. Length
2. Midpoint
3. Bearing

Polygon

A plane figure that is bounded by a finite chain of line segment closing in a loop to form a closed chain.
Polygon

Properties

1. Area
2. Centroid
3. Perimeter
4. Internal Angle
5. External Angle

About

simple euclidean geometry library for scientific computation in go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%