[pdal-commits] [PDAL/PDAL] 71d96c: Provide for normal flipping

GitHub noreply at github.com
Thu Aug 3 09:39:23 PDT 2017


  Branch: refs/heads/issue/1638-normal-flip
  Home:   https://github.com/PDAL/PDAL
  Commit: 71d96c9ca1a2c04cfc56202785d6d66b296c6685
      https://github.com/PDAL/PDAL/commit/71d96c9ca1a2c04cfc56202785d6d66b296c6685
  Author: Bradley J Chambers <brad.chambers at gmail.com>
  Date:   2017-08-03 (Thu, 03 Aug 2017)

  Changed paths:
    M filters/NormalFilter.cpp
    M filters/NormalFilter.hpp

  Log Message:
  -----------
  Provide for normal flipping

User can always set a preferred viewpoint by providing X, Y, and Z coordinates.
If a viewpoint coordinate is not provided, it will be replaced as follows.

* X and Y will default to the midpoint of the X/Y extents
* Z will default to the maximum Z plus 1000

Normals are flipped when the dot product of the normal and the vector between
the current point and the viewpoint is less than zero.




More information about the pdal-commits mailing list