SketcherGui::EditModeCoinManager::PreselectionResult Struct Reference

This struct defines the information provided to other classes about preselection. More...

#include <EditModeCoinManager.h>

Public Types

enum class  Axes { }
 
enum  SpecialValues { InvalidPoint = -1 , InvalidCurve = -1 , ExternalCurve = -3 }
 

Public Member Functions

void clear ()
 

Public Attributes

std::set< intConstrIndices
 
Axes Cross = Axes::None
 
int GeoIndex = InvalidCurve
 
int PointIndex = InvalidPoint
 

Detailed Description

This struct defines the information provided to other classes about preselection.

PointIndex: Only Positive values corresponding to VertexId (are positive for both normal and external geometry) GeoIndex: Same values as GeoId of GeoElementId, except for axes which are not included. -1 represents an invalid curve.

In other words valid values are 0,1,2,... for normal geometry and -3,-4,-5,... for external geometry

Cross: Axes and RootPoint values as defined in the enum class.

Member Enumeration Documentation

◆ Axes

Enumerator
RootPoint 
HorizontalAxis 
VerticalAxis 

◆ SpecialValues

Enumerator
InvalidPoint 
InvalidCurve 
ExternalCurve 

Member Function Documentation

◆ clear()

void SketcherGui::EditModeCoinManager::PreselectionResult::clear ( void  )

Member Data Documentation

◆ ConstrIndices

std::set<int> SketcherGui::EditModeCoinManager::PreselectionResult::ConstrIndices

◆ Cross

Axes SketcherGui::EditModeCoinManager::PreselectionResult::Cross = Axes::None

◆ GeoIndex

int SketcherGui::EditModeCoinManager::PreselectionResult::GeoIndex = InvalidCurve

◆ PointIndex

int SketcherGui::EditModeCoinManager::PreselectionResult::PointIndex = InvalidPoint

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