Class InnerRingRemover

java.lang.Object
com.gaia3d.converter.geometry.InnerRingRemover

public class InnerRingRemover extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.joml.Vector2d>
    changeOrder(List<org.joml.Vector2d> list, int index)
     
    List<org.joml.Vector2d>
    combine(List<org.joml.Vector2d> outerRing, List<org.joml.Vector2d> innerRing)
     
    double
    cross(org.joml.Vector2d a, org.joml.Vector2d b, org.joml.Vector2d c)
     
    org.locationtech.jts.geom.Coordinate[]
    removeAll(org.locationtech.jts.geom.Coordinate[] outerRing, List<org.locationtech.jts.geom.Coordinate[]> innerRings)
     
    List<org.joml.Vector2d>
    removeRing(List<org.joml.Vector2d> outerRingVector, InnerRing innerRing)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InnerRingRemover

      public InnerRingRemover()
  • Method Details

    • removeAll

      public org.locationtech.jts.geom.Coordinate[] removeAll(org.locationtech.jts.geom.Coordinate[] outerRing, List<org.locationtech.jts.geom.Coordinate[]> innerRings)
    • removeRing

      public List<org.joml.Vector2d> removeRing(List<org.joml.Vector2d> outerRingVector, InnerRing innerRing)
    • combine

      public List<org.joml.Vector2d> combine(List<org.joml.Vector2d> outerRing, List<org.joml.Vector2d> innerRing)
    • changeOrder

      public List<org.joml.Vector2d> changeOrder(List<org.joml.Vector2d> list, int index)
    • cross

      public double cross(org.joml.Vector2d a, org.joml.Vector2d b, org.joml.Vector2d c)