Esempio n. 1
0
 def __init__(self, verify=False, **kwargs):
     """
     Create a segment based on one of the possible parameter sets.
     The following combinations are accepted:
     * (start_point, end_point)
     * (start_point, delta)
     * (start_point, delta_unit, length)
     If more parameters are already available, and checking is required,
     use verify=True (default is False, meaning parameters are not checked for consistency).
     Parameters which are not set will be calculated if needed, but at least one of
     the above mentioned combinations must be provided completely.
     """
     GeometryObject.__init__(self, verify=verify, **kwargs)
Esempio n. 2
0
 def __init__(self, verify=False, **kwargs):
     """
     Create an arc based on one of many possible parameter sets.
     The following combinations are accepted:
     * (start_point, end_point/secant, angle, plane_normal)
     * (start_point, angle, origin, plane_normal)
     * (start_point, end_point/secant, origin, plane_normal)
     * (start_point, length, reflex_angle, origin, plane_normal)
     * (start_point, end_point/secant, arc_height)
     * (start_point, end_point/secant, arc_point)
     If some extra parameters are already available, and checking is required,
     use verify=True (default is False, meaning parameters are not checked for consistency).
     Parameters which are not set will be calculated if needed, but at least one of
     the above mentioned combinations must be provided completely.
     """
     GeometryObject.__init__(self, verify=verify, **kwargs)
Esempio n. 3
0
 def __init__(self, verify=False, **kwargs):
     """
     Create an arc based on one of many possible parameter sets.
     The following combinations are accepted:
     * (start_point, end_point/secant, angle, plane_normal)
     * (start_point, angle, origin, plane_normal)
     * (start_point, end_point/secant, origin, plane_normal)
     * (start_point, length, reflex_angle, origin, plane_normal)
     * (start_point, end_point/secant, arc_height)
     * (start_point, end_point/secant, arc_point)
     If some extra parameters are already available, and checking is required,
     use verify=True (default is False, meaning parameters are not checked for consistency).
     Parameters which are not set will be calculated if needed, but at least one of
     the above mentioned combinations must be provided completely.
     """
     GeometryObject.__init__(self, verify=verify, **kwargs)