CoordinateSystem Class |
[This is preliminary documentation and is subject to change.]
Namespace: Infrastructure.Geometry
public sealed class CoordinateSystem
The CoordinateSystem type exposes the following members.
| Name | Description | |
|---|---|---|
| CoordinateSystem |
Create a default coordinate system that has its origin in (0,0,0) and the XYZ axis are all default
| |
| CoordinateSystem(Point) |
Create a default coordinate that has its origin in the provided point. The XYZ axis are all default
| |
| CoordinateSystem(Point, Vector) |
Create a coordinate system with given origin and vector that describes the X-axis.
The Y- and Z-axis are determined based on the right-hand rule
| |
| CoordinateSystem(Point, Vector, Vector, Vector) |
Create a coordinate system with given origin and XYZ axis
|
| Name | Description | |
|---|---|---|
| Origin |
The origin of the coordinate system
| |
| X |
Vector describing the X-axis of the coordinate system
| |
| Y |
Vector describing the Y-axis of the coordinate system
| |
| Z |
Vector describing the Z-axis of the coordinate system
|
| Name | Description | |
|---|---|---|
| ChangeOrientation |
Changes the orientation of the coordinate system. This includes translations and rotations
| |
| ChangeOrigin |
Changes the origin of the coordinate system and returns it as a new coordinate system
| |
| SetAxisAsZ |
Creates a new coordinate system in which the provided axis becomes the Z-axis
| |
| SwapXYZ |
Create a new coordinate system in which the XYZ axis are swapped and the origin remains.
X becomes Y, Y becomes Z and Z becomes X
| |
| Transform |
Create a new point by applying the provided transformation vector on the origin of the coordinate system
|