8#include "RshPluginScript/RshPluginScriptDefines.h"
9#include "RshGeometry/Math/Algebra/Matrix.h"
10#include "RshPluginScript/SClass/SComp.h"
11#include "RshPluginScript/SClass/SMultiLine.h"
14namespace rsh::ScriptBinding
80 SMatrix CoordinateSystemMatrix = {}
130 :
public SObjectStatic
163 static Array
FromClick() {
return SComp::GetFromClick<SSetMultiline>(SV_SET_MULTI); }
169 static Array
FromName( String Name) {
return SComp::GetFromName<SSetMultiline>(Name); }
189 return SComp::GetAll<SSetMultiline>(VisCrit);
196Q_DECLARE_METATYPE(SSetMultiline::_SSetMultilineDummy);
The SComp class is an abstract class. Use derived classes SCircle, SCylinder, SCloud,...
Definition: SComp.h:32
Matrix with 3 lines and 4 columns to make any transformation. This class should be used in order to a...
Definition: SMatrix.h:21
SSetMultiline class is a set of SMultiline, it will allow to regroup SMultiline in an SComp entity,...
Definition: SSetMultiline.h:27
ShowName(Boolean iShowName)
Control whether the name of the multiline set is shown or not in the scene.
static String toString()
Get the type of the variable.
static SSetMultiline New()
Default constructor to create an empty new SSetMultiline.
static Array FromSel()
To get all the selected SComp.
SetLineWidth(Number width)
Change the thickness of the lines.
static Array All(Number VisCrit)
To get all the SComp in the document.
Definition: SSetMultiline.h:181
static Array FromClick()
Launches a click interaction to select a SComp in the scene.
Definition: SSetMultiline.h:163
SetMultilineRepresentationTypeEnum
The different representation types for set of multilines. Use SMultiline.FLAT.
Definition: SSetMultiline.h:40
@ SETMULTILINE_INSPECTION
Definition: SSetMultiline.h:44
@ SETMULTILINE_SEGMENTS
Definition: SSetMultiline.h:42
@ SETMULTILINE_VERTICES
Definition: SSetMultiline.h:43
String toString()
Get the type of the variable.
ExternalContourOptionEnum
To know whether the external contour calculation should output a 2D Contour or a 3D Contour.
Definition: SSetMultiline.h:52
@ EXTERNAL_3D_CALCULATION
Definition: SSetMultiline.h:54
@ EXTERNAL_2D_CALCULATION
Definition: SSetMultiline.h:53
static Array FromName(String Name)
Search all the component with the given name.
Definition: SSetMultiline.h:169
Array Explode()
To explode the set of SMultiline. This function will explode the set and will duplicate all the conta...
SetSetMultilineRepresentation(SetMultilineRepresentationTypeEnum Representation)
The representation of the component is modified.
Array Save(String FilePath, SMatrix CoordinateSystemMatrix={})
Saves the SetMultiline into a file.
static SSetMultiline New(Array< SMultiline > TheMultiTable)
Constructs a new SSetMultiline by defining its data.
Array ExternalContour(ExternalContourOptionEnum CalculationOption)
Calculates the external contour of a SSetMultiline The direction used to calculate the External conto...