Click or drag to resize

Pressure Structure

Represents the force exerted by a fluid over a defined area.
Inheritance Hierarchy
SystemObject
  SystemValueType
    InnerDrive.QuantitativePressure

Namespace: InnerDrive.Quantitative
Assembly: InnerDrive.Quantitative (in InnerDrive.Quantitative.dll) Version: 5.0.8475.0
Syntax
C#
[SerializableAttribute]
[JsonObjectAttribute(ItemTypeNameHandling = TypeNameHandling.Auto)]
public struct Pressure : IAdditionOperators<Pressure, Pressure, Pressure>, 
	IAdditionOperators<Pressure, double, Pressure>, IAdditionOperators<Pressure, int, Pressure>, 
	ICloneable, IComparable, IComparable<Pressure>, IComparisonOperators<Pressure, Pressure, bool>, 
	IEqualityOperators<Pressure, Pressure, bool>, IComparisonOperators<Pressure, double, bool>, 
	IEqualityOperators<Pressure, double, bool>, IConvertible<Pressure>, 
	IDivisionOperators<Pressure, double, Pressure>, IDivisionOperators<Pressure, int, Pressure>, 
	IEquatable<Pressure>, IMeasurable, IFormattable, IMinMaxValue<Pressure>, 
	IMultiplyOperators<Pressure, double, Pressure>, IMultiplyOperators<Pressure, int, Pressure>, 
	ISubtractionOperators<Pressure, Pressure, Pressure>, ISubtractionOperators<Pressure, double, Pressure>, 
	ISubtractionOperators<Pressure, int, Pressure>, IUnaryNegationOperators<Pressure, Pressure>, 
	ISpanFormattable

The Pressure type exposes the following members.

Constructors
 NameDescription
Public methodPressure(Double) Creates a new instance of Pressure with a particular value.
Public methodPressure(Double, Type) Creates a new instance of Pressure with a particular value and Unit whose Type is specified
Public methodCode examplePressure(Mass, Area) Creates a new Pressure whose value is the multiple of three Length values.
Public methodCode examplePressure(Double, Unit, MetricExponent) Creates a new instance of Pressure with a particular value and Unit assuming that value is already raised or lowered to the power of exponent.
Top
Properties
 NameDescription
Public propertyAccuracy Represents the degree confidence that the quantity represented equals the quantity actually measured, controlling how the CompareTo<T> method behaves.
Public propertyDefaultUnit Gets the Type of the Unit in which the IMeasurableclass is denominated.
Public propertyStatic memberMaxValueGets the maximum value of the current type.
Public propertyStatic memberMinValueGets the minimum value of the current type.
Public propertyName Gets the name of the type of measurement.
Public propertyPrecision Represents the range within which the measurement is correct, controlling how the ToString() method behaves.
Public propertyUnit Gets the Unit in which the IMeasurable object is denominated.
Public propertyValue Gets or sets the quantity of units represented by the IMeasurable object.
Top
Methods
 NameDescription
Public methodStatic memberAdd(Pressure, Pressure) Adds two instances of Pressure together.
Public methodStatic memberAdd(Pressure, Double) Adds an instance of Pressure to an instance of Double.
Public methodCloneCreates a new object that is a copy of the current instance.
Public methodCompareToCompares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodConvertTo(Type) Converts the instance into a new IMeasurable instance denominated in the measurement units provided.
Public methodConvertTo(Unit) Converts the instance into a new instance of the same type denominated in the measurement units provided.
Public methodStatic memberDivide Divides an instance of Pressure by a double-precision value.
Public methodEquals(Object)Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object))
Public methodEquals(Pressure)Indicates whether the current object is equal to another object of the same type.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeReturns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberIsInfinity Returns a value indicating whether the specified number evaluates to negative or positive infinity.
Public methodStatic memberIsNaN Returns a value indicating whether the specified number evaluates to a value that is not a number (NaN).
Public methodStatic memberIsNegativeInfinity Returns a value indicating whether the specified number evaluates to negative infinity (NegativeInfinity).
Public methodStatic memberIsPositiveInfinity Returns a value indicating whether the specified number evaluates to positive infinity (PositiveInfinity).
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberMultiply Multiplies an instance of Pressure by a double-precision value.
Public methodStatic memberNegate Negates the value of the specified Pressure operand.
Public methodStatic memberSubtract(Pressure, Pressure) Subtracts one instance of Pressure from another.
Public methodStatic memberSubtract(Pressure, Double) Subtracts an instance of Double from an instance of Pressure.
Public methodToStringReturns the fully qualified type name of this instance.
(Overrides ValueTypeToString)
Public methodToString(MetricExponent) Converts the numeric value of this instance to its equivalent String representation, using the metric exponent provided if appropriate to the Unit type.
Public methodToString(String) Converts the numeric value of this instance to its equivalent String representation, using the specified format.
Public methodToString(String, MetricExponent) Converts the numeric value of this instance to its equivalent String representation, using the specified format and metric exponent.
Public methodToString(String, IFormatProvider)Formats the value of the current instance using the specified format.
Public methodToString(String, MetricExponent, IFormatProvider) Formats the value of the current instance using the specified format.
Public methodTryFormatTries to format the value of the current instance into the provided span of characters.
Top
Operators
 NameDescription
