Cap represents a disc-shaped region defined by a center and radius. Technically this shape is called a "spherical cap" (rather than disc) because it is not planar; the cap represents a portion of the sphere that has been cut off by a plane. The boundary of the cap is the circle defined by the inters
| 59 | // |
| 60 | // The zero value of Cap is an invalid cap. Use EmptyCap to get a valid empty cap. |
| 61 | type Cap struct { |
| 62 | center Point |
| 63 | radius s1.ChordAngle |
| 64 | } |
| 65 | |
| 66 | // CapFromPoint constructs a cap containing a single point. |
| 67 | func CapFromPoint(p Point) Cap { |
nothing calls this directly
no outgoing calls
no test coverage detected