AreaOfRectCircInt:

Path: SCPro/ProSensors

% Computes the area of intersection of a rectangle and a circle.
--------------------------------------------------------------------------
   Form:
   a = AreaOfRectCircInt( v, r )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   v              (2,4)  Vector
   r              (1,1)  Radius of the circle

   -------
   Outputs
   -------
   a              (1,1)  Area
   n              (1,1)  Number of intersections
   intC           (1,1)  Integral of the line segments

--------------------------------------------------------------------------

Children:

Common: Graphics/Polygon
Math: Linear/Mag
Math: Linear/Unit

Back to the SCPro Module page