8#include "RshPluginScript/RshPluginScriptDefines.h"
9#include "RshPluginScript/SClass/SComp.h"
12namespace rsh::ScriptBinding
80 Number maxCosAngle = -2
98 :
public SObjectStatic
119 static Array
FromClick() {
return SComp::GetFromClick<SFeature>(SV_FEATURE); }
125 static Array
FromName( String Name) {
return SComp::GetFromName<SFeature>(Name); }
158 return SComp::GetAll<SFeature>(VisCrit);
165RSH_SCOMP_STATIC_Q_DECLARE_METATYPE(
SFeature, _SFeatureDummy);
The SCloud class provides point cloud manipulation. The SCloud creation can be done by calling the st...
Definition: SCloud.h:41
The SComp class is an abstract class. Use derived classes SCircle, SCylinder, SCloud,...
Definition: SComp.h:32
The SFeature class is an abstract class.
Definition: SFeature.h:19
Array Compare(SCloud iMeasCloud, Number DistMax, Number MappingObject, Number maxCosAngle=-2)
Calculates the distances between 2 components for further inspection purpose (color mapping)
static String toString()
Get the type of the variable.
static Array FromSel()
To get all the selected SComp.
String toString()
Get the type of the variable.
static Array FromName(String Name)
Search all the component with the given name.
Definition: SFeature.h:125
SetCenter(SPoint iCenter)
To set a new center to the SFeature.
static Array FromBfcFile(String iFilePath)
To load a .bfc file.
static Array All(Number VisCrit)
To get all the SComp in the document.
Definition: SFeature.h:150
SetNormal(SVector Normal)
To set a new normal to the SFeature.
static Array FromClick()
Launches a click interaction to select a SComp in the scene.
Definition: SFeature.h:119
3D point manipulation class. The SPoint creation can be done by calling the static functions:
Definition: SPoint.h:23
The mathematical object vector.
Definition: SVector3.h:26