DGtalTools  1.2.0
Public Types | Public Member Functions | Data Fields
PlaneShape Struct Reference

#include <estimators/volSurfaceRegularization-details/shape.h>

Public Types

typedef DGtal::Z3i::Point Point
 
typedef DGtal::Z3i::RealPoint RealPoint
 

Public Member Functions

 PlaneShape (const RealPoint &normal_)
 
bool operator() (const Point &point) const
 

Data Fields

RealPoint normal
 

Detailed Description

Definition at line 126 of file shape.h.

Member Typedef Documentation

◆ Point

typedef DGtal::Z3i::Point PlaneShape::Point

Definition at line 128 of file shape.h.

◆ RealPoint

typedef DGtal::Z3i::RealPoint PlaneShape::RealPoint

Definition at line 129 of file shape.h.

Constructor & Destructor Documentation

◆ PlaneShape()

PlaneShape::PlaneShape ( const RealPoint normal_)
inline

Definition at line 131 of file shape.h.

131  : normal(normal_)
132  {
133  }
RealPoint normal
Definition: shape.h:140

Member Function Documentation

◆ operator()()

bool PlaneShape::operator() ( const Point point) const
inline

Definition at line 135 of file shape.h.

136  {
137  return normal.dot(point) <= 0;
138  }

References normal.

Field Documentation

◆ normal

RealPoint PlaneShape::normal

Definition at line 140 of file shape.h.

Referenced by operator()().


The documentation for this struct was generated from the following file: