Skip to content

Error in Example File: core_geometry_oriented_bounding_box #64

@JonathanFalise

Description

@JonathanFalise

Hi,

While trying to understand how to display bounding box of shapes, I discovered that the example core_geometry_oriented_bounding_box doesn't run through.

Error message prompt:
Exception has occurred: RuntimeError
"Standard_ConstructionErrorgp_Dir() - input vector has zero norm raised from method gp_Dir of class gp_Dir"
"RuntimeError: Standard_ConstructionErrorgp_Dir() - input vector has zero norm raised from method gp_Dir of class gp_Dir"

I believe the error is on line 44, with both gp_Dir(aZDir) and gp_Dir(aXDir)

Thank you for the work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions