compas_point_from_occ_point
- compas_occ.conversions.compas_point_from_occ_point(point: OCC.Core.gp.gp_Pnt, cls: Optional[Type[compas.geometry.point.Point]] = None) compas.geometry.point.Point
- 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 compas_point_from_occ_point >>> point = gp_Pnt(0, 0, 0) >>> compas_point_from_occ_point(point) Point(0.0, 0.0, z=0.0)