Skip to content

7e198c56 d99f ec19 adf5 7f64dee9b655

Kim Hugener-Ohlsen edited this page May 28, 2016 · 2 revisions

SpatialExtensions Class

Extends the structs which implement IComparable and IFormattable with easy to use methods.

Inheritance Hierarchy

System.Object
  Sundew.Quantities.Spatial.SpatialExtensions
Namespace: Sundew.Quantities.Spatial
Assembly: Sundew.Quantities (in Sundew.Quantities.dll) Version: 1.0.2.0 (1.0.2.0)

Syntax

C#

public static class SpatialExtensions

C#

public static class SpatialExtensions

VB

<ExtensionAttribute>
Public NotInheritable Class SpatialExtensions

VB

<ExtensionAttribute>
Public NotInheritable Class SpatialExtensions

C++

[ExtensionAttribute]
public ref class SpatialExtensions abstract sealed

C++

[ExtensionAttribute]
public ref class SpatialExtensions abstract sealed

F#

[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type SpatialExtensions =  class end

F#

[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type SpatialExtensions =  class end

The SpatialExtensions type exposes the following members.

Methods

 

Name Description
Public methodStatic member CubicMeters(TValue) Gets the value as cubic meters.
Public methodStatic member Liters(TValue) Gets the value as liters.
Public methodStatic member Meters(TValue) Gets the value as meters.
Public methodStatic member Radians(TValue) Gets the value as Radian.
Public methodStatic member SquareMeters(TValue) Gets the value as square meters.
Public methodStatic member Steradians(TValue) Gets the value as Steradians.
Public methodStatic member ToAngle(TValue) Gets the value as the specified unit.
Public methodStatic member ToArea(TValue) Gets the value as the specified unit.
Public methodStatic member ToDistance(TValue) Gets the value as the specified unit.
Public methodStatic member ToSolidAngle(TValue) Gets the value as the specified unit.
Public methodStatic member ToVolume(TValue) Gets the value as the specified unit.
  Back to Top

See Also

Reference

Sundew.Quantities.Spatial Namespace

Clone this wiki locally