|
static Array | All (Number VisCrit) |
| To get all the SComp in the document. More...
|
|
Array | BestSymmetryPlane (SComp iSelComp, Number iOption) |
| Compute the best symmetry plane of a cloud or mesh. More...
|
|
Array | Discretize (Number deflection, Number meanPointDistance) |
| To discretize the current feature To use the deflection, put a positive value and set -1 to meanPointDistance To use the mean distance between points, put a positive value and set 0 to deflection To use default value, set 0 in deflection or meanPointDistance. More...
|
|
Number | Distance (SPoint Point) |
| Returns the distance between a point and the feature <0 if below/inside the feature >0 if above/outside the feature. More...
|
|
Array | FitPlaneToBoundingBox3D (SPoint iLowerPoint, SPoint iUpperPoint, Boolean iMoveCenter, Number iScale) |
| Modify the plane's size. Compute the intersection between a box and plane. More...
|
|
static Array | FromClick () |
| Displays a dialog box to select an 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...
|
|
Number | GetLength () |
| Returns the length. More...
|
|
Number | GetSurface () |
| Returns the surface of the feature. More...
|
|
Number | GetWidth () |
| Returns the width. More...
|
|
SVector | GetXDir () |
|
SVector | GetYDir () |
|
Array | IntersectionBetween2Planes (SPlane iSecondPlane) |
| Calculate intersection with another plane. More...
|
|
static SPlane | New () |
| Default constructor to create an empty new SPlane. More...
|
|
static SPlane | New (SPlane Other) |
| Constructs an SPlane by copying the SPlane Other. More...
|
|
static SPlane | New (SPoint Center, SVector Normal) |
| Constructs a new SPlane by defining its data. More...
|
|
static SPlane | New (SPoint Center, SVector Normal, SVector XDir, Number Length, Number Width) |
| Constructs a new SPlane by defining its data. More...
|
|
static SPlane | New (SPoint FirstPt, SPoint SecondPt, SPoint ThirdPt) |
| Constructs a new SPlane by 3 points. More...
|
|
Array | Proj3D (SMultiline MultilineToProject) |
| Calculates the 3D projection of a SMultiline on an SPoly. More...
|
|
Array | Proj3D (SPoint PointToProject) |
| Projects a point onto the plane (shortest point) More...
|
|
Array | ProjDir (SMultiline MultilineToProject, SVector Direction) |
| Calculate the projection of a polyline onto the current plane along a direction. More...
|
|
Array | ProjDir (SPoint PointToProject, SVector projectionVector) |
| Projects a point onto the plane according to a given direction. More...
|
|
| SetLength (Number iLength) |
| Setter for the length. More...
|
|
| SetWidth (Number iWidth) |
| Setter for the width. 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 MeasCloud, 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 () |
| Displays a dialog box to select an 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 Center) |
| 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 Matrix) |
| 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 () |
| Displays a dialog box to select an 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 () |
|
String | GetName () |
|
| 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...
|
|
Plane manipulation class. The SPlane creation can be done by calling the static functions:
.
- New() to create your own empty SPlane.
- New() to copy an existing SPlane.
- New() to create a new SPlane by defining its center, normal, X axis, length and width.
var center = SPoint.New(1, 1, 2);
var normal = SVector.New(0, 1, 0);
var dirX = SVector.New(0, 0, 1);
var length = 25;
var width = 12;
var emptySPlane = SPlane.New();
var mySPlane = SPlane.New(center, normal, dirX, length, width);
var mySPlaneCopy = SPlane.New(mySPlane);