osgEarth 2.1.1
Public Types | Public Member Functions | Public Attributes

osgEarth::Symbology::BufferParameters Class Reference

List of all members.

Public Types

enum  CapStyle { CAP_DEFAULT, CAP_SQUARE, CAP_ROUND, CAP_FLAT }
enum  JoinStyle { JOIN_ROUND, JOIN_MITRE, JOIN_BEVEL }

Public Member Functions

 BufferParameters (CapStyle capStyle=CAP_DEFAULT, JoinStyle joinStyle=JOIN_ROUND, int cornerSegs=0, bool singleSided=false, bool leftSide=false)

Public Attributes

CapStyle _capStyle
JoinStyle _joinStyle
int _cornerSegs
bool _singleSided
bool _leftSide

Detailed Description

Options for the Geometry::buffer() operation.

Definition at line 33 of file Geometry.


Member Enumeration Documentation

Enumerator:
CAP_DEFAULT 
CAP_SQUARE 
CAP_ROUND 
CAP_FLAT 

Definition at line 36 of file Geometry.

Enumerator:
JOIN_ROUND 
JOIN_MITRE 
JOIN_BEVEL 

Definition at line 37 of file Geometry.


Constructor & Destructor Documentation

osgEarth::Symbology::BufferParameters::BufferParameters ( CapStyle  capStyle = CAP_DEFAULT,
JoinStyle  joinStyle = JOIN_ROUND,
int  cornerSegs = 0,
bool  singleSided = false,
bool  leftSide = false 
) [inline]

Definition at line 38 of file Geometry.

            : _capStyle(capStyle), _joinStyle(joinStyle),_cornerSegs(cornerSegs), _singleSided(singleSided), _leftSide(leftSide) { }

Member Data Documentation

Definition at line 40 of file Geometry.

Definition at line 42 of file Geometry.

Definition at line 41 of file Geometry.

Definition at line 44 of file Geometry.

Definition at line 43 of file Geometry.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines