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