Skip to main content

CoordinateSystem

Kind: Class
Domain: Modeling and geometry
Canonical import: from cadflow import CoordinateSystem

Signature

class CoordinateSystem(origin: 'Tuple[float, float, float]' = (0, 0, 0), x_axis: 'Tuple[float, float, float]' = (1, 0, 0), y_axis: 'Tuple[float, float, float]' = (0, 1, 0))

Description

Three-dimensional coordinate system.

Three-dimensional coordinate system.

CadFlow uses a right-handed Z-up coordinate system with the origin at (0, 0, 0): X forward, Y right, Z up.

Parameters

NameTypeRequiredDefaultSource description
origin'Tuple[float, float, float]'no(0, 0, 0)Not explicitly described in the source docstring.
x_axis'Tuple[float, float, float]'no(1, 0, 0)Not explicitly described in the source docstring.
y_axis'Tuple[float, float, float]'no(0, 1, 0)Not explicitly described in the source docstring.

Returns

Type: Any

The source docstring does not declare additional return semantics.

Errors

The source docstring does not declare a narrower exception contract. Invalid types, values, ownership, paths, or backend state may still raise the corresponding public error.

Public members

MemberKindSignatureDescription
transform_pointmethod(self, point: 'np.ndarray') -> 'np.ndarray'See the member signature.
transform_vectormethod(self, vector: 'np.ndarray') -> 'np.ndarray'See the member signature.

Behavior and constraints

  • The contract below is generated from the current public runtime signature. Check domain notes for ownership and workflow constraints.

Import check

from cadflow import CoordinateSystem

See also