计算面积
 
 

You can find the area of an arc, circle, ellipse, lightweight polyline, polyline, region, hatch, planar-closed spline or any other entity that is derived from the base type of Curve by using the Area property.

使用 Area 属性可以得到圆弧、圆、椭圆、优化多段线、多段线、面域或平面闭合样条曲线或其它派生自 Curve 类型的图元的面积。

If you need to calculate the combined area of more than one object, you can keep a running total as you add or use the Boolean method on a series of regions to obtain a single region representing the desired area. From this single region you can use the Area property to obtain its area.

如果需要计算多个对象的组合面积,可以在添加时保存一个运行总数,或者在一系列面域上使用 Boolean 方法,以获得代表所需面积的单个面域。然后使用 Area 属性获取该单个面域的面积。

The calculated area differs according to the type of object you query. For an explanation of how area is calculated for each object type, see “Obtain Area and Mass Properties Information” in the AutoCAD User's Guide.

计算的面积根据用户查询的对象类型而有所不同。有关如何计算每个对象类型的面积的介绍,请参见《AutoCAD 用户手册》中的“获取面积和质量特性信息”。