compas_vector_from_occ_vector

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

Construct a COMPAS vector from an OCC vector.

Parameters
  • vector (gp_Vec) – The OCC vector.

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

Returns

Vector