Daycounter, Inc. Engineering Services Custom Firmware, Electronics Design, and PCB Layout Home Company Services Products Partners Clients Site Map Contact Us
 Capabilities Electronics Design Firmware Development Software Development Embedded Design PCB Layout Digital Signal Processing (DSP) Reverse Engineering Prototyping Device Driver Development VHDL Motor Controllers Microcontrollers Data Acquisition Systems Palm OS Software Windows CE Software Pocket PC Software Design for Manufacturing Through Hole to Surface Mount (SMT) Conversion Microchip PIC Consultant MSP430 Development DSP56 Development RoHs Redesign Design for USB

#### Geometric Scaling of a Triangle

See our other Electronics Calculators.

Expanding or shrinking a polygon board outline is a common but mathematically intensive  task.  Any polygon can be divided into a number of triangles, which can be  individually scaled.  To use this calculator enter 3 adjacent points from a polygon, and the center point will be the projected point of the new polygon.  This also calculates the segment lengths and angles of the original triangle.

The algorithm uses the law of cosines to compute the angles of the original triangle.  It also computes the angles for lines which bisect each angle, by averaging the angles of the two adjacent segments.  Using a little trig it computes the distance from the old point to the new point.  This distance with the bisecting angle is sufficient to compute the (x,y) differential to the new point. The differential is added to the old coordinate location to generate the new one.

 Expansion Points of Original Triangle Point 1 , (x,y) Point 2 , (x,y) Point 3 , (x,y) Segment Lengths and Angles of Original Triangle Lengths L1, L2, L3 Angles a1, a2, a3 Points of New Triangle Point 1B , (x,y) Point 2B , (x,y) Point 3B , (x,y)

We offer a broad range of electrical engineering calculators and electronics articles and tutorials

Daycounter specializes in contract electronics design.  Do you need some help on your project?  Contact us to get a quote.