LCOV - code coverage report
Current view: top level - algs/AdvFront/meshkit - AF2PointTransformNone.hpp (source / functions) Hit Total Coverage
Test: coverage_sk.info Lines: 1 1 100.0 %
Date: 2020-07-01 15:24:36 Functions: 2 2 100.0 %
Branches: 1 2 50.0 %

           Branch data     Line data    Source code
       1                 :            : /*
       2                 :            :  * AF2PointTransformNone.hpp
       3                 :            :  *
       4                 :            :  * \brief A point transformation that does no actual transformation
       5                 :            :  * to the point.
       6                 :            :  *
       7                 :            :  * A copy of the point passed in is returned without modification;  the
       8                 :            :  * transformation does not make use of or depend on the vertex binding.
       9                 :            :  */
      10                 :            : 
      11                 :            : #ifndef AF2POINTTRANSFORMNONE_HPP
      12                 :            : #define AF2POINTTRANSFORMNONE_HPP
      13                 :            : 
      14                 :            : // MeshKit
      15                 :            : #include "meshkit/AF2PointTransform.hpp"
      16                 :            : 
      17         [ -  + ]:      42400 : class AF2PointTransformNone : public AF2PointTransform
      18                 :            : {
      19                 :            :   public:
      20                 :            : 
      21                 :            :     /**
      22                 :            :      * \brief Implements AF2PointTransform::transformPoint
      23                 :            :      *
      24                 :            :      * See the documentation at AF2PointTransform::transformPoint
      25                 :            :      * for the general contract for this method.  In this implementation
      26                 :            :      * there is no actual transformation.  The point returned by the
      27                 :            :      * method is at the same location as the point passed into the
      28                 :            :      * method regardless of the vertex binding.
      29                 :            :      *
      30                 :            :      * \param point the coordinates of some 2-dimensional point
      31                 :            :      * \param vBinding a binding of reference vertices to points with actual
      32                 :            :      *   coordinates
      33                 :            :      * \return a copy of point
      34                 :            :      */
      35                 :            :     virtual AF2Point2D transformPoint(AF2Point2D const & point,
      36                 :            :         AF2Binding const & vBinding) const;
      37                 :            : 
      38                 :            :     /**
      39                 :            :      * \brief Makes and returns an independent copy of this
      40                 :            :      * AF2PointTransformNone.
      41                 :            :      *
      42                 :            :      * Implements AF2PointTransform::clone.  See additional documentation
      43                 :            :      * there.
      44                 :            :      */
      45                 :            :     virtual AF2PointTransformNone* clone() const;
      46                 :            : };
      47                 :            : 
      48                 :            : #endif

Generated by: LCOV version 1.11