Aardvark.Base


IndexPolygon2dExtensions

Static members

Static memberDescription
ComputePerimeter(polygon)
Signature: polygon:IndexPolygon2d -> float
ComputeVertexCentroid(polygon)
Signature: polygon:IndexPolygon2d -> V2d

The vertex centroid is the average of the vertex coordinates.

ToPolygon2d(polygon)
Signature: polygon:IndexPolygon2d -> Polygon2d
ToPolygon3d(polygon, pointArray)
Signature: (polygon:IndexPolygon2d * pointArray:V3d []) -> Polygon3d
ToPolygon3d(polygon, pointList)
Signature: (polygon:IndexPolygon2d * pointList:List<V3d>) -> Polygon3d
Fork me on GitHub