|
Object | BestSymmetryPlane (SComp selComp, number option=0) |
| Compute the best symmetry plane of a cloud or mesh. More...
|
|
Object | Discretize (number deflection=0, number meanPointDistance=0) |
| Discretize the plane 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 point) |
| Return the distance between a point and the plane. More...
|
|
Object | FitPlaneToBoundingBox3D (SPoint lowerPoint, SPoint upperPoint, boolean moveCenter, number scale) |
| Update the width and length of the plane in order to cover the given bounding box in the normal direction of the plane. More...
|
|
number | GetLength () |
| Return the length of the plane. More...
|
|
number | GetSurface () |
| Return the surface of the plane. More...
|
|
number | GetWidth () |
| Return the width of the plane. More...
|
|
SVector | GetXDir () |
| Return the X direction of the plane. More...
|
|
SVector | GetYDir () |
| Return the Y direction of the plane. More...
|
|
Object | IntersectionBetween2Planes (SPlane secondPlane) |
| Calculate intersection with another plane. More...
|
|
Object | Proj3D (SMultiline multilineToProject) |
| Project a polyline onto the plane (3D projection) More...
|
|
Object | Proj3D (SPoint pointToProject) |
| Project a point onto the plane (shortest point) More...
|
|
Object | ProjDir (SMultiline multilineToProject, SVector direction) |
| Project a polyline onto the plane along a given direction. More...
|
|
Object | ProjDir (SPoint pointToProject, SVector projectionVector) |
| Project a point onto the plane along a given direction. More...
|
|
| SetLength (number length) |
| Set the length. More...
|
|
| SetWidth (number width) |
| Set the width. More...
|
|
| SPlane () |
| Default constructor to create an empty new SPlane. More...
|
|
| SPlane (SPlane other) |
| Construct a SPlane by copying another SPlane. More...
|
|
| SPlane (SPoint center, SVector normal) |
| Construct a new SPlane from a given center and normal direction. More...
|
|
| SPlane (SPoint center, SVector normal, SVector xDir, number length, number width) |
| Construct a new SPlane from a given center, normal direction, x direction, length and width. More...
|
|
| SPlane (SPoint firstPt, SPoint secondPt, SPoint thirdPt) |
| Construct a new SPlane by 3 points. More...
|
|
string | toString () |
| Get the type of the variable. More...
|
|
string | ValuesToString () |
| Get a debug string representation of the plane. More...
|
|
Object | Compare (SCloud measCloud, number distMax, number mappingObject=1, number maxCosAngle=-2) |
| Calculate the distances between 2 components for further inspection purpose (color mapping) More...
|
|
SPoint | GetCenter () |
| Return the center of the feature. More...
|
|
SVector | GetNormal () |
| Return the normal of the feature. More...
|
|
| SetCenter (SPoint center) |
| Set the center. More...
|
|
| SetNormal (SVector normal) |
| Set the normal. More...
|
|
string | toString () |
| Get the type of the variable. More...
|
|
| AddToDoc () |
| Add the object to the document. More...
|
|
| ApplyTransformation (SMatrix matrix) |
| Apply a geometric transformation to the current object by making a product with the given matrix. More...
|
|
Object | GetBoundingBox (SMatrix ucs=null) |
| Calculate the bounding box of the object. More...
|
|
Object | GetColors () |
| Get the colors of the object. More...
|
|
string | GetFolderName () |
| Get the name of the folder containing the object. More...
|
|
string | GetName () |
| Return the object's name. More...
|
|
string | GetPath () |
| Return the full path of a SComp in the tree. More...
|
|
| Invert () |
| Invert the normal of the object. More...
|
|
boolean | IsInDoc () |
| Return if the object is in the document or not. More...
|
|
boolean | IsVisible () |
| Get the visibility of the object. More...
|
|
| MoveToGroup (string groupPath, boolean moveInsideTopParent=true) |
| 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 () |
| Remove the object from the document. More...
|
|
| SetClippable (boolean clipping) |
| Set clippable or not. More...
|
|
| SetColors (number red, number green, number blue) |
| Set the colors of the object. More...
|
|
| SetName (string objectName) |
| Set the object's name. More...
|
|
| SetTransparency (number alpha) |
| Set the transparency of the object. More...
|
|
| SetVisibility (boolean visible) |
| Set the object to be visible, or not visible. More...
|
|
string | toString () |
| Get the type of the variable. More...
|
|
| Translate (SVector vector) |
| Make a translation of the current object with an SVector. More...
|
|
|
static Array< SPlane > | All (VisibilityEnum visCrit=SComp.ANY_VISIBILITY) |
| Get all the SPlane in the document. More...
|
|
static Object | FromClick () |
| Launch an interaction to select a SPlane in the scene. More...
|
|
static Array< SPlane > | FromName (string name) |
| Search all the SPlane with the given name. More...
|
|
static Array< SPlane > | FromSel () |
| Get all the selected SPlane. More...
|
|
static SPlane | New () |
| Default constructor to create an empty new SPlane. More...
|
|
static SPlane | New (SPlane other) |
| Construct a SPlane by copying another SPlane. More...
|
|
static SPlane | New (SPoint center, SVector normal) |
| Construct a new SPlane from a given center and normal direction. More...
|
|
static SPlane | New (SPoint center, SVector normal, SVector xDir, number length, number width) |
| Construct a new SPlane from a given center, normal direction, x direction, length and width. More...
|
|
static SPlane | New (SPoint firstPt, SPoint secondPt, SPoint thirdPt) |
| Construct a new SPlane by 3 points. More...
|
|
static Array< SFeature > | All (VisibilityEnum visCrit=SComp.ANY_VISIBILITY) |
| Get all the SFeature in the document. More...
|
|
static Object | FromBfcFile (string filePath) |
| Load a .bfc file. More...
|
|
static Object | FromClick () |
| Launch an interaction to select a SFeature in the scene. More...
|
|
static Array< SFeature > | FromName (string name) |
| Search all the SFeature with the given name. More...
|
|
static Array< SFeature > | FromSel () |
| Get all the selected SFeature. More...
|
|
static Array< SComp > | All (VisibilityEnum visCrit=SComp.ANY_VISIBILITY) |
| Get all the SComp in the document. More...
|
|
static Object | FromClick () |
| Launch an interaction to select a SComp in the scene. More...
|
|
static Array< SComp > | FromName (string name) |
| Search all the SComp with the given name. More...
|
|
static Array< SComp > | FromSel () |
| Get all the selected SComp. More...
|
|
Provide plane edition and creation methods.