8#include "RshPluginScript/RshPluginScriptDefines.h"
9#include "RshPluginScript/SClass/SFeature.h"
12namespace rsh::ScriptBinding
66 Number meanPointDistance
92 :
public SObjectStatic
167 static Array
FromClick() {
return SComp::GetFromClick<SCircle>(SV_CIRCLE); }
173 static Array
FromName( String Name) {
return SComp::GetFromName<SCircle>(Name); }
179 static Array
FromSel() {
return SFeature::GetFromSel<SCircle>(); }
193 return SComp::GetAll<SCircle>(VisCrit);
200Q_DECLARE_METATYPE(SCircle::_SCircleDummy);
Circle manipulation class. The SCircle creation can be done by calling the static functions: .
Definition: SCircle.h:24
static SCircle New(SPoint FirstPt, SPoint SecondPt, SPoint ThirdPt)
Constructs a new SCircle by 3 points.
static Array FromClick()
Launches a click interaction to select a SComp in the scene.
Definition: SCircle.h:167
static SCircle New(SPoint Center, SVector Normal, Number Radius)
Constructs a new SCircle by defining its data.
static Array FromName(String Name)
Search all the component with the given name.
Definition: SCircle.h:173
SCircle NewC(SCloud inCloud)
static Array All(Number VisCrit)
To get all the SComp in the document.
Definition: SCircle.h:185
SetRadius(Number Radius)
To set a new radius to the SCircle.
String toString()
Get the type of the variable.
Number GetPerimeter()
Returns the perimeter of the feature.
static SCircle New(SCircle Other)
Constructs an SCircle by copying Other.
Array Discretize(Number deflection, Number meanPointDistance)
To convert the continuous feature into a discretized SMultiline. Only one parameter must be specified...
static SCircle New(SLine tang1, SLine tang2, SPoint Pt, Boolean LargeQ)
Constructs a new SCircle tangent to the two FLines and passing through Pt.
Number Distance(SPoint iPoint, Boolean iCalcIn3D)
Returns the distance between a point and the feature <0 if below/inside the feature >0 if above/outsi...
static String toString()
Get the type of the variable.
static SCircle New()
Default constructor to create an empty new SCircle.
static Array FromSel()
To get all the selected SComp.
Definition: SCircle.h:179
The SCloud class provides point cloud manipulation. The SCloud creation can be done by calling the st...
Definition: SCloud.h:41
The SFeature class is an abstract class.
Definition: SFeature.h:19
Line manipulation class. The SLine creation can be done by calling the static functions: .
Definition: SLine.h:25
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