|
static Array | All (Number VisCrit) |
| To get all the SComp in the document. 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 | GetCurvilinearAbscissa () |
| Get the current curvilinear abscissa of the plane along its path. More...
|
|
Number | GetDepth () |
| Get the depth of the clipping plane. More...
|
|
Array | GetDirection () |
| Get the directions of the clipping plane. More...
|
|
Array | GetPath () |
| Get the path of the clipping plane as a polyline. More...
|
|
SPoint | GetPosition () |
| Set the center of the clipping plane. More...
|
|
Number | GetStep () |
| Get the step of the clipping plane. More...
|
|
Boolean | HasPath () |
| Does the clipping have a path? More...
|
|
SMatrix | Move (Number iDistance) |
| Move the clipping plane to a certain distance along its normal or its path if defined. More...
|
|
SMatrix | MoveInDirectionOf (SPoint iTargetPoint, Boolean iReprojectPoint) |
| Move the clipping plane in direction of a given point along its normal or its path if defined. More...
|
|
static SClippingPlane | New () |
| Default constructor to create an empty new SClippingPlane. More...
|
|
static SClippingPlane | New (SClippingPlane _iOther) |
| Constructs an SPlane by copying the SClippingPlane Other. More...
|
|
static SClippingPlane | New (SMultiline _iPath) |
| Constructs a new SClippingPlane by defining its path. More...
|
|
static SClippingPlane | New (SPlane _iPlane) |
| Constructs a new SClippingPlane by defining its plane. More...
|
|
static SClippingPlane | New (SPoint _iCenter, SVector _iNormal) |
| Constructs a new SClippingPlane by defining its data. More...
|
|
| SetDepth (Number iStep) |
| Set the depth for the clipping plane. More...
|
|
| SetDirection (SVector iNormal, SVector iXDir) |
| Set the normal of the clipping plane. More...
|
|
| SetPosition (SPoint iNewCenter) |
| Set the center of the clipping plane. More...
|
|
| SetStep (Number iDepth) |
| Set the step for the clipping plane. More...
|
|
String | toString () |
| Get the type of the variable. More...
|
|
static String | toString () |
| Get the type of the variable. More...
|
|
| ActivateInAllScenes () |
| Activate the clipping object in all scenes of its document. More...
|
|
| ActivateInScene (uint iSceneIndex) |
| Activate the clipping object in a given scene. More...
|
|
static Array | All (Number VisCrit) |
| To get all the SClipping in the document. More...
|
|
| Clip (SComp Comp) |
| Clip a SComp. More...
|
|
| ClipAll () |
| Clip all SComp in the current document. More...
|
|
| ClipTable (Array< SComp > CompTable) |
| Clip a table of SComp. More...
|
|
| DeactivateInAllScenes () |
| Deactivate the clipping object in all scenes of its document. More...
|
|
| DeactivateInScene (uint iSceneIndex) |
| Deactivate the clipping object in a given scene. More...
|
|
static Array | FromClick () |
| Displays a dialog box to select an SClipping 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 SClipping. More...
|
|
static Array | GetAllActivated (Number VisCrit) |
| To get all activated SClipping in the document in the current scene. More...
|
|
String | toString () |
| Get the type of the variable. More...
|
|
static String | toString () |
| Get the type of the variable. More...
|
|
| Unclip (SComp Comp) |
| Unclip a SComp. More...
|
|
| UnclipAll () |
| Unclip all SComp in the current document. More...
|
|
| UnclipTable (Array< SComp > CompTable) |
| Unclip a table of SComp. 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...
|
|
ClippingPlane manipulation class. The SClippingPlane 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);