VisualizationFoundation CAT3DPolylineGP

Usage: you must use this class as is. You should never derive it.


public class CAT3DPolylineGP

Class to create the graphic primitive of a 3D polyline.
Role:

              Example of a CAT3DPolyline made of four points :

              point 1 X--------------------X point 2
                                           |
                                           |
                                   point 3 X-----------------------X point 4
              


Constructor and Destructor Index


o CAT3DPolylineGP()
Default constructor.
o CAT3DPolylineGP(float[],int,int)
Constructs a 3D polyline graphic primitive from a list of points.

Constructor and Destructor


o CAT3DPolylineGP
public CAT3DPolylineGP()
Default constructor.
o CAT3DPolylineGP
public CAT3DPolylineGP( const iPoints,
const iNbPoints=2,
const iAlloc=ALLOCATE)
Constructs a 3D polyline graphic primitive from a list of points.
Parameters:
iPoints
Array containing the x, y, z coordinates for each point of the polyline. Its size is equal to three times the number of points. So, the coordinates x, y, z of the first point are respectively stored in iPoints[0], iPoints[1] and iPoints[2], the coordinates x, y, z of the second point, in iPoints[3], iPoints[4], iPoints[5], and so on...
iNbPoints
The number of points used to define the polyline.
Legal values: the default value is 2.
iAlloc
Parameter used to specify whether to allocate or not the data.
Legal values:
ALLOCATE
All data are duplicate into the graphic primitive
DONT_ALLOCATE
The graphic primitive has a pointer to the data given as parameter

This object is included in the file: CAT3DPolylineGP.h
If needed, your Imakefile.mk should include the module: CATVisFoundation

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.