|
| static Array | All (Number VisCrit) |
| | To get all the SComp in the document. More...
|
| |
| Array | Discretize (Number deflection, Number meanPointDistance) |
| | To convert the continuous feature into a discretized SPoly.
Only one parameter must be specified at a time:
To use the deflection, set a positive value and set 0 to meanPointDistance.
To use the mean distance between points, set a positive value and set 0 to deflection. More...
|
| |
| Number | Distance (SPoint iPoint) |
| | Returns the distance between a point and the feature <0 if below/inside the feature >0 if above/outside the feature. More...
|
| |
| static Array | FromClick () |
| | Launches a click interaction to select a SComp in the scene. More...
|
| |
| static Array | FromName (String Name) |
| | Search all the component with the given name. More...
|
| |
| static Array | FromSel () |
| | To get all the selected SComp. More...
|
| |
| SPoint | GetBaseCenter () |
| |
| SCircle | GetBaseCircle () |
| |
| Number | GetLength () |
| |
| Number | GetRadius () |
| |
| Number | GetSurface () |
| |
| SPoint | GetTopCenter () |
| |
| SCircle | GetTopCircle () |
| |
| Boolean | IsOuter () |
| | To know if the SCylinder is set to be scanned from the inside or from the outside. More...
|
| |
| static SCylinder | New () |
| | Default constructor to create an empty new SCylinder. More...
|
| |
| static SCylinder | New (SCylinder Other) |
| | Constructs an SCylinder by copying the SCylinder Other. More...
|
| |
| 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. More...
|
| |
| static SCylinder | New (SPoint FirstPt, SPoint SecondPt, SPoint ThirdPt, SPoint FourthPt) |
| | Constructs a new SCylinder by 4 points. More...
|
| |
| | SetInner () |
| | To set the SCylinder to a cylinder scanned from the inside. More...
|
| |
| | SetLength (Number Length) |
| | Setter for length. More...
|
| |
| | SetOuter () |
| | To set the SCylinder to a cylinder scanned from the outside. More...
|
| |
| | SetRadius (Number Radius) |
| | Setter for the radius. More...
|
| |
| String | toString () |
| | Get the type of the variable. More...
|
| |
| static String | toString () |
| | Get the type of the variable. More...
|
| |
| static Array | All (Number VisCrit) |
| | To get all the SComp in the document. More...
|
| |
| Array | Compare (SCloud iMeasCloud, Number DistMax, Number MappingObject, Number maxCosAngle=-2) |
| | Calculates the distances between 2 components for further inspection purpose (color mapping) More...
|
| |
| static Array | FromBfcFile (String iFilePath) |
| | To load a .bfc file. More...
|
| |
| static Array | FromClick () |
| | Launches a click interaction to select a SComp in the scene. More...
|
| |
| static Array | FromName (String Name) |
| | Search all the component with the given name. More...
|
| |
| static Array | FromSel () |
| | To get all the selected SComp. More...
|
| |
| SPoint | GetCenter () |
| |
| SVector | GetNormal () |
| |
| | SetCenter (SPoint iCenter) |
| | To set a new center to the SFeature. More...
|
| |
| | SetNormal (SVector Normal) |
| | To set a new normal to the SFeature. More...
|
| |
| String | toString () |
| | Get the type of the variable. More...
|
| |
| static String | toString () |
| | Get the type of the variable. More...
|
| |
| | AddToDoc () |
| | To add the object to the document. More...
|
| |
| static Array | All (Number VisCrit) |
| | To get all the SComp in the document. More...
|
| |
| | ApplyTransformation (SMatrix iMatrix) |
| | To apply a geometric transformation to the current object by making a product with the given matrix. More...
|
| |
| | Clear () |
| | To deallocate object memory. More...
|
| |
| static Array | FromClick () |
| | Launches a click interaction to select a SComp in the scene. More...
|
| |
| static Array | FromName (String Name) |
| | Search all the component with the given name. More...
|
| |
| static Array | FromSel () |
| | To get all the selected SComp. More...
|
| |
| Array | GetBoundingBox () |
| | Calculates the bounding box of the component. More...
|
| |
| Array | GetColors () |
| | To get the colors of the component. More...
|
| |
| String | GetFolderName () |
| | The component containing folder's name. More...
|
| |
| String | GetName () |
| | The component's name. More...
|
| |
| String | GetPath () |
| | To get the full path of a comp in the tree. More...
|
| |
| | Invert () |
| | Normal of the component is inverted. More...
|
| |
| Boolean | IsInDoc () |
| | Return if the component is in the document or not. More...
|
| |
| Boolean | IsVisible () |
| |
| | MoveToGroup (String GroupPath, Boolean MoveInsideTopParent) |
| | Move the object to the document group represent by the given path. If some groups, in the path, don't exist, they will be created. More...
|
| |
| | RemoveFromDoc () |
| | To remove the object from the document. More...
|
| |
| | SetClippable (Boolean clipping) |
| | Set clippable or not. More...
|
| |
| | SetColors (Number Red, Number Green, Number Blue) |
| | Sets the colors of the component. More...
|
| |
| | SetName (String ComponentName) |
| | To set the component's name. More...
|
| |
| | SetRepresentationType (RepresentationTypeEnum Representation) |
| | The shading type of the component is modified. More...
|
| |
| | SetTransparency (Number Alpha) |
| | Sets the transparency of the component. More...
|
| |
| | SetVisibility (Boolean Visible) |
| | Sets the component to be visible, or not visible. More...
|
| |
| String | toString () |
| | Get the type of the variable. More...
|
| |
| String | toString () |
| | Get the type of the variable. More...
|
| |
| | Translate (SVector Vector) |
| | To make a translation of the current object with an SVector. More...
|
| |
| | Clear () |
| | To deallocate memory of the object. More...
|
| |
| String | toString () |
| | Get the type of the variable. More...
|
| |
Cylinder manipulation class. The SCylinder creation can be done by calling the static functions:
.
- New() to create your own empty SCylinder.
- New() to copy an existing SCylinder.
- New() to create a new SCylinder by defining a center point, normal, radius, and length.
var center = SPoint.New();
var direction = SVector.New(0, 0, 1);
var radius = 7;
var length = 77;
var emptySCylinder = SCylinder.New();
var mySCylinder = SCylinder.New(center, direction, radius, length);
var mySCylinderCopy = SCylinder.New(mySCylinder);