Method ToRelative
ToRelative(Point3D)
Converts a point with coordinates expressed in the absolute frame into the same point with coordinates expressed in this frame.
Declaration
public Point3D ToRelative(Point3D inPoint)
Parameters
| Type | Name | Description |
|---|---|---|
| Point3D | inPoint | Point with coordinates expressed in the absolute frame. |
Returns
| Type | Description |
|---|---|
| Point3D | Point with coordinates expressed in this frame. |
ToRelative(Vector3D)
Converts a vector with coordinates expressed in the absolute frame into the same vector with coordinates expressed in this frame.
Declaration
public Vector3D ToRelative(Vector3D inVector)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3D | inVector | Vector with coordinates expressed in the absolute frame. |
Returns
| Type | Description |
|---|---|
| Vector3D | Vector with coordinates expressed in this frame. |
ToRelative(Direction3D)
Converts a direction with coordinates expressed in the absolute frame into the same direction with coordinates expressed in this frame.
Declaration
public Direction3D ToRelative(Direction3D inDirection)
Parameters
| Type | Name | Description |
|---|---|---|
| Direction3D | inDirection | Direction with coordinates expressed in the absolute frame. |
Returns
| Type | Description |
|---|---|
| Direction3D | Direction with coordinates expressed in this frame. |
ToRelative(Axis3D)
Converts an axis with coordinates expressed in the absolute frame into the same axis with coordinates expressed in this frame.
Declaration
public Axis3D ToRelative(Axis3D inAxis)
Parameters
| Type | Name | Description |
|---|---|---|
| Axis3D | inAxis | Axis with coordinates expressed in the absolute frame. |
Returns
| Type | Description |
|---|---|
| Axis3D | Axis with coordinates expressed in this frame. |
ToRelative(Plane3D)
Converts a plane with coordinates expressed in the absolute frame into the same plane with coordinates expressed in this frame.
Declaration
public Plane3D ToRelative(Plane3D inPlane)
Parameters
| Type | Name | Description |
|---|---|---|
| Plane3D | inPlane | Plane with coordinates expressed in the absolute frame. |
Returns
| Type | Description |
|---|---|
| Plane3D | Plane with coordinates expressed in this frame. |
ToRelative(Frame3D)
Converts a frame with coordinates expressed in the absolute frame into the same frame with coordinates expressed in this frame.
Declaration
public Frame3D ToRelative(Frame3D inFrame)
Parameters
| Type | Name | Description |
|---|---|---|
| Frame3D | inFrame | Frame with coordinates expressed in the absolute frame. |
Returns
| Type | Description |
|---|---|
| Frame3D | Frame with coordinates expressed in this frame. |