Skip to content

3D Multipoints#15

Merged
jpperret merged 24 commits into
developmentfrom
3d-multipoints
Sep 4, 2025
Merged

3D Multipoints#15
jpperret merged 24 commits into
developmentfrom
3d-multipoints

Conversation

@jpperret
Copy link
Copy Markdown
Contributor

@jpperret jpperret commented Sep 3, 2025

  • Methods
    • WebRenderer.RenderMilStd3dSymbol() Renders AREA1, AREA10, RECTANGULAR1, CIRCULAR1 and CORRIDOR1 symbols as 3D shapes by rendering the 2D shape then converting all edges to 3D walls with a ceiling and floor
    • WebRenderer.RenderBasic3DShape() renders basic shapes listed in Basic3DShapes
    • WebRenderer.RenderSymbol() now calls RenderMilStd3dSymbol() when the following are true:
      • Altitude mode is not "clampToGround"
      • Output format is KML or GeoJSON
      • The symbol supports 3D
      • An altitude is included (X modifier)
  • Default 3D colors
    • For symbols: SymbolUtilities.getLineColorOfAffiliation() and SymbolUtilities.getFillColorOfAffiliation()
    • For basic shapes: Black lines with white fill
  • Shape3DHandler class mimics MultiPointHandler but for 3D shapes
  • Improves WebRenderer method documentation by clarifying output format options and noting when altitudeMode argument isn't referenced
  • Adds <ExtendedData> tag to KML with symbolID and wasClipped
  • TypeScript only changes:
    • adds toString() method to LogLevel to improve error output
    • getModifier_AM_AN_X() returns number instead of string to match Android and Java

Other ports

@jpperret jpperret self-assigned this Sep 3, 2025
@jpperret jpperret deleted the 3d-multipoints branch September 4, 2025 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants