#include <SurfaceBoundary.h>
|
static const char * | NameOfType () |
| Get name of this class type.
|
|
template<typename... Args> |
void | Throw (ErrorType err, const char *func, Args... args) const |
|
template<typename... Args> |
static void | ThrowStatic (ErrorType err, const char *cls, const char *func, Args... args) |
|
Boundary points and boundary segments of surface mesh
Definition at line 43 of file SurfaceBoundary.h.
§ Contains()
bool mirtk::SurfaceBoundary::Contains |
( |
int |
ptId | ) |
const |
|
inline |
Check if surface point is on the boundary
- Parameters
-
[in] | ptId | Surface point ID. |
- Returns
- Whether a given surface point is on the boundary.
Definition at line 279 of file SurfaceBoundary.h.
§ DeselectPoint()
void mirtk::SurfaceBoundary::DeselectPoint |
( |
int |
i | ) |
|
Deselect i-th boundary point
- Parameters
-
[in] | i | Boundary point index. |
§ Find()
int mirtk::SurfaceBoundary::Find |
( |
int |
ptId | ) |
const |
Find surface point ID in list of boundary points
- Parameters
-
[in] | ptId | Surface point ID. |
- Returns
- Index of surface boundary point or -1 if point is not on the boundary.
§ FindSegment()
int mirtk::SurfaceBoundary::FindSegment |
( |
int |
ptId, |
|
|
int * |
i = nullptr |
|
) |
| const |
Get index of boundary segment that a surface point belongs to
- Parameters
-
[in] | ptId | Index of surface point. |
[out] | i | Corresponding boundary segment point index. |
- Returns
- Index of first encountered boundary segment.
- Return values
-
-1 | if point is not a boundary point. |
§ GetPoint()
void mirtk::SurfaceBoundary::GetPoint |
( |
int |
i, |
|
|
double |
p[3] |
|
) |
| const |
|
inline |
Get coordinates of boundary point
- Parameters
-
[in] | i | Index of boundary point. |
[out] | p | Boundary point coordinates. |
Definition at line 264 of file SurfaceBoundary.h.
§ Point()
Point mirtk::SurfaceBoundary::Point |
( |
int |
i | ) |
const |
|
inline |
Get coordinates of boundary point
- Parameters
-
[in] | i | Index of boundary point. |
- Returns
- Boundary point coordinates.
Definition at line 271 of file SurfaceBoundary.h.
§ PointId() [1/2]
int mirtk::SurfaceBoundary::PointId |
( |
int |
i | ) |
const |
|
inline |
Surface point index of boundary point
- Parameters
-
- Returns
- Surface point index of i-th boundary point.
Definition at line 258 of file SurfaceBoundary.h.
§ PointId() [2/2]
int mirtk::SurfaceBoundary::PointId |
( |
int |
n, |
|
|
int |
i |
|
) |
| const |
|
inline |
Surface point ID of boundary segment point
- Parameters
-
[in] | n | Index of boundary segment. |
[in] | i | Index of boundary segment point. |
- Returns
- Surface point ID of i-th point of n-th boundary segment.
Definition at line 331 of file SurfaceBoundary.h.
§ PointIds()
const Array< int > & mirtk::SurfaceBoundary::PointIds |
( |
int |
n | ) |
const |
|
inline |
Surface point IDs of points making up a boundary point segment
- Parameters
-
[in] | n | Index of boundary segment. |
- Returns
- Indices of surface points making up the n-th boundary segment.
Definition at line 325 of file SurfaceBoundary.h.
§ PointIndex()
int mirtk::SurfaceBoundary::PointIndex |
( |
int |
n, |
|
|
int |
i |
|
) |
| const |
|
inline |
Boundary point index of boundary segment point
- Parameters
-
[in] | n | Index of boundary segment. |
[in] | i | Index of boundary segment point. |
- Returns
- Boundary point index of i-th point of n-th boundary segment.
Definition at line 354 of file SurfaceBoundary.h.
§ PointIndices() [1/2]
void mirtk::SurfaceBoundary::PointIndices |
( |
int |
n, |
|
|
Array< int > & |
i |
|
) |
| const |
|
inline |
Get indices of boundary points making up a boundary segment
- Parameters
-
[in] | n | Index of boundary segment. |
[out] | i | Indices of boundary points making up the n-th boundary segment. |
Definition at line 337 of file SurfaceBoundary.h.
§ PointIndices() [2/2]
Array< int > mirtk::SurfaceBoundary::PointIndices |
( |
int |
n | ) |
const |
|
inline |
Get indices of boundary points making up a boundary segment
- Parameters
-
[in] | n | Index of boundary segment. |
- Returns
- Indices of boundary points making up the n-th boundary segment.
Definition at line 346 of file SurfaceBoundary.h.
§ Segment() [1/2]
Get n-th boundary segment
- Parameters
-
[in] | n | Index of boundary segment. |
- Returns
- Reference to n-th boundary segment.
Definition at line 295 of file SurfaceBoundary.h.
§ Segment() [2/2]
Get n-th boundary segment
- Parameters
-
[in] | n | Index of boundary segment. |
- Returns
- Reference to n-th boundary segment.
Definition at line 301 of file SurfaceBoundary.h.
§ SelectPoint()
void mirtk::SurfaceBoundary::SelectPoint |
( |
int |
i | ) |
|
Select i-th boundary point
- Parameters
-
[in] | i | Boundary point index. |
The documentation for this class was generated from the following file: