{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Enumeration: Mode","description":"Accelerate E&P application development and protect your innovation by consuming our Data and Domain APIs / Platform APIs.","lang":"en-US","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":true,"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/readme"},"children":["API"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d"},"children":["geotoolkit3d"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3"},"children":["scene"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.annotationbase"},"children":["AnnotationBase"]}," / Mode"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"enumeration-mode","__idx":0},"children":["Enumeration: Mode"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3"},"children":["scene"]},".",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.annotationbase"},"children":["AnnotationBase"]},".Mode"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Enum of display strategy.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","The functions provided through this enum defines how the line linking the annotation text to the annotated object will be positioned.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"table-of-contents","__idx":1},"children":["Table of contents"]},{"$$mdtype":"Tag","name":"details","attributes":{"open":"true"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"fontSize":"1.25em","fontWeight":"bold"}},"children":["Enumeration Members"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit3d.scene-3.annotationbase.mode#center"},"children":["Center"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit3d.scene-3.annotationbase.mode#closest"},"children":["Closest"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"contents","__idx":2},"children":["Contents"]},{"$$mdtype":"Tag","name":"details","attributes":{"open":"true"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"fontSize":"1.25em","fontWeight":"bold"}},"children":["Enumeration Members"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"center","__idx":3},"children":["Center"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Center"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"center\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use the center of the bounding box of the parent (basically a geotoolkit3d.scene.well.schematic.SchematicBase).",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","Default behavior, the line goes from the center of the annotated shape to text."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"closest","__idx":4},"children":["Closest"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Closest"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"closest\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Always use the direct intersection from camera direction.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","This computes the anchor of the line on the fly to be the closest vertex of the annotated shape from the text location.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","Note that this implementation is more CPU demanding than the default one."]}]}]},"headings":[{"value":"Enumeration: Mode","id":"enumeration-mode","depth":1},{"value":"Table of contents","id":"table-of-contents","depth":2},{"value":"Contents","id":"contents","depth":2},{"value":"Center","id":"center","depth":4},{"value":"Closest","id":"closest","depth":4}],"frontmatter":{"seo":{"title":"Enumeration: Mode"}},"lastModified":"2026-02-11T19:54:32.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/solutions/geotoolkit/apis/enums/geotoolkit3d.scene-3.annotationbase.mode","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}