-
Notifications
You must be signed in to change notification settings - Fork 0
TwoD
Stephen S. Mitchell edited this page Sep 23, 2025
·
3 revisions
← Back to Classes | Documentation Home | Methods Index | Properties Index
- 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