Open CASCADE Technology  7.7.0
Static Public Member Functions
VrmlConverter_Curve Class Reference

Curve - computes the presentation of objects to be seen as curves (the computation will be made with a constant number of points), converts this one into VRML objects and writes (adds) them into anOStream. All requested properties of the representation are specify in aDrawer of Drawer class (VrmlConverter). This kind of the presentation is converted into IndexedLineSet ( VRML ). More...

#include <VrmlConverter_Curve.hxx>

Static Public Member Functions

static void Add (const Adaptor3d_Curve &aCurve, const Handle< VrmlConverter_Drawer > &aDrawer, Standard_OStream &anOStream)
 adds to the OStream the drawing of the curve aCurve. The aspect is defined by LineAspect in aDrawer. More...
 
static void Add (const Adaptor3d_Curve &aCurve, const Standard_Real U1, const Standard_Real U2, const Handle< VrmlConverter_Drawer > &aDrawer, Standard_OStream &anOStream)
 adds to the OStream the drawing of the curve aCurve. The aspect is defined by LineAspect in aDrawer. The drawing will be limited between the points of parameter U1 and U2. More...
 
static void Add (const Adaptor3d_Curve &aCurve, const Standard_Real U1, const Standard_Real U2, Standard_OStream &anOStream, const Standard_Integer aNbPoints)
 adds to the OStream the drawing of the curve aCurve. The aspect is the current aspect. The drawing will be limited between the points of parameter U1 and U2. aNbPoints defines number of points on one interval. More...
 

Detailed Description

Curve - computes the presentation of objects to be seen as curves (the computation will be made with a constant number of points), converts this one into VRML objects and writes (adds) them into anOStream. All requested properties of the representation are specify in aDrawer of Drawer class (VrmlConverter). This kind of the presentation is converted into IndexedLineSet ( VRML ).

Member Function Documentation

◆ Add() [1/3]

static void VrmlConverter_Curve::Add ( const Adaptor3d_Curve aCurve,
const Handle< VrmlConverter_Drawer > &  aDrawer,
Standard_OStream anOStream 
)
static

adds to the OStream the drawing of the curve aCurve. The aspect is defined by LineAspect in aDrawer.

◆ Add() [2/3]

static void VrmlConverter_Curve::Add ( const Adaptor3d_Curve aCurve,
const Standard_Real  U1,
const Standard_Real  U2,
const Handle< VrmlConverter_Drawer > &  aDrawer,
Standard_OStream anOStream 
)
static

adds to the OStream the drawing of the curve aCurve. The aspect is defined by LineAspect in aDrawer. The drawing will be limited between the points of parameter U1 and U2.

◆ Add() [3/3]

static void VrmlConverter_Curve::Add ( const Adaptor3d_Curve aCurve,
const Standard_Real  U1,
const Standard_Real  U2,
Standard_OStream anOStream,
const Standard_Integer  aNbPoints 
)
static

adds to the OStream the drawing of the curve aCurve. The aspect is the current aspect. The drawing will be limited between the points of parameter U1 and U2. aNbPoints defines number of points on one interval.


The documentation for this class was generated from the following file: