compas_point_to_occ_point
- compas_occ.conversions.compas_point_to_occ_point(point: compas.geometry.point.Point) OCC.Core.gp.gp_Pnt
Convert a COMPAS point to an OCC point.
- Parameters
- point
Point
The COMPAS point to convert.
- point
- Returns
gp_Pnt
Examples
>>> from compas.geometry import Point >>> from compas_occ.conversions import compas_point_to_occ_point >>> point = Point(0, 0, 0) >>> compas_point_to_occ_point(point) <class 'gp_Pnt'>