MeshLib
 
Loading...
Searching...
No Matches
MR::Features::MeasureResult::Angle Struct Reference

#include <MRFeatures.h>

+ Inheritance diagram for MR::Features::MeasureResult::Angle:

Public Member Functions

Vector3f pointFor (bool b) const
 
Vector3f dirFor (bool b) const
 
bool isSurfaceNormalFor (bool b) const
 
MRMESH_API float computeAngleInRadians () const
 
- Public Member Functions inherited from MR::Features::MeasureResult::BasicPart
 operator bool () const
 

Public Attributes

Vector3f pointA
 
Vector3f pointB
 
Vector3f dirA
 
Vector3f dirB
 
bool isSurfaceNormalA = false
 Whether dir{A,B} is a surface normal or a line direction.
 
bool isSurfaceNormalB = false
 
- Public Attributes inherited from MR::Features::MeasureResult::BasicPart
Status status = Status::notImplemented
 

Member Function Documentation

◆ computeAngleInRadians()

MRMESH_API float MR::Features::MeasureResult::Angle::computeAngleInRadians ( ) const
nodiscard

◆ dirFor()

Vector3f MR::Features::MeasureResult::Angle::dirFor ( bool b) const
inlinenodiscard

◆ isSurfaceNormalFor()

bool MR::Features::MeasureResult::Angle::isSurfaceNormalFor ( bool b) const
inlinenodiscard

◆ pointFor()

Vector3f MR::Features::MeasureResult::Angle::pointFor ( bool b) const
inlinenodiscard

Member Data Documentation

◆ dirA

Vector3f MR::Features::MeasureResult::Angle::dirA

◆ dirB

Vector3f MR::Features::MeasureResult::Angle::dirB

◆ isSurfaceNormalA

bool MR::Features::MeasureResult::Angle::isSurfaceNormalA = false

Whether dir{A,B} is a surface normal or a line direction.

◆ isSurfaceNormalB

bool MR::Features::MeasureResult::Angle::isSurfaceNormalB = false

◆ pointA

Vector3f MR::Features::MeasureResult::Angle::pointA

◆ pointB

Vector3f MR::Features::MeasureResult::Angle::pointB

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