congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Formatter.appendExact
Code IndexAdd Tabnine to your IDE (free)

How to use
appendExact
method
in
org.apache.sis.io.wkt.Formatter

Best Java code snippets using org.apache.sis.io.wkt.Formatter.appendExact (Showing top 2 results out of 315)

origin: org.apache.sis.core/sis-metadata

final double conversion = Units.toStandardUnit(unit);
if (Double.isNaN(conversion) && Units.isAngular(unit)) {
  appendExact(Math.PI / 180);                 // Presume that we have sexagesimal degrees (see below).
} else {
  appendExact(conversion);
origin: apache/sis

final double conversion = Units.toStandardUnit(unit);
if (Double.isNaN(conversion) && Units.isAngular(unit)) {
  appendExact(Math.PI / 180);                 // Presume that we have sexagesimal degrees (see below).
} else {
  appendExact(conversion);
org.apache.sis.io.wktFormatterappendExact

Javadoc

Appends a number which is assumed to have no rounding error greater than the limit of IEEE 754 accuracy. This method is invoked for formatting the unit conversion factors, which are defined by the Unit library rather than specified by the user. The given number is formatted by Double#toString(double) both for accuracy and for automatic usage of scientific notation. If the given number is an integer, then it formatted without the trailing ".0".

Popular methods of Formatter

  • append
    Appends a boolean value. The Symbols#getSeparator() will be written before the boolean if needed.
  • newLine
    Request a line separator before the next element to format. Invoking this method before any append(…
  • <init>
    Creates a new formatter instance with the specified convention, symbols and indentation.
  • appendAny
    Appends an object or an array of objects. This method performs the following choices: * If the given
  • getConvention
    Returns the convention to use for formatting the WKT. The default is Convention#WKT2.
  • getEnclosingElement
    Returns the enclosing WKT element, or null if element being formatted is the root. This method can b
  • getLocale
    Returns the locale to use for localizing InternationalString instances. This is not the locale for
  • indent
    Increases or decreases the indentation. A value of +1 increases the indentation by the amount of spa
  • setInvalidWKT
    Marks the current WKT representation of the given object as not strictly compliant with the WKT spec
  • toWKT
    Returns the WKT formatted by this object.
  • addContextualUnit
    Adds a unit to use for the next measurements of the quantity Q. The given unit will apply to all WKT
  • appendComplement
    Appends the optional complementary attributes common to many IdentifiedObject subtypes. Those attrib
  • addContextualUnit,
  • appendComplement,
  • appendElement,
  • appendForSubtypes,
  • appendOnNewLine,
  • appendPreset,
  • appendSeparator,
  • appendTemporalExtent,
  • appendValue

Popular in Java

  • Parsing JSON documents to java classes using gson
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getContentResolver (Context)
  • onCreateOptionsMenu (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now