mocopi mobile SDK
Loading...
Searching...
No Matches
Mocopi.Mobile.Sdk.MocopiHeightStruct Struct Reference

Height setting structure
. More...

Public Member Functions

float ConvertFeetAndInchIntoMeter (int feet, int inch)
 Convert from feet/inches to meters.
.
 
int int inch ConvertMeterIntoFeetAndInch (float meter)
 

Public Attributes

int feet
 Convert from meters to feet/inches.
.
 

Static Public Attributes

const float ONE_FEET = 0.3048f
 Meter value per foot
.
 
const float ONE_INCH = 0.0254f
 Meter value per inch
.
 

Properties

float Meter [get, set]
 Height (meter)
.
 
int Feet [get, set]
 Height (feet)
.
 
int Inch [get, set]
 Height (inches)
.
 
EnumHeightUnit Unit [get, set]
 Height unit
.
 

Detailed Description

Height setting structure
.

Member Function Documentation

◆ ConvertFeetAndInchIntoMeter()

float Mocopi.Mobile.Sdk.MocopiHeightStruct.ConvertFeetAndInchIntoMeter ( int feet,
int inch )

Convert from feet/inches to meters.
.

Parameters
feetFeet
inchInches
Returns
Meters (m)

◆ ConvertMeterIntoFeetAndInch()

int int inch Mocopi.Mobile.Sdk.MocopiHeightStruct.ConvertMeterIntoFeetAndInch ( float meter)

Member Data Documentation

◆ feet

int Mocopi.Mobile.Sdk.MocopiHeightStruct.feet

Convert from meters to feet/inches.
.

Parameters
meterMeters
Returns

Feet/inches

Although it is written as "Tuple", it is actually "(int feet, int inch)" feet/inches.

◆ ONE_FEET

const float Mocopi.Mobile.Sdk.MocopiHeightStruct.ONE_FEET = 0.3048f
static

Meter value per foot
.

◆ ONE_INCH

const float Mocopi.Mobile.Sdk.MocopiHeightStruct.ONE_INCH = 0.0254f
static

Meter value per inch
.

Property Documentation

◆ Feet

int Mocopi.Mobile.Sdk.MocopiHeightStruct.Feet
getset

Height (feet)
.

Use as one set with Inch.

◆ Inch

int Mocopi.Mobile.Sdk.MocopiHeightStruct.Inch
getset

Height (inches)
.

Use as one set with Feet.

◆ Meter

float Mocopi.Mobile.Sdk.MocopiHeightStruct.Meter
getset

Height (meter)
.

◆ Unit

EnumHeightUnit Mocopi.Mobile.Sdk.MocopiHeightStruct.Unit
getset

Height unit
.


The documentation for this struct was generated from the following file:
  • MocopiStruct.cs