plane_to_occ_ax2

compas_occ.conversions.plane_to_occ_ax2(plane)

Convert a COMPAS plane to a right-handed OCC coordinate system.

Parameters:
planecompas.geometry.Plane

The COMPAS plane.

Returns:
gp_Ax2

Examples

>>> from compas.geometry import Plane
>>> from compas_occ.conversions import plane_to_occ_ax2
>>> plane = Plane([0, 0, 0], [0, 0, 1])
>>> plane_to_occ_ax2(plane)
<class 'gp_Ax2'>