Class LandSegmentFactory


  • public class LandSegmentFactory
    extends Object
    Author:
    hogye
    • Constructor Detail

      • LandSegmentFactory

        public LandSegmentFactory​(LandBox box)
    • Method Detail

      • newLandSegment

        public LandSegment newLandSegment​(List<LandVertex> vertices)
        The returned LandSegment may have land on the wrong side. It is up to the calling code to detect this and correct for it.