CapFromCenterAngle constructs a cap with the given center and angle.
(center Point, angle s1.Angle)
| 70 | |
| 71 | // CapFromCenterAngle constructs a cap with the given center and angle. |
| 72 | func CapFromCenterAngle(center Point, angle s1.Angle) Cap { |
| 73 | return CapFromCenterChordAngle(center, s1.ChordAngleFromAngle(angle)) |
| 74 | } |
| 75 | |
| 76 | // CapFromCenterChordAngle constructs a cap where the angle is expressed as an |
| 77 | // s1.ChordAngle. This constructor is more efficient than using an s1.Angle. |
searching dependent graphs…