Struct FitToStructureMargins
Margins that are used when fitting a field device to a structure from the BEV perspective
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: VMS.TPS.Common.Model.Types
Assembly: VMS.TPS.Common.Model.Types.dll
Syntax
public struct FitToStructureMargins
Constructors
FitToStructureMargins(Double)
Constructs a new FitToStructureMargins instance with circular margin type.
Declaration
public FitToStructureMargins(double margin)
Parameters
Type | Name | Description |
---|---|---|
System.Double | margin | Uniform margin for all directions in mm |
FitToStructureMargins(Double, Double, Double, Double)
Constructs a new FitToStructureMargins instance with elliptical margin type.
Declaration
public FitToStructureMargins(double x1, double y1, double x2, double y2)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x1 | Margin x1 in mm |
System.Double | y1 | Margin y1 in mm |
System.Double | x2 | Margin x2 in mm |
System.Double | y2 | Margin y2 in mm |
Fields
Type
Type of margins
Declaration
public readonly FitToStructureMarginType Type
Field Value
Type | Description |
---|---|
FitToStructureMarginType |
X1
Non-negative margin value in mm
Declaration
public readonly double X1
Field Value
Type | Description |
---|---|
System.Double |
X2
Non-negative margin value in mm
Declaration
public readonly double X2
Field Value
Type | Description |
---|---|
System.Double |
Y1
Non-negative margin value in mm
Declaration
public readonly double Y1
Field Value
Type | Description |
---|---|
System.Double |
Y2
Non-negative margin value in mm
Declaration
public readonly double Y2
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. |
Overrides
System.ValueType.ToString()