This class describes Points composing a MultiPoint. These points can be 2D or 3D. The user must first give the 3D Points and then the 2D Points. They are Poles of a Bezier Curve. This class is used either to define data input or results when performing the approximation of several lines in parallel.
More...
|
| | AppParCurves_MultiPoint () |
| | creates an indefinite MultiPoint.
|
| |
| | AppParCurves_MultiPoint (const int NbPoints, const int NbPoints2d) |
| | constructs a set of Points used to approximate a Multiline. These Points can be of 2 or 3 dimensions. Points will be initialized with SetPoint and SetPoint2d. NbPoints is the number of 3D Points. NbPoints2d is the number of 2D Points.
|
| |
| | AppParCurves_MultiPoint (const NCollection_Array1< gp_Pnt > &tabP) |
| | creates a MultiPoint only composed of 3D points.
|
| |
| | AppParCurves_MultiPoint (const NCollection_Array1< gp_Pnt2d > &tabP2d) |
| | creates a MultiPoint only composed of 2D points.
|
| |
| | AppParCurves_MultiPoint (const NCollection_Array1< gp_Pnt > &tabP, const NCollection_Array1< gp_Pnt2d > &tabP2d) |
| | constructs a set of Points used to approximate a Multiline. These Points can be of 2 or 3 dimensions. Points will be initialized with SetPoint and SetPoint2d. NbPoints is the total number of Points.
|
| |
| virtual | ~AppParCurves_MultiPoint () |
| |
| void | SetPoint (const int Index, const gp_Pnt &Point) |
| | the 3d Point of range Index of this MultiPoint is set to <Point>. An exception is raised if Index < 0 or Index > number of 3d Points.
|
| |
| const gp_Pnt & | Point (const int Index) const |
| | returns the 3d Point of range Index. An exception is raised if Index < 0 or Index < number of 3d Points.
|
| |
| void | SetPoint2d (const int Index, const gp_Pnt2d &Point) |
| | The 2d Point of range Index is set to <Point>. An exception is raised if Index > 3d Points or Index > total number of Points.
|
| |
| const gp_Pnt2d & | Point2d (const int Index) const |
| | returns the 2d Point of range Index. An exception is raised if index <= number of 3d Points or Index > total number of Points.
|
| |
| int | Dimension (const int Index) const |
| | returns the dimension of the point of range Index. An exception is raised if Index <0 or Index > NbCurves.
|
| |
| int | NbPoints () const |
| | returns the number of points of dimension 3D.
|
| |
| int | NbPoints2d () const |
| | returns the number of points of dimension 2D.
|
| |
| void | Transform (const int CuIndex, const double x, const double dx, const double y, const double dy, const double z, const double dz) |
| | Applies a transformation to the curve of range <CuIndex>. newx = x + dx*oldx newy = y + dy*oldy for all points of the curve. newz = z + dz*oldz.
|
| |
| void | Transform2d (const int CuIndex, const double x, const double dx, const double y, const double dy) |
| | Applies a transformation to the Curve of range <CuIndex>. newx = x + dx*oldx newy = y + dy*oldy for all points of the curve.
|
| |
| virtual void | Dump (Standard_OStream &o) const |
| | Prints on the stream o information on the current state of the object. Is used to redefine the operator <<.
|
| |
This class describes Points composing a MultiPoint. These points can be 2D or 3D. The user must first give the 3D Points and then the 2D Points. They are Poles of a Bezier Curve. This class is used either to define data input or results when performing the approximation of several lines in parallel.