compas_point_from_occ_point2d

compas_occ.conversions.compas_point_from_occ_point2d(point, cls=None)[source]

Construct a COMPAS point from an OCC 2D point.

Parameters
  • point (gp_Pnt2d) – The OCC point.

  • cls (Type[Point], optional) – The type of COMPAS point.

Returns

Point