Struct AxisAlignedMargins
Represents margins aligned to the axes of the image coordinate system, in mm. Negative margins are not allowed, but it is possible to specify whether the margins represent an inner or outer margin.
Inherited Members
Namespace: VMS.TPS.Common.Model.Types
Assembly: VMS.TPS.Common.Model.Types.dll
Syntax
public struct AxisAlignedMargins
Constructors
AxisAlignedMargins(StructureMarginGeometry, Double, Double, Double, Double, Double, Double)
Constructs a new AxisAlignedMargins instance. The given margins are aligned to the axes of the image coordinate system, in mm.
Declaration
public AxisAlignedMargins(StructureMarginGeometry geometry, double x1, double y1, double z1, double x2, double y2, double z2)
Parameters
Type | Name | Description |
---|---|---|
StructureMarginGeometry | geometry | Specifies whether the margin operation expands (outer margin) or shrinks (inner margin) the volume. |
System.Double | x1 | A non-negative value defining the margin towards the negative X axis, in mm. |
System.Double | y1 | A non-negative value defining the margin towards the negative Y axis, in mm. |
System.Double | z1 | A non-negative value defining the margin towards the negative Z axis, in mm. |
System.Double | x2 | A non-negative value defining the margin towards the positive X axis, in mm. |
System.Double | y2 | A non-negative value defining the margin towards the positive Y axis, in mm. |
System.Double | z2 | A non-negative value defining the margin towards the positive Z axis, in mm. |
Fields
Geometry
Specifies whether the margin operation expands (outer margin) or shrinks (inner margin) the volume.
Declaration
public readonly StructureMarginGeometry Geometry
Field Value
Type | Description |
---|---|
StructureMarginGeometry |
X1
A non-negative value defining the margin towards the negative X axis, in mm.
Declaration
public readonly double X1
Field Value
Type | Description |
---|---|
System.Double |
X2
A non-negative value defining the margin towards the positive X axis, in mm.
Declaration
public readonly double X2
Field Value
Type | Description |
---|---|
System.Double |
Y1
A non-negative value defining the margin towards the negative Y axis, in mm.
Declaration
public readonly double Y1
Field Value
Type | Description |
---|---|
System.Double |
Y2
A non-negative value defining the margin towards the positive Y axis, in mm.
Declaration
public readonly double Y2
Field Value
Type | Description |
---|---|
System.Double |
Z1
A non-negative value defining the margin towards the negative Z axis, in mm.
Declaration
public readonly double Z1
Field Value
Type | Description |
---|---|
System.Double |
Z2
A non-negative value defining the margin towards the positive Z axis, in mm.
Declaration
public readonly double Z2
Field Value
Type | Description |
---|---|
System.Double |
Methods
ToString()
A string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |