Class

UnitPressure

A unit of measure for pressure.

Declaration

class UnitPressure : Dimension

Overview

You typically use instances of NSUnitPressure to represent specific quantities of pressure using the NSMeasurement class.

Pressure

Pressure is the normal force over a surface. The SI unit for pressure is the pascal (Pa), which is derived as one newton of force over one square meter (1Pa = 1N / 1m2).

The NSUnitPressure class defines its base unit as newtonsPerMeterSquared, and provides the following units, which are initialized using UnitConverterLinear converters with the specified coefficients:

Name

Method

Symbol

Definition

Newtons Per Meter Squared (Equivalent to Pascals)

newtonsPerMeterSquared

N/m²

1.0

Gigapascals

gigapascals

GPa

1e9

Megapascals

megapascals

MPa

1000000.0

Kilopascals

kilopascals

kPa

1000.0

Hectopascals

hectopascals

hPa

100.0

Inches of Mercury

inchesOfMercury

inHg

3386.39

Bars

bars

bar

100000

Millibars

millibars

mbar

100

Millimeters of Mercury

millimetersOfMercury

mmHg

133.322

Pounds Per Square Inch

poundsPerSquareInch

psi

6894.76

Topics

Accessing Predefined Units

class var gigapascals: UnitPressure

Returns the gigapascals unit of pressure.

class var megapascals: UnitPressure

Returns the megapascals unit of pressure.

class var kilopascals: UnitPressure

Returns the kilopascals unit of pressure.

class var hectopascals: UnitPressure

Returns the hectopascals unit of pressure.

class var inchesOfMercury: UnitPressure

Returns the inches of mercury unit of pressure.

class var bars: UnitPressure

Returns the bars unit of pressure.

class var millibars: UnitPressure

Returns the millibars unit of pressure.

class var millimetersOfMercury: UnitPressure

Returns the millimeters of mercury unit of pressure.

Relationships

Inherits From

See Also

Mass, Weight, and Force

class UnitMass

A unit of measure for mass.