float function ( Line arg0 ) { Vec3 loc0 = direction . cross ( arg0 . direction ) ; float loc1 = loc0 . length ( ) ; if ( MathUtilities . isZero ( loc1 ) ) { return origin . distance ( arg0 . origin ) ; } float loc2 = arg0 . origin . subtract ( origin ) . dot ( loc0 ) / loc1 ; return Math . abs ( loc2 ) ; }
return distance of given line with respect to this line . concode_field_sep Vec3 origin concode_elem_sep Vec3 direction concode_field_sep boolean contains concode_elem_sep Line fromRay concode_elem_sep Vec3 getOrigin concode_elem_sep Vec3 getDirection concode_elem_sep Vec3 intersect concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Vec3 project concode_elem_sep Vec3 getClosestPoint concode_elem_sep String toString concode_elem_sep Line reverse