def rpc(self, name, base=(0, 0, 0), height=(-1, 0, 0), breadth=(0, 0, 1), half_width=0.5): libwdb.mk_rpc(self.db_fp, name, cta.point(base), cta.direction(height), cta.direction(breadth), half_width)
def ellipsoid(self, name, center=(0, 0, 0), a=(1, 0, 0), b=(0, 1, 0), c=(0, 0, 1)): libwdb.mk_ell(self.db_fp, name, cta.point(center), cta.direction(a), cta.direction(b), cta.direction(c))
def epa(self, name, base=(0, 0, 0), height=(0, 0, 1), n_major=(0, 1, 0), r_major=1, r_minor=0.5): libwdb.mk_epa(self.db_fp, name, cta.point(base), cta.direction(height), cta.direction(n_major), r_major, r_minor)
def rhc(self, name, base=(0, 0, 0), height=(-1, 0, 0), breadth=(0, 0, 1), half_width=0.5, asymptote=0.1): libwdb.mk_rhc(self.db_fp, name, cta.point(base), cta.direction(height), cta.direction(breadth), half_width, asymptote)
def eto(self, name, center=(0, 0, 0), n=(0, 0, 1), s_major=(0, 0.5, 0.5), r_revolution=1, r_minor=0.2): libwdb.mk_eto(self.db_fp, name, cta.point(center), cta.direction(n), cta.direction(s_major), r_revolution, r_minor)
def hyperboloid(self, name, base=(0, 0, 0), height=(0, 0, 1), a_vec=(0, 1, 0), b_mag=0.5, base_neck_ratio=0.2): libwdb.mk_hyp(self.db_fp, name, cta.point(base), cta.direction(height), cta.direction(a_vec), b_mag, base_neck_ratio)
def ehy(self, name, base=(0, 0, 0), height=(0, 0, 1), n_major=(0, 1, 0), r_major=1, r_minor=0.5, asymptote=0.1): libwdb.mk_ehy(self.db_fp, name, cta.point(base), cta.direction(height), cta.direction(n_major), r_major, r_minor, asymptote)
def tgc(self, name, base=(0, 0, 0), height=(0, 0, 1), a=(0, 1, 0), b=(0.5, 0, 0), c=(0, 0.5, 0), d=(1, 0, 0)): libwdb.mk_tgc(self.db_fp, name, cta.point(base), cta.direction(height), cta.direction(a), cta.direction(b), cta.direction(c), cta.direction(d))
def tgc(self, name, base=(0, 0, 0), height=(0, 0, 1), a=(0, 1, 0), b=(0.5, 0, 0), c=(0, 0.5, 0), d=(1, 0, 0)): libwdb.mk_tgc( self.db_fp, name, cta.point(base), cta.direction(height), cta.direction(a), cta.direction(b), cta.direction(c), cta.direction(d), )
def ehy(self, name, base=(0, 0, 0), height=(0, 0, 1), n_major=(0, 1, 0), r_major=1, r_minor=0.5, asymptote=0.1): libwdb.mk_ehy( self.db_fp, name, cta.point(base), cta.direction(height), cta.direction(n_major), r_major, r_minor, asymptote, )
def wedge(self, name, vertex=(0, 0, 0), x_dir=(1, 0, 0), z_dir=(0, 0, 1), x_len=1, y_len=1, z_len=1, x_top_len=0.5): libwdb.mk_wedge( self.db_fp, name, cta.point(vertex), cta.direction(x_dir), cta.direction(z_dir), x_len, y_len, z_len, x_top_len, )
def wedge(self, name, vertex=(0, 0, 0), x_dir=(1, 0, 0), z_dir=(0, 0, 1), x_len=1, y_len=1, z_len=1, x_top_len=0.5): libwdb.mk_wedge(self.db_fp, name, cta.point(vertex), cta.direction(x_dir), cta.direction(z_dir), x_len, y_len, z_len, x_top_len)
def particle(self, name, base=(0, 0, 0), height=(0, 0, 1), r_base=0.5, r_end=0.2): libwdb.mk_particle(self.db_fp, name, cta.point(base), cta.direction(height), r_base, r_end)
def torus(self, name, center=(0, 0, 0), n=(0, 0, 1), r_revolution=1, r_cross=0.2): libwdb.mk_tor(self.db_fp, name, cta.point(center), cta.direction(n), r_revolution, r_cross)
def cone(self, name, base=(0, 0, 0), n=(0, 0, 1), h=1, r_base=1, r_top=0.5): libwdb.mk_cone(self.db_fp, name, cta.point(base), cta.direction(n), h, r_base, r_top)
def eto(self, name, center=(0, 0, 0), n=(0, 0, 1), s_major=(0, 0.5, 0.5), r_revolution=1, r_minor=0.2): libwdb.mk_eto( self.db_fp, name, cta.point(center), cta.direction(n), cta.direction(s_major), r_revolution, r_minor )
def hyperboloid(self, name, base=(0, 0, 0), height=(0, 0, 1), a_vec=(0, 1, 0), b_mag=0.5, base_neck_ratio=0.2): libwdb.mk_hyp( self.db_fp, name, cta.point(base), cta.direction(height), cta.direction(a_vec), b_mag, base_neck_ratio )
def epa(self, name, base=(0, 0, 0), height=(0, 0, 1), n_major=(0, 1, 0), r_major=1, r_minor=0.5): libwdb.mk_epa( self.db_fp, name, cta.point(base), cta.direction(height), cta.direction(n_major), r_major, r_minor )
def rhc(self, name, base=(0, 0, 0), height=(-1, 0, 0), breadth=(0, 0, 1), half_width=0.5, asymptote=0.1): libwdb.mk_rhc( self.db_fp, name, cta.point(base), cta.direction(height), cta.direction(breadth), half_width, asymptote )
def trc(self, name, base=(0, 0, 0), height=(0, 0, 1), r_base=1, r_top=0.5): libwdb.mk_trc_h(self.db_fp, name, cta.point(base), cta.direction(height), r_base, r_top)
def rcc(self, name, base=(0, 0, 0), height=(0, 0, 1), radius=1): libwdb.mk_rcc(self.db_fp, name, cta.point(base), cta.direction(height), radius)