QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ContourV2 Class Reference

A Contour object contains geometrically connected shapes which form an open or closed path. More...

Inheritance diagram for ContourV2:

Public Member Functions

void addShape (void shape, void reversed, void append)
 Adds the given shape to this contour.
 
void appendShape (void shape, void reversed, void splitFullCircles)
 
void clone ()
 
void computeConcaveEntryPoints ()
 
void computeConvexConcaveEntryPoints (void concave)
 Computes this.entryPoints as array of entry points (one for each entity), undefined for entry points that are not to be used.
 
void computeConvexEntryPoints ()
 
void computeEntryPoints (void alwaysUseStartPointForEntry)
 
void ContourV2 (void document, void exporter)
 
void getEntryPoints ()
 
void getEntryPointVertexType ()
 
void hasPreferredEntryPoints ()
 
void prependShape (void shape, void reversed, void splitFullCircles)
 
void pushShape (void shape, void preferredEntryPoint)
 
void reverse ()
 Reverses contour.
 
void toString ()
 
void unshiftShape (void shape, void preferredEntryPoint)
 

Public Attributes

int entryPoints
 
int exporter
 
int preferredEntryPoints
 
int useStartOfPolyline
 

Detailed Description

A Contour object contains geometrically connected shapes which form an open or closed path.

Contour shapes may be lines, arcs, a single circle, a single point, ellipse arcs, splines but NOT polylines.

Constructor & Destructor Documentation

◆ ContourV2()

void ContourV2::ContourV2 ( void document,
void exporter )
inline

Member Function Documentation

◆ addShape()

void ContourV2::addShape ( void shape,
void reversed,
void append )
inline

Adds the given shape to this contour.

Parameters
reversedTrue: reverse shape
appendTrue: append, false: prepend

◆ appendShape()

void ContourV2::appendShape ( void shape,
void reversed,
void splitFullCircles )
inline

◆ clone()

void ContourV2::clone ( )
inline

◆ computeConcaveEntryPoints()

void ContourV2::computeConcaveEntryPoints ( )
inline

◆ computeConvexConcaveEntryPoints()

void ContourV2::computeConvexConcaveEntryPoints ( void concave)
inline

Computes this.entryPoints as array of entry points (one for each entity), undefined for entry points that are not to be used.

◆ computeConvexEntryPoints()

void ContourV2::computeConvexEntryPoints ( )
inline

◆ computeEntryPoints()

void ContourV2::computeEntryPoints ( void alwaysUseStartPointForEntry)
inline

◆ getEntryPoints()

void ContourV2::getEntryPoints ( )
inline

◆ getEntryPointVertexType()

void ContourV2::getEntryPointVertexType ( )
inline

◆ hasPreferredEntryPoints()

void ContourV2::hasPreferredEntryPoints ( )
inline

◆ prependShape()

void ContourV2::prependShape ( void shape,
void reversed,
void splitFullCircles )
inline

◆ pushShape()

void ContourV2::pushShape ( void shape,
void preferredEntryPoint )
inline

◆ reverse()

void ContourV2::reverse ( )
inline

Reverses contour.

◆ toString()

void ContourV2::toString ( )
inline

◆ unshiftShape()

void ContourV2::unshiftShape ( void shape,
void preferredEntryPoint )
inline

Member Data Documentation

◆ entryPoints

int ContourV2::entryPoints

◆ exporter

int ContourV2::exporter

◆ preferredEntryPoints

int ContourV2::preferredEntryPoints

◆ useStartOfPolyline

int ContourV2::useStartOfPolyline

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