Class Turbine3DModel
Namespace: Scripting
Syntax
public class Turbine3DModel
Constructors
Turbine3DModel()
Creates an instance of the Turbine3DModel class.
Declaration
public Turbine3DModel()
Properties
DiskDepth
Declaration
public double DiskDepth { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
TowerPositionOffset
Declaration
public double TowerPositionOffset { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
TowerTopDiameter
Declaration
public double TowerTopDiameter { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
Equals(Turbine3DModel)
Tests a Turbine3DModel against this current Turbine3DModel for equality.
Declaration
public bool Equals(Turbine3DModel val)
Parameters
Type | Name | Description |
---|---|---|
Turbine3DModel | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current Turbine3DModel for equality.
Declaration
public override bool Equals(object toCompare)
Parameters
Type | Name | Description |
---|---|---|
System.Object | toCompare |
Returns
Type | Description |
---|---|
System.Boolean | True if object is equal otherwise false is returned. |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Gets the hash code for this object.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | The hash code for this object. |
Overrides
System.Object.GetHashCode()
Operators
Equality(Turbine3DModel, Turbine3DModel)
Tests a Turbine3DModel against this current Turbine3DModel for equality.
Declaration
public static bool operator ==(Turbine3DModel a, Turbine3DModel b)
Parameters
Type | Name | Description |
---|---|---|
Turbine3DModel | a | |
Turbine3DModel | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(Turbine3DModel, Turbine3DModel)
Tests a Turbine3DModel against this current Turbine3DModel for inequality.
Declaration
public static bool operator !=(Turbine3DModel a, Turbine3DModel b)
Parameters
Type | Name | Description |
---|---|---|
Turbine3DModel | a | |
Turbine3DModel | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |