Struct Frame3D
Represents a geometric 3D frame.
Inherited Members
Namespace: TopSolid.Kernel.Automating
Assembly: TopSolid.Kernel.Automating.dll
Syntax
[DataContract]
[AvailableSinceVersion(7, 6, 0, 0)]
public struct Frame3D
Remarks
This structure is available since v7.6.
Constructors
| Name | Description |
|---|---|
| Frame3D(Point3D, Direction3D, Direction3D, Direction3D) | Initializes a new instance of the Frame3D structure with a specified origin and directions. |
Fields
| Name | Description |
|---|---|
| OXYZ | (O,+X,+Y,+Z) absolute frame. |
| Origin | Frame origin. |
| XDirection | Frame X direction. |
| YDirection | Frame Y direction, orthogonal to |
| ZDirection | Frame Z direction, equal to |
Methods
| Name | Description |
|---|---|
| ToAbsolute(Axis3D) | Converts an axis with coordinates expressed in this frame into the same axis with coordinates expressed in the absolute frame. |
| ToAbsolute(Direction3D) | Converts a direction with coordinates expressed in this frame into the same direction with coordinates expressed in the absolute frame. |
| ToAbsolute(Frame3D) | Converts a frame with coordinates expressed in this frame into the same frame with coordinates expressed in the absolute frame. |
| ToAbsolute(Plane3D) | Converts a plane with coordinates expressed in this frame into the same plane with coordinates expressed in the absolute frame. |
| ToAbsolute(Point3D) | Converts a point with coordinates expressed in this frame into the same point with coordinates expressed in the absolute frame. |
| ToAbsolute(Vector3D) | Converts a vector with coordinates expressed in this frame into the same vector with coordinates expressed in the absolute frame. |
| ToRelative(Axis3D) | Converts an axis with coordinates expressed in the absolute frame into the same axis 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. |
| ToRelative(Frame3D) | Converts a frame with coordinates expressed in the absolute frame into the same frame 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. |
| ToRelative(Point3D) | Converts a point with coordinates expressed in the absolute frame into the same 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. |