d3.geoPolyhedral()

d3.geoPolyhedral(root, face[, angle])

Defines a new polyhedral projection. The root is a spanning tree of polygon face nodes; each node is assigned a node.transform matrix. The face function returns the appropriate node for a given lambda and phi in radians. The specified rotation angle is applied to the polyhedron; if an angle is not specified, it defaults to -π / 6 (for butterflies).

doc_D3_Js
2016-11-24 10:26:33
Comments
Leave a Comment

Please login to continue.