Polygon(control_points)  

The Polygon class provides an interface for creating a polygon          
segmentation. A polygon segmentation is defined by a list of control    
points defining its boundary.                                           

Args: 
  control_points (list(list([float,float,float]))): The list of 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 polygon segmentation. 
   
   Returns (list([float,float,float]): The 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_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.