double function ( Vertex arg0 , Vertex arg1 ) { Vertex loc0 = this . circleCenter ( arg0 , arg1 ) ; double loc1 = distance ( loc0 , arg0 ) ; double loc2 = distance ( this , arg0 ) ; double loc3 = distance ( arg0 , arg1 ) ; if ( loc3 < loc2 ) { loc2 = loc3 ; } loc3 = distance ( arg1 , this ) ; if ( loc3 < loc2 ) { loc2 = loc3 ; } return loc1 / loc2 ; }
computes the value of the ratio of the circumradius to shortest edge . if smaller than some given tolerance b , the associated triangle is considered skinny . for an equal lateral triangle this value is 0.57735 . the ratio is related to the minimum triangle angle theta by : circumradius/shortestedge = 1 / 2sin theta . concode_field_sep Coordinate p concode_elem_sep int BEHIND concode_elem_sep int DESTINATION concode_elem_sep int ORIGIN concode_elem_sep int LEFT concode_elem_sep int RIGHT concode_elem_sep int BEYOND concode_elem_sep int BETWEEN concode_field_sep int classify concode_elem_sep double crossProduct concode_elem_sep Vertex sub concode_elem_sep double distance concode_elem_sep double dot concode_elem_sep double magn concode_elem_sep Vertex sum concode_elem_sep double interpolateZ concode_elem_sep double interpolateZ concode_elem_sep void setZ concode_elem_sep boolean isInCircle concode_elem_sep Vertex times concode_elem_sep Vertex circleCenter concode_elem_sep boolean rightOf concode_elem_sep Vertex midPoint concode_elem_sep Vertex cross concode_elem_sep boolean isCCW concode_elem_sep HCoordinate bisector concode_elem_sep double getX concode_elem_sep Coordinate getCoordinate concode_elem_sep double getY concode_elem_sep double getZ concode_elem_sep boolean leftOf concode_elem_sep boolean equals concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep double interpolateZValue