ConvexityFilter
Determines whether areas, surfaces, and solids are convex or concave. A polygon is simple when it is not self-intersecting and has a non-zero area. Simple polygons are convex if every internal angle is less than or equal to 180 degrees. All other polygons are considered concave.
Input Ports
通常,这些是基于多边形的几何形状。
输出端口
If the geometry of the feature is polygon-based (such as a polygon, a donut, or a box) all of the geometry’s composing polygons are tested for convexity. Based on the results of this testing, the appropriate output port is determined.
If all composing polygons for the geometry of a feature are convex, the feature is written to theConvexoutput port.
If any composing polygons for the geometry of a feature are not convex, those features are written to the凹output port.
Features with no geometry or with geometries that are not polygon-based, such as arc, raster, and text, are written to the未定义港口。
参数
There are no parameters for this transformer.
Usage Notes
- 线条和点被认为是凹形的。
- The test is limited by the precision of the geometry’s coordinates – be careful of “invisible” bends in lines, as shown here:
例
该图显示了凸面和凹形示例。
FME许可级别
FME Professional Edition and above
Editing Transformer Parameters
使用一组菜单选项,可以通过引用工作区中的其他元素来分配变压器参数。一些变压器也可提供更高级的功能,例如高级编辑器和算术编辑器。要访问这些选项的菜单,请单击除适用的参数旁边。有关更多信息,请参阅Transformer Parameter Menu Options。
Transformer Categories
Related Transformers
Search FME Knowledge Center
Search for samples and information about this transformer on theFME知识中心。
标签关键词:凸凹“基于多边形”“内角”