Skip to content

Zero vector should be accepted #78

Closed
@MaxJPRey

Description

@MaxJPRey

The following lines need to be removed.
https://github.com/pyansys/pygeometry/blob/3db2614435903e289779b1028311da25faf8f626/src/ansys/geometry/core/math/vector.py#L256-L257

We can check with is_zero wherever it is needed. For instance in the arc modules, when getting vectors from points to calculate the angle, the is_zero can be used.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions