SplinePolygon(control_points)  

The SplinePolygon class provides an interface for creating a spline     
curve interpolating a set of control points.                            

Control points can be defined using any segmentation type.              

Args: 
  control_points (list(list([float,float,float]))): The list of 3D      
     control points.                                                    

Methods
get_center()  
   
   Get the center of the polygon segmentation. 
   
   Returns (list([float,float,float]): The polygon segmentation center. 

get_control_points()  
   
   Get the control points for a polygon segmentation. 
   
   Returns  (list(list([float,float,float]))): The list of control points. 

get_id()  
   
   Get the contour ID. 
   
   Returns int: The contour ID. 

get_normal()  
   
   Get the normal of the plane the spline polygon segmentation lies in. 
   
   Returns (list([float,float,float])): The spline polygon segmentation normal. 

get_path_point()  
   
   Get the contour path point. 
   
   Returns dict(pos:[x,y,z], tangent:[x,y,z], rotation:[x,y,z]): The contour path point. 

get_points()  
   
   Get the segmentation contour points. 
   
   Returns list([x,y,z]): The list of contour points. 

get_vtk_polydata()  
   
   Get the contour type. 
   
   Returns (str): contour type. 

get_subdivision_params()  
   
   Get the subdivision parameters used to control the interpolating spline. 
   
   Returns (str, float, int): The subdivision type, spacing and number. 

get_subdivision_type()  
   
   Get the subdivision type of the interpolating spline. 
   
   Return type (str): The subdivision type. 
   

get_type()  
   
   Get the contour type. 
   
   Returns (str): contour type. 

set_control_points(control_points)  
   
   Set the control points for a polygon segmentation. 
   
   Args: 
     points (list(list([float,float,float]))): The list of control points. 
   

set_subdivision_params(type=None, spacing=None, number=None)  
   
   Set the subdivision parameters used to control the interpolating spline. 
   
   Args: 
     type (Optional[str): The subdivision type. Valid types: CONSTANT_SPACING,
        CONSTANT_SUBDIVISION_NUMBER, or CONSTANT_TOTAL_NUMBER.             
     spacing (Optional[float]): The subdivision spacing. 
     number (Optional[int]): The number of subdivisions. 
   

set_subdivision_type(type)  
   
   Set the subdivision type of the interpolating spline.                   
   
   Args: 
     type (str): The subdivision type. Valid types: CONSTANT_SPACING,       
        CONSTANT_SUBDIVISION_NUMBER, or CONSTANT_TOTAL_NUMBER.