Utilities
- compas_mrr.utils.rgpoint_to_cgpoint(pt: Rhino.Geometry.Point3d) compas.geometry.Point [source]¶
Convert
Rhino.Geometry.Point3d
tocompas.geometry.Point
.- Parameters:
pt – Plane object to convert
- Return type:
Resulting point object
- compas_mrr.utils.cgpoint_to_rgpoint(pt: compas.geometry.Point) Rhino.Geometry.Point3d [source]¶
Convert
compas.geometry.Point
toRhino.Geometry.Point
.
- compas_mrr.utils.cgframe_to_rgplane(frame: compas.geometry.Frame) Rhino.Geometry.Plane [source]¶
Convert
compas.Geometry.Frame
toRhino.Geometry.Plane
.
- compas_mrr.utils.rgtransform_to_cgtransformation(rgT: Rhino.Geometry.Transform) compas.geometry.Transformation [source]¶
Convert
Rhino.Geometry.Transform
tocompas.geometry.Transformation
.
- compas_mrr.utils.rgtransform_to_matrix(rgT: Rhino.Geometry.Transform) List[List[float]] [source]¶
Convert
Rhino.Geometry.Transform
to transformation matrix.
- compas_mrr.utils.cgtransformation_to_rgtransform(cgT: compas.geometry.Transformation) Rhino.Geometry.Transform [source]¶
Convert
compas.geometry.Transformation
toRhino.Geometry.Transform
.