Skip to main content

rotate_plane_3d

Compute the translation and rotation of a point-normal plane in 3D space.

Installation

pip install rotate_plane_3d

Usage

import numpy as np
from rotate_plane_3d import get_rotation_matrix
from rotate_plane_3d import transform_plane

# Original plane
A: Vector3D = np.array([1.0, 2.0, 3.0])
B: Vector3D = np.array([0.0, 0.0, 1.0])

# Transformation
trans: Vector3D = np.array([5.0, -1.0, 2.0])
rot: Matrix3x3 = get_rotation_matrix(np.pi/2, 0.0, 0.0)

new_A, new_B = transform_plane(A, B, rot, trans)

print("New point A:\n", np.round(new_A, 4))
print("New normal B:\n", np.round(new_B, 4))

Metadata

Release files for rotate-plane-3d 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 rotate-plane-3d 0.1.0
File Size Uploaded Provenance Actions
rotate_plane_3d-0.1.0.tar.gz 2.5 kB Without provenance Details for rotate_plane_3d-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rotate-plane-3d 0.1.0
File Interpreter ABI Platform Actions
rotate_plane_3d-0.1.0-py3-none-any.whl Python 3 none any Details for rotate_plane_3d-0.1.0-py3-none-any.whl

Total release size: 6.0 kB

Release files / rotate_plane_3d-0.1.0.tar.gz

Download URL rotate_plane_3d-0.1.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
17b47ad2fd3afaf2fdf1b3c5a674418677d02af89353c09e46413cb176306454
BLAKE2b-256 checksum
How to use checksums
fe837d2d9ce196329aeede24ecd96186207c6e0169763bae473f646255fd65db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.2 CPython/3.13.12 Windows/11

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

Download URL rotate_plane_3d-0.1.0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
789965862899686b7f4bc4bcdc5c3df2e02900064e94951b45058921696a199e
BLAKE2b-256 checksum
How to use checksums
1ad7c8385a39d6f96cef3c455eb7792c96ed415873d4bae3568c2acc3789c72d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.2 CPython/3.13.12 Windows/11

Security for rotate-plane-3d 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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