Constructor SmartFrame3D
SmartFrame3D(SmartFrame3DType, Frame3D?, double?, double?, double?, double?, double?, double?, ElementId, ItemLabel, bool)
Initializes a new instance of the SmartFrame3D class.
Declaration
public SmartFrame3D(SmartFrame3DType inType, Frame3D? inGeometry, double? inExtentXMin, double? inExtentXMax, double? inExtentYMin, double? inExtentYMax, double? inExtentZMin, double? inExtentZMax, ElementId inElementId, ItemLabel inItemLabel, bool inIsReversed)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartFrame3DType | inType | Type of smart frame. |
| Frame3D? | inGeometry | Geometry, or null if unknown. |
| double? | inExtentXMin | Minimum X coordinate of extent, or null if unknown. |
| double? | inExtentXMax | Maximum X coordinate of extent, or null if unknown. |
| double? | inExtentYMin | Minimum Y coordinate of extent, or null if unknown. |
| double? | inExtentYMax | Maximum Y coordinate of extent, or null if unknown. |
| double? | inExtentZMin | Minimum Z coordinate of extent, or null if unknown. |
| double? | inExtentZMax | Maximum Z coordinate of extent, or null if unknown. |
| ElementId | inElementId | Identifier of providing element, or Empty for none. |
| ItemLabel | inItemLabel | Label of providing element item, or Empty for none. |
| bool | inIsReversed | Provided frame Z direction is to be reversed. |
SmartFrame3D(Frame3D, double, double, double, double, double, double)
Initializes a new instance of the SmartFrame3D class of type Basic.
Declaration
public SmartFrame3D(Frame3D inGeometry, double inExtentXMin, double inExtentXMax, double inExtentYMin, double inExtentYMax, double inExtentZMin, double inExtentZMax)
Parameters
| Type | Name | Description |
|---|---|---|
| Frame3D | inGeometry | Geometry. |
| double | inExtentXMin | Minimum X coordinate of extent. |
| double | inExtentXMax | Maximum X coordinate of extent. |
| double | inExtentYMin | Minimum Y coordinate of extent. |
| double | inExtentYMax | Maximum Y coordinate of extent. |
| double | inExtentZMin | Minimum Z coordinate of extent. |
| double | inExtentZMax | Maximum Z coordinate of extent. |
SmartFrame3D(ElementId, bool)
Initializes a new instance of the SmartFrame3D class of type Element.
Declaration
public SmartFrame3D(ElementId inElementId, bool inIsReversed)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of providing element. |
| bool | inIsReversed | Provided frame Z direction is to be reversed. |
SmartFrame3D(ElementId, ItemLabel, bool)
Initializes a new instance of the SmartFrame3D class of type Item.
Declaration
public SmartFrame3D(ElementId inElementId, ItemLabel inItemLabel, bool inIsReversed)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of providing element. |
| ItemLabel | inItemLabel | Label of providing element item. |
| bool | inIsReversed | Provided frame Z direction is to be reversed. |
SmartFrame3D(SmartPoint3D, SmartDirection3D, bool, SmartDirection3D)
Initializes a new instance of the SmartFrame3D class using a point and two directions.
Declaration
public SmartFrame3D(SmartPoint3D inOriginPoint, SmartDirection3D inXDirection, bool inIsYDirection, SmartDirection3D inYOrZDirection)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartPoint3D | inOriginPoint | The origin point. |
| SmartDirection3D | inXDirection | The x direction. |
| bool | inIsYDirection | If set to |
| SmartDirection3D | inYOrZDirection | The y or z direction. |
SmartFrame3D(SmartFrame3D, SmartDirection3D, SmartReal)
Initializes a new instance of the SmartFrame3D class as an offset frame.
Declaration
public SmartFrame3D(SmartFrame3D inReferenceFrame, SmartDirection3D inDirection, SmartReal inDistance)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartFrame3D | inReferenceFrame | Reference frame. |
| SmartDirection3D | inDirection | Direction. |
| SmartReal | inDistance | Offset distance. |
SmartFrame3D(SmartFrame3D, SmartAxis3D, SmartReal)
Initializes a new instance of the SmartFrame3D class as a pivoted frame.
Declaration
public SmartFrame3D(SmartFrame3D inReferenceFrame, SmartAxis3D inRotationAxis, SmartReal inRotationAngle)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartFrame3D | inReferenceFrame | Reference frame. |
| SmartAxis3D | inRotationAxis | Rotation axis. |
| SmartReal | inRotationAngle | Rotation angle. |
SmartFrame3D(SmartPoint3D, SmartPoint3D, SmartPoint3D)
Initializes a new instance of the SmartFrame3D class as frame by three points.
Declaration
public SmartFrame3D(SmartPoint3D inOrigin, SmartPoint3D inPointTowardsX, SmartPoint3D inPointTowardsY)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartPoint3D | inOrigin | Origin point. |
| SmartPoint3D | inPointTowardsX | Point towards X. |
| SmartPoint3D | inPointTowardsY | Point towards Y. |
SmartFrame3D(SmartPlane3D, SmartPlane3D, SmartPlane3D, SmartReal, SmartReal)
Initializes a new instance of the SmartFrame3D class as frame by three planes.
Declaration
public SmartFrame3D(SmartPlane3D inOXYPlane, SmartPlane3D inFirstPlane, SmartPlane3D inSecondPlane, SmartReal inFirstDistance, SmartReal inSecondDistance)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartPlane3D | inOXYPlane | Oxy plane. |
| SmartPlane3D | inFirstPlane | First plane. |
| SmartPlane3D | inSecondPlane | Secônd plane. |
| SmartReal | inFirstDistance | Distance to the first plane. |
| SmartReal | inSecondDistance | Distance to the second plane. |
SmartFrame3D(SmartPlane3D, SmartPoint3D, SmartAxis3D, SmartDirection3D)
Initializes a new instance of the SmartFrame3D class as frame on a plane.
Declaration
public SmartFrame3D(SmartPlane3D inOXYPlane, SmartPoint3D inProjectedPoint, SmartAxis3D inIntersectionAxis, SmartDirection3D inXDirection)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartPlane3D | inOXYPlane | Oxy plane. |
| SmartPoint3D | inProjectedPoint | Projected Point |
| SmartAxis3D | inIntersectionAxis | Intersection axis. |
| SmartDirection3D | inXDirection | X Direction. |