DGtalTools  0.9.4
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

Definition at line 128 of file shape.h.

Definition at line 129 of file shape.h.

Constructor & Destructor Documentation

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

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

Definition at line 135 of file shape.h.

References DGtal::PointVector< dim, TEuclideanRing, TContainer >::dot(), and normal.

136  {
137  return normal.dot(point) <= 0;
138  }
RealPoint normal
Definition: shape.h:140
Component dot(const Self &v) const

Field Documentation

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: