Electronics, PCB Design and PCB Layout Daycounter, Inc.
Engineering Services

Custom Firmware, Electronics Design, and PCB Layout

Electronics Design
Firmware Development
Software Development
Embedded Design
PCB Layout
Digital Signal Processing (DSP)
Reverse Engineering
Device Driver Development
Motor Controllers
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

Silver Board Contract Assembly

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. 



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)

Other Electronics Links

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. 


[Employment] [Downloads] [Articles] [Contact Us]

Salt Lake City, UT, USA

Disclaimer: Daycounter, Inc. doesn't guarantee the accuracy of any of it's content. Use at your own risk.

© Copyright 2016 Daycounter, Inc. All rights Reserved.

Soil Moisture Sensor Probe

Water Level Sensor