point2d_to_compas
- compas_occ.conversions.point2d_to_compas(point, cls=None)
- Construct a COMPAS point from an OCC 2D point. - Parameters:
- pointgp_Pnt2d
- The OCC point. 
- clsType[Point], optional
- The type of COMPAS point. 
 
- point
- Returns:
 - See also - Examples - >>> from OCC.Core.gp import gp_Pnt2d >>> from compas_occ.conversions import point2d_to_compas >>> point = gp_Pnt2d(0, 0) >>> point2d_to_compas(point) Point(x=0.0, y=0.0, z=0.0)