compas_vector_from_occ_vector

compas_occ.conversions.compas_vector_from_occ_vector(cls, vector)[source]

Construct a COMPAS vector from an OCC vector.

Parameters
  • cls (Type[Vector]) – The type of COMPAS vector.

  • vector (gp_Vec) – The OCC vector.

Returns

Vector