d3_geo_rs 0.1.5

A port of D3/d3-geo
Documentation
use geo::CoordFloat;

use crate::projection::ClipAngleGet;

use super::Builder;

impl<CLIPC, CLIPU, DRAIN, PCNU, PR, RC, RU, T> ClipAngleGet
    for Builder<CLIPC, CLIPU, DRAIN, PCNU, PR, RC, RU, T>
where
    CLIPC: Clone,
    CLIPU: Clone,
    T: CoordFloat,
{
    type T = T;

    // Given an angle in degrees. Sets the internal clip angle and returns a builder
    // which uses the clip circle stratergy.
    fn clip_angle(&self) -> T {
        self.theta.unwrap()
    }
}