简体   繁体   English

用斜率/角度计算多边形的面积?

[英]Compute Area of Polygon with a slope/angle?

I can calculate area of polygon using google.maps.geometry.spherical.computeArea? 我可以使用google.maps.geometry.spherical.computeArea计算多边形的面积吗? But how to calculate area of polygon with some inclination/slope/angle? 但是如何计算具有一定倾斜度/倾斜度/角度的多边形的面积呢? The problem is that I have angle/slope and polygon points, I need to compute area. 问题是我有角度/坡度和多边形点,我需要计算面积。

This is the answer, 这就是答案

Area = Area / Cos(angle) 面积=面积/ Cos(角度)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM