Upper and Lower Envelope Obtained via Secondary Endpoint Mirror Extension Method
Implementation of upper and lower envelope extraction using the secondary endpoint mirror extension method, with input parameters being extreme points acquired through the MaMin function.