@unknownuser said:
Geom::Vector3d#== already accounts for floating point tolerance
Right. Good to know for sure.
@unknownuser said:
you should create a z-oriented Vector3d and compare it to the normal of the plane using ==
Can't one compare against Z_AXIS ?
Come to think of it. If using a sectioncut all geometry will be on same plane. And "probably" contains faces which could be used to extract a face normal. So a plane might not even get into use. Just compare face normal against Z_AXIS ?
Or if Z_AXIS is not valid comparison object, create a z axis vector like Slbaumgartner said.
Jeff