8#include "RshPluginScript/RshPluginScriptDefines.h"
9#include "RshPluginScript/SClass/SFeature.h"
12namespace rsh::ScriptBinding
91 Number meanPointDistance
138 :
public SObjectStatic
201 static Array
FromClick() {
return SComp::GetFromClick<SCylinder>(SV_CYLINDER); }
207 static Array
FromName( String Name) {
return SComp::GetFromName<SCylinder>(Name); }
213 static Array
FromSel() {
return SFeature::GetFromSel<SCylinder>(); }
227 return SComp::GetAll<SCylinder>(VisCrit);
234Q_DECLARE_METATYPE(SCylinder::_SCylinderDummy);
Circle manipulation class. The SCircle creation can be done by calling the static functions: .
Definition: SCircle.h:24
Cylinder manipulation class. The SCylinder creation can be done by calling the static functions: .
Definition: SCylinder.h:24
SetOuter()
To set the SCylinder to a cylinder scanned from the outside.
static Array FromSel()
To get all the selected SComp.
Definition: SCylinder.h:213
static SCylinder New()
Default constructor to create an empty new SCylinder.
SetLength(Number Length)
Setter for length.
Boolean IsOuter()
To know if the SCylinder is set to be scanned from the inside or from the outside.
static String toString()
Get the type of the variable.
SetInner()
To set the SCylinder to a cylinder scanned from the inside.
static Array FromName(String Name)
Search all the component with the given name.
Definition: SCylinder.h:207
static Array All(Number VisCrit)
To get all the SComp in the document.
Definition: SCylinder.h:219
static Array FromClick()
Launches a click interaction to select a SComp in the scene.
Definition: SCylinder.h:201
static SCylinder New(SPoint FirstPt, SPoint SecondPt, SPoint ThirdPt, SPoint FourthPt)
Constructs a new SCylinder by 4 points.
SetRadius(Number Radius)
Setter for the radius.
Number Distance(SPoint iPoint)
Returns the distance between a point and the feature <0 if below/inside the feature >0 if above/outsi...
static SCylinder New(SPoint Center, SVector NormalDir, Number Radius, Number Length)
Constructs a custom SCylinder from a given center point, normal direction, radius and length.
Array Discretize(Number deflection, Number meanPointDistance)
To convert the continuous feature into a discretized SPoly. Only one parameter must be specified at a...
String toString()
Get the type of the variable.
static SCylinder New(SCylinder Other)
Constructs an SCylinder by copying the SCylinder Other.
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
The mathematical object vector.
Definition: SVector3.h:26