Public operatorStatic memberAddition(Pressure, Pressure)Adds two values together to compute their sum.
Public operatorStatic memberAddition(Pressure, Double)Adds two values together to compute their sum.
Public operatorStatic memberAddition(Pressure, Int32)Adds two values together to compute their sum.
Public operatorStatic memberDivision(Pressure, Double)Divides one value by another to compute their quotient.
Public operatorStatic memberDivision(Pressure, Int32)Divides one value by another to compute their quotient.
Public operatorStatic memberEquality(Double, Pressure) Compares an instance of Pressure with an instance of Double for equality.
Public operatorStatic memberEquality(Pressure, Pressure)Compares two values to determine equality.
Public operatorStatic memberEquality(Pressure, Double)Compares two values to determine equality.
Public operatorStatic memberGreaterThan(Double, Pressure) Compares an instance of Pressure to an instance of Double for different values.
Public operatorStatic memberGreaterThan(Pressure, Pressure)Compares two values to determine which is greater.
Public operatorStatic memberGreaterThan(Pressure, Double)Compares two values to determine which is greater.
Public operatorStatic memberGreaterThanOrEqual(Double, Pressure) Compares an instance of Pressure to an instance of Double for different values.
Public operatorStatic memberGreaterThanOrEqual(Pressure, Pressure)Compares two values to determine which is greater or equal.
Public operatorStatic memberGreaterThanOrEqual(Pressure, Double)Compares two values to determine which is greater or equal.
Public operatorStatic member(Double to Pressure) Creates a new Pressure object from a Double value.
Public operatorStatic member(Pressure to Double) Creates a new Double value from a given Pressure object.
Public operatorStatic memberInequality(Double, Pressure) Compares an instance of Pressure with an instance of Double for inequality.
Public operatorStatic memberInequality(Pressure, Pressure)Compares two values to determine inequality.
Public operatorStatic memberInequality(Pressure, Double)Compares two values to determine inequality.
Public operatorStatic memberLessThan(Double, Pressure) Compares an instance of Pressure to an instance of Double for different values.
Public operatorStatic memberLessThan(Pressure, Pressure)Compares two values to determine which is less.
Public operatorStatic memberLessThan(Pressure, Double)Compares two values to determine which is less.
Public operatorStatic memberLessThanOrEqual(Double, Pressure) Compares an instance of Pressure to an instance of Double for different values.
Public operatorStatic memberLessThanOrEqual(Pressure, Pressure)Compares two values to determine which is less or equal.
Public operatorStatic memberLessThanOrEqual(Pressure, Double)Compares two values to determine which is less or equal.
Public operatorStatic memberMultiply(Pressure, Double)Multiplies two values together to compute their product.
Public operatorStatic memberMultiply(Pressure, Int32)Multiplies two values together to compute their product.
Public operatorStatic memberSubtraction(Pressure, Pressure)Subtracts two values to compute their difference.
Public operatorStatic memberSubtraction(Pressure, Double)Subtracts two values to compute their difference.
Public operatorStatic memberSubtraction(Pressure, Int32)Subtracts two values to compute their difference.
Public operatorStatic memberUnaryNegation(Pressure)Computes the unary negation of a value.
Top
Fields
 NameDescription
Public fieldStatic memberEpsilon Represents the smallest value of Accuracy that will successfully evaluate equality without boundary condition errors.
Public fieldStatic memberMaxPrecision Represents the maximum precision with which a value can be displayed.
Public fieldStatic memberMinPrecision Represents the minimum precision with which a value can be displayed.
Top
Explicit Interface Implementations
 NameDescription
Explicit interface implementationPrivate methodIComparableCompareToCompares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Top
Remarks
We found some conversion factors for Pressure at N.C. Rickett's home page.
See Also