Example #1
0
 internal static bool Execute(com.epl.geometry.EditShape shape, int geometry, com.epl.geometry.IndexMultiDCList sorted_vertices, bool fixSelfTangency)
 {
     com.epl.geometry.RingOrientationFixer fixer = new com.epl.geometry.RingOrientationFixer();
     fixer.m_shape           = shape;
     fixer.m_geometry        = geometry;
     fixer.m_sorted_vertices = sorted_vertices;
     fixer.m_fixSelfTangency = fixSelfTangency;
     return(fixer.FixRingOrientation_());
 }
Example #2
0
 internal RingOrientationTestComparator(RingOrientationFixer _enclosing, com.epl.geometry.RingOrientationFixer helper)
 {
     this._enclosing = _enclosing;
     this.m_helper   = helper;
     this.m_line_1   = new com.epl.geometry.Line();
     this.m_line_2   = new com.epl.geometry.Line();
     this.m_leftx    = 0;
     this.m_seg_1    = null;
     this.m_left_elm = -1;
 }