8#include "RshPluginScript/RshPluginScriptDefines.h"
9#include "RshPluginScript/SClass/SFeature.h"
12namespace rsh::ScriptBinding
94 Number meanPointDistance
120 :
public SObjectStatic
182 static Array
FromClick() {
return SComp::GetFromClick<SRoundSlot>(SV_ROUND_SLOT); }
188 static Array
FromName( String Name) {
return SComp::GetFromName<SRoundSlot>(Name); }
194 static Array
FromSel() {
return SFeature::GetFromSel<SRoundSlot>(); }
208 return SComp::GetAll<SRoundSlot>(VisCrit);
215Q_DECLARE_METATYPE(SRoundSlot::_SRoundSlotDummy);
Circle manipulation class. The SCircle creation can be done by calling the static functions: .
Definition: SCircle.h:24
The SFeature class is an abstract class.
Definition: SFeature.h:19
3D point manipulation class. The SPoint creation can be done by calling the static functions:
Definition: SPoint.h:23
RoundSlot manipulation class. The SRoundSlot creation can be done by calling the static functions: .
Definition: SRoundSlot.h:24
static SRoundSlot New(SPoint FirstPt, SPoint SecondPt, SPoint ThirdPt)
Constructs a new SRoundSlot by 3 points.
Number GetLength()
Returns the length.
static SRoundSlot New(SRoundSlot Other)
Constructs an SRoundSlot by copying Other.
static Array All(Number VisCrit)
To get all the SComp in the document.
Definition: SRoundSlot.h:200
Array Discretize(Number deflection, Number meanPointDistance)
To convert the continuous feature into a discretized SMultiline. Only one parameter must be specified...
SPoint GetCenterB()
Returns the center on the +X side.
String toString()
Get the type of the variable.
Number Distance(SPoint Point, Boolean CalcIn3D)
Returns the distance between a point and the feature <0 if below/inside the feature >0 if above/outsi...
Number GetWidth()
Returns the width.
Number GetPerimeter()
Returns the perimeter of the feature.
SCircle GetCircleA()
Returns the circle centered on the -X side.
SCircle GetCircleB()
Returns the circle centered on the +X side.
static Array FromClick()
Launches a click interaction to select a SComp in the scene.
Definition: SRoundSlot.h:182
SPoint GetCenterA()
Returns the center on the -X side.
SetWidth(Number Width)
Setter for the width.
SetLength(Number Length)
Setter for the length.
static SRoundSlot New()
Default constructor to create an empty new SRoundSlot.
static Array FromSel()
To get all the selected SComp.
Definition: SRoundSlot.h:194
static Array FromName(String Name)
Search all the component with the given name.
Definition: SRoundSlot.h:188
static SRoundSlot New(SPoint Center, SVector Normal, SVector XDir, Number Length, Number Width)
Constructs a new SRoundSlot by defining its data.
static String toString()
Get the type of the variable.
The mathematical object vector.
Definition: SVector3.h:26