Skip to content

Latitude class

Diagram

classDiagram class Angle { -double radians +radians() double +degrees() double +turns() double } class Latitude Latitude --|> Angle : extends

Summary

Language Type Symbol
C struct Latitude
C++ struct dogma::Latitude
Dart class Latitude
Go struct dogma.Latitude
Java interface dogma.Latitude
JS class dogma.Latitude
Protobuf message dogma.Latitude
Python class dogma.Latitude
Ruby class Dogma::Latitude
Rust struct dogma::Latitude
Zig struct dogma.Latitude

Description

Import

#include <dogma.h>  // for Latitude
#include <dogma.hpp>  // for Latitude

using dogma::Latitude;
import 'package:dogma/dogma.dart' show Latitude;
import "github.com/dogmatists/dogma.go/dogma"
import dogma.Latitude;
import {Latitude} from "./dogma.js";
from dogma import Latitude
require 'dogma'

include Dogma::Latitude
extern crate dogma;

use dogma::Latitude;
const Latitude = @import("dogma").Latitude;

Constants

MAX_DEGREES




dogma.MaxLatitudeDegrees  // 90
Latitude.MAX_DEGREES  // 90
Latitude.MAX_DEGREES  // 90


// TODO

MIN_DEGREES




dogma.MinLatitudeDegrees  // -90
Latitude.MIN_DEGREES  // -90
Latitude.MIN_DEGREES  // -90


// TODO

Constructor

Latitude(27.9881)
Latitude{27.9881}
Latitude(27.9881)
NewLatitude(27.9881)
Latitude.of(27.9881)
new Latitude(27.9881)
Latitude(27.9881)
Latitude.new(27.9881)
Latitude::new(27.9881)
Latitude.init(27.9881)

Properties

Methods

Schema

struct Latitude {
  angle: Angle;
}
Joi.number().min(-90).max(90)
{
  "type": "number",
  "minimum": -90,
  "maximum": 90
}
dogma:Latitude
  a owl:DatatypeProperty ;
  rdfs:range xsd:double .

[]
  a owl:Restriction ;
  owl:onProperty dogma:Latitude ;
  owl:someValuesFrom [
    a rdfs:Datatype ;
    owl:onDatatype xsd:double ;
    owl:withRestrictions (
      [xsd:minInclusive "-90"^^xsd:double]
      [xsd:maxInclusive "90"^^xsd:double]
    )
  ] .
message Latitude {
  Angle angle = 1;
}
latitude DOUBLE PRECISION  -- in degrees from -90° to 90°
<xs:simpleType name="Latitude">
  <xs:restriction base="xs:double">
    <xs:minInclusive value="-90"/>
    <xs:maxInclusive value="90"/>
  </xs:restriction>
</xs:simpleType>

Serialization

27.9881  // Latitude of Mt. Everest
// TODO
<!-- TODO -->

FAQs

References