This repository was archived by the owner on Apr 25, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
TwoD
Stephen S. Mitchell edited this page Apr 25, 2026
·
4 revisions
- Namespace:
AlibreScript.API - Kind:
Class
Gets a vector that is perpendicular to a vector
def GetPerpendicularVector(vector):
"""
Gets a vector that is perpendicular to a vector
Args:
vector (list): Vector [X, Y]
Returns:
Vector that is perpendicular [X, Y]
"""Normalizes a vector
def NormalizeVector(vector):
"""
Normalizes a vector
Args:
vector (list): Vector [X, Y]
Returns:
Normalized vector [X, Y]
"""Rotates a point
def RotatePoint(point, angle):
"""
Rotates a point
Args:
point (list): Point to rotate as [X, Y]
angle (float): Angle to rotate in degrees
Returns:
Rotated point as [RX, RY]
"""Documentation Home | Classes | Methods Index | Properties Index | Members Index
Generated on 2025-09-23 02:06