# A3DEUnits

enum `A3DEUnits`

  Unit values used for model files.

  Units in a model file are stored as a double value representing millimeters (mm).For example, a value of 1000mm corresponds to a meter (:ref:`kA3DUnitMeter`).

  Below is a table showing the correspondence between units and their values in millimeters:

  ** Name** | ** Enumerator** | ** Value (millimeters)**

  - Angstrom(Å) | `kA3DUnitAngstrom` | 1.e-7
  - Astronomical(ua) | `kA3DUnitAstronomical` | 1.495978707e14
  - Centimeter(cm) | `kA3DUnitCentimeter` | 10.0
  - Decimeter(dc) | `kA3DUnitDecimeter` | 1.e2
  - Dekameter(dam) | `kA3DUnitDekameter` | 1.e4
  - Foot(ft) | `kA3DUnitFoot` | 12.0 * 25.4
  - Gigameter(gm) | `kA3DUnitGigameter` | 1.e12
  - Hectometer(hm) | `kA3DUnitHectometer` | 1.e5
  - Us survey inch(in) | `kA3DUnitInch` | 25.4
  - Kilometer(km) | `kA3DUnitKilometer` | 1000000.0
  - Light year(ly) | `kA3DUnitLightYear` | 9.4607304725808e18
  - Meter(m) | `kA3DUnitMeter` | 1000.0
  - Microinch(µin) | `kA3DUnitMicroInch` | 2.54e-5
  - Micron(µm) | `kA3DUnitMicron` | 1.e-3
  - Mil(mil) | `kA3DUnitMil` | 0.0254
  - Mile(mi) | `kA3DUnitMile` | 1760.0 * 3.0 * 12.0 * 25.4
  - Millimeter(mm) | `kA3DUnitMillimeter` | 1.0
  - Nanometer(nm) | `kA3DUnitNanometer` | 1.e-6
  - Parsec(pc) | `kA3DUnitParsec` | 64800.0 / PI * 1.495978707e14
  - Picas(pica) | `kA3DUnitPicas` | 25.4 / 6.0
  - Points(points) | `kA3DUnitPoint` | 25.4 / 72.0
  - Us survey foot(ft) | `kA3DUnitUSSurveyFoot` | 1200000.0 / 3937.0
  - Inch(in) | `kA3DUnitUSSurveyInch` | 100000.0 / 3937.0
  - Mile(mi) | `kA3DUnitUSSurveyMile` | 1760.0 * 3600000.0 / 3937.0
  - Us survey yard(yd) | `kA3DUnitUSSurveyYard` | 3.0 * 1200000.0 / 3937.0
  - Yard(yd) | `kA3DUnitYard` | 3.0 * 12.0 * 25.4

  It is possible to convert a double value to an `A3DEUnits`with `A3DUnitGetFromValue()`, and back to `A3DDouble`with `A3DUnitGetFromEnum()`.

  >     embed:rst:inline :doc:`/guide/units`

  > , `A3DUnitGetFromEnum()`, `A3DUnitGetFromValue()`, `A3DAsmModelFileGetUnit()`

  > 3.0

  ## Index

  Enumerators

  - `kA3DUnitPoint`
  - `kA3DUnitInch`
  - `kA3DUnitMillimeter`
  - `kA3DUnitCentimeter`
  - `kA3DUnitPicas`
  - `kA3DUnitFoot`
  - `kA3DUnitYard`
  - `kA3DUnitMeter`
  - `kA3DUnitKilometer`
  - `kA3DUnitMile`
  - `kA3DUnitMicroInch`
  - `kA3DUnitMil`
  - `kA3DUnitAngstrom`
  - `kA3DUnitNanometer`
  - `kA3DUnitMicron`
  - `kA3DUnitDecimeter`
  - `kA3DUnitDekameter`
  - `kA3DUnitHectometer`
  - `kA3DUnitGigameter`
  - `kA3DUnitAstronomical`
  - `kA3DUnitLightYear`
  - `kA3DUnitParsec`
  - `kA3DUnitUSSurveyFoot`
  - `kA3DUnitUSSurveyInch`
  - `kA3DUnitUSSurveyYard`
  - `kA3DUnitUSSurveyMile`
  - `kA3DUnitUnknown`

Enumerators

enumerator `kA3DUnitPoint`
  kA3DUnitPoint = `0`

  Point.

enumerator `kA3DUnitInch`
  kA3DUnitInch

  Inch (in).

enumerator `kA3DUnitMillimeter`
  kA3DUnitMillimeter

  Millimeter (mm).

enumerator `kA3DUnitCentimeter`
  kA3DUnitCentimeter

  Centimeter (cm).

enumerator `kA3DUnitPicas`
  kA3DUnitPicas

  Picas.

enumerator `kA3DUnitFoot`
  kA3DUnitFoot

  Foot (ft).

enumerator `kA3DUnitYard`
  kA3DUnitYard

  Yard (yd).

enumerator `kA3DUnitMeter`
  kA3DUnitMeter

  Meter (m).

enumerator `kA3DUnitKilometer`
  kA3DUnitKilometer

  Kilometer (km).

enumerator `kA3DUnitMile`
  kA3DUnitMile

  Mile (mi).

enumerator `kA3DUnitMicroInch`
  kA3DUnitMicroInch

  Micro Inch (µin).

enumerator `kA3DUnitMil`
  kA3DUnitMil

  Mil.

enumerator `kA3DUnitAngstrom`
  kA3DUnitAngstrom

  Angstrom (Å).

enumerator `kA3DUnitNanometer`
  kA3DUnitNanometer

  Nanometer nm).

enumerator `kA3DUnitMicron`
  kA3DUnitMicron

  Micron (µ).

enumerator `kA3DUnitDecimeter`
  kA3DUnitDecimeter

  Decimeter (dc).

enumerator `kA3DUnitDekameter`
  kA3DUnitDekameter

  Dekameter (dam).

enumerator `kA3DUnitHectometer`
  kA3DUnitHectometer

  Hectometer (hm).

enumerator `kA3DUnitGigameter`
  kA3DUnitGigameter

  Gigameter (gm).

enumerator `kA3DUnitAstronomical`
  kA3DUnitAstronomical

  Astronomical (ua).

enumerator `kA3DUnitLightYear`
  kA3DUnitLightYear

  Light year (ly).

enumerator `kA3DUnitParsec`
  kA3DUnitParsec

  Parsec (pc).

enumerator `kA3DUnitUSSurveyFoot`
  kA3DUnitUSSurveyFoot

  US Survey foot (ft).

enumerator `kA3DUnitUSSurveyInch`
  kA3DUnitUSSurveyInch

  US survey inch (in).

enumerator `kA3DUnitUSSurveyYard`
  kA3DUnitUSSurveyYard

  US survey yard (yd).

enumerator `kA3DUnitUSSurveyMile`
  kA3DUnitUSSurveyMile

  US survey mile (mi).

enumerator `kA3DUnitUnknown`
  kA3DUnitUnknown

  Unknown.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Exchange in your own language, or choose a sample question below to start a conversation:

What is HOOPS Exchange?
What are the latest release notes for HOOPS Exchange?
How do I start evaluating HOOPS Exchange?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...