DGtalTools  1.5.beta
Public Types | Public Member Functions | Data Fields
PlaneShape Struct Reference

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

Collaboration diagram for PlaneShape:
Collaboration graph
[legend]

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

Definition at line 128 of file shape.h.

◆ 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  }
Component dot(const Self &v) const

References DGtal::PointVector< dim, TEuclideanRing, TContainer >::dot(), and 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: