[dependencies.num-traits]
version = "0.2"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"
[dependencies.static_aabb2d_index]
version = "2.0"
[features]
default = []
serde = ["dep:serde"]
unsafe_optimizations = ["static_aabb2d_index/unsafe_optimizations"]
[lib]
name = "cavalier_contours"
path = "src/lib.rs"
[package]
authors = ["Buck McCready <jbuckmccready@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["algorithms", "data-structures", "graphics", "mathematics"]
description = "2D polyline/shape library for offsetting, combining, etc."
edition = "2024"
homepage = "https://wwww.cavaliercontours.dev"
keywords = ["algorithm", "2d", "computational", "geometry", "spatial"]
license = "MIT OR Apache-2.0"
name = "cavalier_contours"
readme = "README.md"
repository = "https://github.com/jbuckmccready/cavalier_contours"
resolver = "2"
rust-version = "1.88"
version = "0.7.0"
[[test]]
name = "test_circle_circle_intersect"
path = "tests/test_circle_circle_intersect.rs"
[[test]]
name = "test_line_circle_intersect"
path = "tests/test_line_circle_intersect.rs"
[[test]]
name = "test_line_line_intersect"
path = "tests/test_line_line_intersect.rs"
[[test]]
name = "test_pline_basics"
path = "tests/test_pline_basics.rs"
[[test]]
name = "test_pline_boolean"
path = "tests/test_pline_boolean.rs"
[[test]]
name = "test_pline_contains"
path = "tests/test_pline_contains.rs"
[[test]]
name = "test_pline_parallel_offset"
path = "tests/test_pline_parallel_offset.rs"
[[test]]
name = "test_pline_seg_intersect"
path = "tests/test_pline_seg_intersect.rs"
[[test]]
name = "test_pline_view"
path = "tests/test_pline_view.rs"
[[test]]
name = "test_pline_winding_number"
path = "tests/test_pline_winding_number.rs"
[[test]]
name = "test_shape_parallel_offset"
path = "tests/test_shape_parallel_offset.rs"