Skip to main content

DiscreteFrenetSolver

DiscreteFrenetSolver is a Python package for computing the discrete Frenet frame (TNB frame) of a curve with numerical corrections. It handles edge cases such as straight segments and ensures orthogonality of the resulting frame for discrete curve data.

Installation

pip install discrete-frenet-solver

Usage

import numpy as np
from discrete_frenet_solver import solve_frenet_frame

# Define your discrete curve
curve = np.array([[0, 0, 0], [1, 1, 1], [2, 0, 2], [3, -1, 1]])

# Solve for the Frenet frame
T, N, B = solve_frenet_frame(curve)

print("Tangent vectors:", T)
print("Normal vectors:", N)
print("Binormal vectors:", B)

Metadata

Release files for discrete-frenet-solver 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for discrete-frenet-solver 0.1.0
File Size Uploaded
discrete_frenet_solver-0.1.0.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for discrete-frenet-solver 0.1.0
File Interpreter ABI Platform
discrete_frenet_solver-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.7 kB

Release files / discrete_frenet_solver-0.1.0.tar.gz

Download URL discrete_frenet_solver-0.1.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1390aea58375fe1f11e019976707600bc0471356980d5aceec5ec96a1a75a1c2
BLAKE2b-256 checksum
How to use checksums
ba6aa8a7179bb51b825c5db86d1f52f543e123299902e8fead345e29f0b653b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Release files / discrete_frenet_solver-0.1.0-py3-none-any.whl

Download URL discrete_frenet_solver-0.1.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c39885d1f64fa2aa1bd44ad2f978705e82293021ee5056023c7cd48d87aa89b
BLAKE2b-256 checksum
How to use checksums
9542eb50f4b62457fd5f108c868effebe6b26b75f0a6423424067dee7f5444ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page