Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A simple raycast algorithm implementation in Elixir

Notifications You must be signed in to change notification settings

techgaun/ex_raycast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

7 Commits

Repository files navigation

ExRaycast

A simple raycast algorithm implementation in Elixir

ExRaycast is the implementation of ray casting algorithm to determine if a point is in the polygon or not. It also includes a simple implementation that can be used for the cases where there's a hole in the polygon.

This was used to test westar kml using Elixir and is not perfect.

Installation

If available in Hex, the package can be installed as:

  1. Add ex_raycast to your list of dependencies in mix.exs:
```elixir
def deps do
 [{:ex_raycast, "~> 0.1.0"}]
end
```
  1. Ensure ex_raycast is started before your application:
```elixir
def application do
 [applications: [:ex_raycast]]
end
```

About

A simple raycast algorithm implementation in Elixir

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /