Class to store a multiline, that is: an ordered list of points. The SMultiline creation can be done by calling the static functions:
.
More...
#include <SMultiLine.h>
Public Types | |
enum | MultilineRepresentationTypeEnum { MULTILINE_SEGMENTS , MULTILINE_VERTICES , MULTILINE_INSPECTION } |
The different representation types for multilines. Use SMultiline.FLAT. More... | |
enum | OffsetSideEnum { OTHER_SIDE , SAME_SIDE } |
To know on which side the offset is computing depending of a define point. More... | |
enum | RepairAutoIntersectionPolicyEnum { SUPPRESS_SMALL_LOOPS_FIRST , SUPPRESS_LONG_LOOPS_FIRST , SUPPRESS_IN_VERTEX_ORDER } |
Enum the autointersection reparation policy. More... | |
enum | SmoothEnum { SMOOTH_TYPE1 , SMOOTH_TYPE2 , SMOOTH_BSPLINE } |
Enum the smoothing type. More... | |
Public Types inherited from SComp | |
enum | RepresentationTypeEnum { SMOOTH , FLAT , WIRE , SMOOTH_WIRE , FLAT_WIRE , SMOOTH_ROTWIRE , FLAT_ROTWIRE , TEXTURE , INSPECTION } |
The different representation types for inherited classes. Use (inherited class).SMOOTH. Example: for a cloud, use SCloud.SMOOTH. More... | |
Public Slots | |
AddArrows (Boolean Reverse) | |
Add two arrows at the extremities of the SMultiline. More... | |
AddArrows (Number NbArrow, Number Position) | |
Add some arrows along the SMultiline. More... | |
static Array | All (Number VisCrit) |
To get all the SComp in the document. More... | |
static Array | Chain (Array< SMultiline > TableLine, Number MaxiSegmentLength, Number Accuracy, Boolean Close) |
Chain all the SMultiline by creating new segments between nearest SMultiline extremities. Optional try to close it. . More... | |
Clear () | |
Clear to deallocate memory. More... | |
Close () | |
Close a MultiLine. More... | |
Array | ClosestPoint (SPoint iPoint) |
Finds the point in the current multiline that is the closest from an input point. More... | |
Array | CloseWithCurvedJunction (Number nPoints, Boolean makePlanarJunction) |
Close a MultiLine with a curved junction. More... | |
Array | Compare (SMultiline iMeasuredMulti, Number DistMax, SVector ProjectionDir={}, Number MappingObject, Boolean IgnoreEdge, Boolean PtToPt, Boolean InPlane) |
Calculates the distances between 2 SMultilines for further inspection purpose (color mapping). More... | |
static Array | ComputeNeutralAxis (SComp iTubularShape, SComp iHelpLine, Boolean iIsCircle, Number iApproxDiameter, Number iApproxWidth, Number iApproxLength, SVector iDirection, Number iCalculationAccuracy, Boolean iDetectAbsurdPoints, Number iSmoothNeutralAxis, Boolean iReconstructPipe) |
This function is used to compute the neutral axis of a SCloud or SPoly or surfacic SShape. More... | |
static Array | ComputeNeutralAxis (SComp iTubularShape, SComp iHelpLine, Boolean iIsCircle, Number iApproxDiameter, Number iApproxWidth, Number iApproxLength, SVector iDirection, Number iCalculationAccuracy, Number iSmoothNeutralAxis, Boolean iReconstructPipe) |
This function is used to compute the neutral axis of a SCloud or SPoly or surfacic SShape. More... | |
static Array | CurvedJunction (SMultiline iFirstMultiline, SMultiline iSecondMultiline, Number nPoints, Boolean makePlanarJunction, Boolean chainWithInput) |
Creates a curved junction between two SMultiline. . More... | |
static Array | Cut (SMultiline TheSelEdge, SPoint iPoint) |
Cut all the SMultiline by creating new segments between nearest SMultiline extremities. . More... | |
static Array | FromClick () |
Launches a click interaction to select a SComp in the scene. More... | |
Array | FromFile (String FileName) |
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 | GetArea (SVector ProjDir) |
Computes the area of a closed SMultiline projected with a direction. More... | |
Array | GetAutoIntersections (Number iLenghtTol) |
Check whether a multiline contains autointersections. More... | |
SPoint | GetCentroidLinear () |
Returns the barycenter of the current line considering the line having a constant linear density all along the polyline. More... | |
Array | GetColorGradient () |
To get the color gradient of the SMultiline. More... | |
Array | GetDeviation (Number iIndex) |
Array | GetDeviations () |
return all deviation values of the multiline More... | |
Number | GetLength () |
Array | GetNormal () |
Calculates the normal plane of the current SMultiline. More... | |
Number | GetNumber () |
SPoint | GetPoint (unsigned Index) |
Array | GetPointAtDistance (Number DistanceToOrigin, Boolean InterpolateOnSegments) |
Returns the point at a given distance on the current SMultiline. More... | |
Array | InsertFirst (SPoint iPointToCopy, Number AbsoluteAccuracy) |
A point is added at the END of the multiline. More... | |
Array | InsertLast (SPoint iPointToCopy, Number AbsoluteAccuracy) |
A point is added at the END of the multiline. More... | |
Array | IntersectionWithMesh (SPoly iPoly) |
Calculate intersections with 1 poly. More... | |
Array | IntersectionWithOtherPlanarMulti (SMultiline iMulti) |
Calculate intersections between 2 planar multilines. More... | |
Array | IntersectionWithPlane (SPlane iPlane) |
Calculate intersection with 1 plane. More... | |
Boolean | IsClosed () |
Boolean | IsPlanar () |
Array | LoadColorGradient (String FilePath) |
Loads the color gradient from a file (*.rsi binary file). More... | |
static Array | MedianLine (Array< SMultiline > TableMulti, Number NbPt) |
To compute the median line between two lines. More... | |
Array | MultilineArea (SVector iProjDir) |
Computes the area of a closed SMultiline projected with a direction. More... | |
static Array | MultilinesIntersections (Array< SMultiline > TableMulti, Number DesiredAccuracy) |
Function to compute the set of intersections between an arbitrary number of Multilines. More... | |
static SMultiline | New () |
Default constructor to create an empty new SMultiline. More... | |
static SMultiline | New (SMultiline iOther) |
Constructs an SMultiline by copying the SMultiline Other. More... | |
Array | Offset (SVector Direction, Number DistOffset, OffsetSideEnum GoodSide, SPoint iSidePt) |
Computes the parallel contour of a SMultiline according to a direction. More... | |
Array | Proj3D (SPoint iPoint) |
Search the closest 3D projection of a 3D Point this MultiLine. The projection can occur on a segment or a vertex. More... | |
Array | ProjDir (SPoint iThePnt, SVector ProjDir, Number Aperture) |
Search the closest projection along a direction on this MultiLine. The projection can occur on a segment or a vertex. More... | |
Array | Reduce (unsigned NbPoint, Number MaxDeviation, Boolean OptimizePosition) |
Reduces the current SMultiline to have a certain number of points while keeping the best points. More... | |
Array | RepairAutoIntersections (Number iLengthTol, Number iLoopMaxLength=-1, RepairAutoIntersectionPolicyEnum iPolicy) |
Repair the autointersections if there were by suppressing the smallest loop bounded by autointersection point. More... | |
Reverse () | |
Reverse the current multiline. More... | |
Array | RightAngle (Number Threshold) |
Modifies the vertex of the SMultiline in order to get Right angles on the SMultiline. More... | |
Array | Save (String FilePath, SMatrix CoordinateSystemMatrix={}) |
Saves the Multiline into a file. More... | |
Array | SaveColorGradient (String FilePath) |
Saves the color gradient into a file (*.rsi binary file). More... | |
SetLineWidth (Number width) | |
Change the thickness of the line. More... | |
SetMultilineRepresentation (MultilineRepresentationTypeEnum Representation) | |
The representation of the component is modified. More... | |
ShowName (Boolean iShowName) | |
Control whether the name of the multiline is shown or not in the scene. More... | |
Array | Smooth (Number Para1, Number SmoothIntens, SmoothEnum SmoothingType, Number MaxiDeviation) |
Recalculates new vertices to smooth the current SMultiLine. More... | |
Array | SuppressSmallLines (Number iLengthTol) |
Define a multiline suppressing the lines which have a length smaller than a tolerance length. More... | |
String | toString () |
Get the type of the variable. More... | |
static String | toString () |
Get the type of the variable. More... | |
Public Slots inherited from SComp | |
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... | |
Public Slots inherited from SObject | |
Clear () | |
To deallocate memory of the object. More... | |
String | toString () |
Get the type of the variable. More... | |
Class to store a multiline, that is: an ordered list of points. The SMultiline creation can be done by calling the static functions:
.
The different representation types for multilines.
Use SMultiline.FLAT.
Enumerator | |
---|---|
MULTILINE_SEGMENTS | |
MULTILINE_VERTICES | |
MULTILINE_INSPECTION |
|
slot |
Add two arrows at the extremities of the SMultiline.
[in] | Reverse | To know if arrows are reversed or not.
|
|
slot |
Add some arrows along the SMultiline.
NbArrow | Number of arrows to be drawn. Negative value means on each segment. |
Position | The place where arrow should be displayed inside [0 1].
|
|
inlinestaticslot |
To get all the SComp in the document.
Array | all the SMultiline contained in the document |
[in] | VisCrit | Visible selection criteria
|
|
staticslot |
Chain all the SMultiline by creating new segments between nearest SMultiline extremities.
Optional try to close it.
.
Array.ErrorCode | The error code:
|
Array.MultiTbl | An SMultiline table with contours, else if the SMultilines are impossible to chain returns an empty Array |
[in] | TableLine | The SMultiline table to chain |
[in] | MaxiSegmentLength | The maximum size of new segments created to make junctions between polylines. If 0, no size limit. |
[in] | Accuracy | The comparison "equality" accuracy. If 0, the comparison value used is 1.e-5. |
[in] | Close | Try to close the polylines. |
|
slot |
Clear to deallocate memory.
|
slot |
Close a MultiLine.
|
slot |
Finds the point in the current multiline that is the closest from an input point.
Array.ErrorCode | The error code.
|
Array.Index | The index number (0 <= index < Number) of the closest vertex from the InitialPoint. |
Array.SqDistance | The square distance found. |
[in] | iPoint | The point from which the closest has to be found |
|
slot |
Close a MultiLine with a curved junction.
Array.ErrorCode | The error code:
|
[in] | nPoints | the number of points that should be created on the junction |
[in] | makePlanarJunction | should the junction be planar? |
|
slot |
Calculates the distances between 2 SMultilines for further inspection purpose (color mapping).
Array.ErrorCode | The error code
|
Array.Multi | The new SMultiline, which is the result of the comparison. Each point of the output SMultiline has an associated value , which is the distance found between the two vertices, or undefined if this distance could not be computed or is not relevant. |
Array.ReportData | The new SReportData, which contains the view set with the inspected component. |
[in] | iMeasuredMulti | SMultiline considered as the measured object to project on this |
[in] | DistMax | ignore point having a distance greater than this one. |
[in] | ProjectionDir | the direction of the 2D comparison (requires both polylines in a same plane) |
[in] | MappingObject | 1 means color mapping is done on 'this', else 2 the color mapping is done on iMeasuredMulti. |
[in] | IgnoreEdge | What should be done with points on edges ?
|
[in] | PtToPt | WARNING: if true the two SMultilines MUST have the same point number. Project each point on it corresponding point. |
[in] | InPlane | true if the inspection can be done in a plane, so the result can be signed |
|
staticslot |
This function is used to compute the neutral axis of a SCloud or SPoly or surfacic SShape.
Array.ErrorCode | The error code:
|
Multi | The smoothed neutral axis |
Comp | The reconstructed pipe |
[in] | iTubularShape | The SCloud, SPoly or surfacic SShape on which the neutral axis is computed |
[in] | iHelpLine | Help line (SMultiLine, linear SShape) used to create sections on object to compute neutral axis, if null, then it is automatically computed |
[in] | iIsCircle | True : Circle, false : SquareSlot |
[in] | iApproxDiameter | Estimation of the diameter of the circle. if <= 0.0 the diameter is automatically computed |
[in] | iApproxWidth | Estimation of the width of the square slot. if <= 0.0 the width is automatically computed |
[in] | iApproxLength | Estimation of the length of the square slot. if <= 0.0 the length is automatically computed |
[in] | iDirection | Estimation of the direction of the length of the square slot. if nullptr the direction is automatically computed |
[in] | iCalculationAccuracy | Number of section along the polyline between 10 - 500 |
[in] | iDetectAbsurdPoints | True : allow detection of absurd points on the tubular shape |
[in] | iSmoothNeutralAxis | The smoothing value between 0 - 15 |
[in] | iReconstructPipe | True : Pipe will be reconstructed according to the computed neutral axis |
|
staticslot |
This function is used to compute the neutral axis of a SCloud or SPoly or surfacic SShape.
Array.ErrorCode | The error code:
|
Multi | The smoothed neutral axis |
Comp | The reconstructed pipe |
[in] | iTubularShape | The SCloud, SPoly or surfacic SShape on which the neutral axis is computed |
[in] | iHelpLine | Help line (SMultiLine, linear SShape) used to create sections on object to compute neutral axis, if null, then it is automatically computed |
[in] | iIsCircle | True : Circle, false : SquareSlot |
[in] | iApproxDiameter | Estimation of the diameter of the circle. if <= 0.0 the diameter is automatically computed |
[in] | iApproxWidth | Estimation of the width of the square slot. if <= 0.0 the width is automatically computed |
[in] | iApproxLength | Estimation of the length of the square slot. if <= 0.0 the length is automatically computed |
[in] | iDirection | Estimation of the direction of the length of the square slot. if nullptr the direction is automatically computed |
[in] | iCalculationAccuracy | Number of section along the polyline between 10 - 500 |
[in] | iSmoothNeutralAxis | The smoothing value between 0 - 15 |
[in] | iReconstructPipe | True : Pipe will be reconstructed according to the computed neutral axis |
|
staticslot |
Creates a curved junction between two SMultiline.
.
Array.ErrorCode | The error code:
|
Array.Multi | The result SMultiline, else if an error occured, returns an empty Array |
[in] | iFirstMultiline | The first SMultiline to join |
[in] | iSecondMultiline | The second SMultiline to join |
[in] | nPoints | the number of points that should be created on the junction |
[in] | makePlanarJunction | should the junction be planar? |
[in] | chainWithInput | should the result SMultiline be chained with the input multilines? |
|
staticslot |
Cut all the SMultiline by creating new segments between nearest SMultiline extremities.
.
Array.ErrorCode | The error code:
|
Array.MultiTbl | A SMultiline table with all resulting polylines |
|
inlinestaticslot |
Launches a click interaction to select a SComp in the scene.
Array.ErrorCode | The error code
|
Array.Multi | the SMultiline selected |
|
slot |
Function to import a SMultiline, and create new SMultilines from a file. Authorized file extensions : .asc, .mli
Array.ErrorCode | The error code:
|
Array.MultiTbl | The loaded SMultiline array |
[in] | FileName | The file name path |
|
inlinestaticslot |
Search all the component with the given name.
Array | all the SMultiline with the given name |
|
staticslot |
To get all the selected SComp.
Array | all the SMultiline selected |
|
slot |
Computes the area of a closed SMultiline projected with a direction.
>0 | The contour turns in the trigo way |
0 | The SMultiline is not closed. |
<0 | The contour turns clockwise. |
[in] | ProjDir | Projection direction |
|
slot |
Check whether a multiline contains autointersections.
Array.ErrorCode | The error code
|
Array.PointTbl | the list of points at autointersection |
[in] | iLenghtTol | the tolerance to detect autointersections. An intersection is detected when the lines have their bounding boxes intersecting and their distances less than iLengthTol |
|
slot |
Returns the barycenter of the current line considering the line having a constant linear density all along the polyline.
|
inlineslot |
To get the color gradient of the SMultiline.
Array.ErrorCode | The error code.
|
Array.Gradient | the SColorGradient associated to the current SMultiline |
|
slot |
Returns | deviation of the point If no deviation is stored in the cloud GetDeviation will return an UndefinedValue |
[in] | iIndex | index of the point for which the deviation value will be returned |
|
slot |
return all deviation values of the multiline
Array.ErrorCode | The error code.
|
Array.ValueTbl | The deviation values |
|
slot |
|
slot |
Calculates the normal plane of the current SMultiline.
Array.ErrorCode | The error code:
|
Array.Vector | The normal of the SMultiline. |
Array.Point | A point on the plane. |
|
slot |
|
slot |
|
slot |
Returns the point at a given distance on the current SMultiline.
Array.ErrorCode | The error code:
|
Array.Point | The point on the current SMultiline at the expected distance. |
Array.Vector | The tangent of the SMultiline at the expected distance. |
[in] | DistanceToOrigin | the distance from the origin of the SMultiline |
[in] | InterpolateOnSegments | Interpolate the tangent on segments. If false, the tangent of a segment will be its direction |
|
slot |
A point is added at the END of the multiline.
Array.ErrorCode | The error code:
|
[in] | iPointToCopy | The point to add at the beginning of the multiline. |
[in] | AbsoluteAccuracy | The comparison's "equality" accuracy. Two points are considered as equal if their distance is less than this value. If Accuracy, the comparison value is by 1.e-5. |
|
slot |
A point is added at the END of the multiline.
Array.ErrorCode | The error code:
|
[in] | iPointToCopy | The point to add at the end of the multiline. |
[in] | AbsoluteAccuracy | The comparison's "equality" accuracy. Two points are considered as equal if their distance is less than this value. If Accuracy, the comparison value is by 1.e-5. |
|
slot |
Calculate intersections with 1 poly.
Array.ErrorCode | The error code:
|
Array.PointTbl | an array containing the intersection points (SPoint). |
[in] | iPoly | the poly to calculate intersections with |
|
slot |
Calculate intersections between 2 planar multilines.
Array.ErrorCode | The error code:
|
Array.PointTbl | an array containing the intersection points (SPoint). |
[in] | iMulti | the multi to calculate intersections with |
|
slot |
Calculate intersection with 1 plane.
Array.ErrorCode | The error code:
|
Array.PointTbl | an array containing the intersection points (SPoint). |
[in] | iPlane | the plane to calculate intersections with |
|
slot |
|
slot |
|
inlineslot |
Loads the color gradient from a file (*.rsi binary file).
Array.ErrorCode | The error code.
|
Array.Gradient | The color gradient associated to the current SMultiline |
FilePath | The complete file path to load from |
|
staticslot |
To compute the median line between two lines.
Array.ErrorCode | The error code:
|
Array.Multi | The computed median line if ErrorCode is 0. |
TableMulti | Table of multilines |
NbPt | Number of point of the final median line
|
|
slot |
Computes the area of a closed SMultiline projected with a direction.
Array.ErrorCode | The error code:
|
Array.Surface | The area of the multiline. |
Array.Value | The direction of the multiline.
|
|
staticslot |
Function to compute the set of intersections between an arbitrary number of Multilines.
Array.ErrorCode |
|
Array.IntersectionTbl | Table of point containing the intersection points. |
TableMulti | Collection of SMultiline between which the intersections are computed. |
DesiredAccuracy | Distance under which two segments are considered intersecting. |
|
staticslot |
Default constructor to create an empty new SMultiline.
|
staticslot |
Constructs an SMultiline by copying the SMultiline Other.
|
slot |
Computes the parallel contour of a SMultiline according to a direction.
Array.ErrorCode | The error code
|
Array.Multi | The resulting offset contour. |
[in] | Direction | The offset is computed in the plane normal to this vector. This means that each point of the SMultiline is moved in a direction normal to this vector. If 0, the plane is assumed to be the best plane of the current SMultiline. |
[in] | DistOffset | The offset distance |
[in] | GoodSide | To know which offset side is ? OTHER_SIDE: The side where SidePt is not. SAME_SIDE: The side where SidePt is. |
[in] | iSidePt | a point to know the side of the offset. |
|
slot |
Search the closest 3D projection of a 3D Point this MultiLine. The projection can occur on a segment or a vertex.
Array.ErrorCode | The error code.
|
Array.Index | The index number (0 <= index < Number) of the closest segment or point.
|
Array.Point | Return here the projected point found. |
[in] | iPoint | The point to project. |
Search the closest projection along a direction on this MultiLine. The projection can occur on a segment or a vertex.
Array.ErrorCode | The error code.
|
Array.Index | The index number (0 <= index < Number) of the closest segment or point.
|
Array.Point | Return here the projected point found. |
[in] | iThePnt | The point to project. |
[in] | ProjDir | projection direction |
[in] | Aperture | the aperture distance. Significant only if computation occurs in a plane. Points are valid only if they are inside a cylinder of axis defined by ThePnt and ProjDir and a radius equal by this value. |
|
slot |
Reduces the current SMultiline to have a certain number of points while keeping the best points.
Array.ErrorCode | The error code:
|
[in] | NbPoint | Number of points to get after reducing if input is 0, only the max deviation criterion is taken into account |
[in] | MaxDeviation | The maximum deviation allowed. If very high, there is no chance that this criterion is taken into account when reducing (default behavior) |
[in] | OptimizePosition | If true, optimization of points positions. Else reduce the line using existing points. |
|
slot |
Repair the autointersections if there were by suppressing the smallest loop bounded by autointersection point.
Array.ErrorCode | The error code
|
Array.Value |
|
Array.Multi | the repaired multiline. |
[in] | iLoopMaxLength | the tolerance to detect autointersections. An intersection is detected when the lines have their bounding boxes intersecting and their distances less than iLengthTol [in] the maximal length of the loop which can be suppressed (-1 means 1/4 of the perimeter of the multiline) |
[in] | iPolicy | policy to suppress the loops between autointersections (SUPPRESS_SMALL_LOOPS_FIRST is the default policy). |
|
slot |
Reverse the current multiline.
|
slot |
Modifies the vertex of the SMultiline in order to get Right angles on the SMultiline.
Array.ErrorCode | The error code:
|
Threshold | Threshold in degrees under which an angle is modified |
|
slot |
Saves the Multiline into a file.
Supported extensions :
Array.ErrorCode | The error code.
|
Array.IsDemoVersion | Indicates if this is a demonstration version or not |
FilePath | The complete file path to save into |
CoordinateSystemMatrix | the matrix to define a UCS used for the export (or identity to use the WCS) |
|
inlineslot |
Saves the color gradient into a file (*.rsi binary file).
Array.ErrorCode | The error code.
|
Array.IsDemoVersion | Indicates if this is a demonstration version or not |
FilePath | The complete file path to save into |
|
slot |
Change the thickness of the line.
width | The width to set |
|
slot |
The representation of the component is modified.
[in] | Representation | The multiline representation type |
|
slot |
Control whether the name of the multiline is shown or not in the scene.
[in] | iShowName | the new visibility state of the multiline |
|
slot |
Recalculates new vertices to smooth the current SMultiLine.
Array.ErrorCode | The error code:
|
[in] | Para1 | This parameter has two meaning depending on the value of SmoothingType
|
[in] | SmoothIntens | The smoothing intensity. Should be between 1 and 20. |
[in] | SmoothingType | Filter type
|
[in] | MaxiDeviation | Maximum deviation if smoothing type SMOOTH_TYPE1 or SMOOTH_TYPE2 is selected. If not null, the distance between the vertices before and after smoothing must not exceed this value (after all the smoothing loops). If SmoothingType, this parameter is not used. |
|
slot |
Define a multiline suppressing the lines which have a length smaller than a tolerance length.
Array.ErrorCode | The error code
|
Array.Value |
|
Array.Multi | The repaired multiline. |
[in] | iLengthTol | iLengthTol The tolerance length defines the maximum length a segment can have to be suppressed. |
|
slot |
Get the type of the variable.
|
staticslot |
Get the type of the variable.