original_docstring: Construct a OBB from an angle(degrees), and the length in the u and v directions.
  
          Note that the OBB may exchange u and v directions to keep the angle in 0--90
  
          : param ctr: Center of the OrientedBoundingBox
          : param deg: Angle of the u_vector(degrees). If this is not in 0-90 then an
                      equivalent OBB is returned with an angle that is within that range.
          : param length: The length of the u_vector
          : param width: The length of the v_vector
          
docstring: Construct a OBB from an angle(degrees), and the length in the u and v directions.
  Note that the OBB may exchange u and v directions to keep the angle in 0--90
docstring_tokens: Construct a OBB from an angle ( degrees ) and the length in the u and v directions . Note that the OBB may exchange u and v directions to keep the angle in 0 -- 90
code: def from_rot_length_width(ctr, deg, length, width):
          """Construct a OBB from an angle(degrees), and the length in the u and v directions.
  
          Note that the OBB may exchange u and v directions to keep the angle in 0--90
  
          : param ctr: Center of the OrientedBoundingBox
          : param deg: Angle of the u_vector(degrees). If this is not in 0-90 then an
                      equivalent OBB is returned with an angle that is within that range.
          : param length: The length of the u_vector
          : param width: The length of the v_vector
          """
          cx, cy = ctr
          uax = np.cos(np.radians(deg))
          uay = np.sin(np.radians(deg))
          ux = uax * length / 2.
          uy = uay * length / 2.
          v_length = width / 2.
  
          return OrientedBoundingBox(cx, cy, ux, uy, v_length)
code_tokens: def from_rot_length_width ( ctr , deg , length , width ) : cx , cy = ctr uax = np . cos ( np . radians ( deg ) ) uay = np . sin ( np . radians ( deg ) ) ux = uax * length / 2. uy = uay * length / 2. v_length = width / 2. return OrientedBoundingBox ( cx , cy , ux , uy , v_length )
short_docstring: Construct a OBB from an angle(degrees), and the length in the u and v directions.
short_docstring_tokens: Construct a OBB from an angle ( degrees ) and the length in the u and v directions .
comment: """Construct a OBB from an angle(degrees), and the length in the u and v directions.
  
          Note that the OBB may exchange u and v directions to keep the angle in 0--90
  
          : param ctr: Center of the OrientedBoundingBox
          : param deg: Angle of the u_vector(degrees). If this is not in 0-90 then an
                      equivalent OBB is returned with an angle that is within that range.
          : param length: The length of the u_vector
          : param width: The length of the v_vector
          """