Click or drag to resize

CoordinateSystem Class

[This is preliminary documentation and is subject to change.]

Inheritance Hierarchy
SystemObject
  Infrastructure.GeometryCoordinateSystem

Namespace:  Infrastructure.Geometry
Assembly:  Infrastructure.Geometry (in Infrastructure.Geometry.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public sealed class CoordinateSystem

The CoordinateSystem type exposes the following members.

Constructors
  NameDescription
Public methodCoordinateSystem
Create a default coordinate system that has its origin in (0,0,0) and the XYZ axis are all default
Public methodCoordinateSystem(Point)
Create a default coordinate that has its origin in the provided point. The XYZ axis are all default
Public methodCoordinateSystem(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
Public methodCoordinateSystem(Point, Vector, Vector, Vector)
Create a coordinate system with given origin and XYZ axis
Top
Properties
  NameDescription
Public propertyOrigin
The origin of the coordinate system
Public propertyX
Vector describing the X-axis of the coordinate system
Public propertyY
Vector describing the Y-axis of the coordinate system
Public propertyZ
Vector describing the Z-axis of the coordinate system
Top
Methods
  NameDescription
Public methodChangeOrientation
Changes the orientation of the coordinate system. This includes translations and rotations
Public methodChangeOrigin
Changes the origin of the coordinate system and returns it as a new coordinate system
Public methodSetAxisAsZ
Creates a new coordinate system in which the provided axis becomes the Z-axis
Public methodSwapXYZ
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
Public methodTransform
Create a new point by applying the provided transformation vector on the origin of the coordinate system
Top
See Also