Hide menu
Loading...
Searching...
No Matches
cadex::Projector_ProjectionContour Class Reference

Represents a single contour of a projection region as an outer or inner boundary. More...

#include <cadex/Projector_Projection.hxx>

Inheritance diagram for cadex::Projector_ProjectionContour:
cadex::BaseObject

Public Member Functions

double Area () const
 Returns area of the contour.
 
double Perimeter () const
 Returns perimeter of the contour.
 
const Geom::Polyline2dPolyline () const
 Returns the Polyline2d representation of the contour.
 
const ModelData::IndexedTriangleSetMesh () const
 Returns the complete mesh representation of the contour.
 
- Public Member Functions inherited from cadex::BaseObject
size_t Id () const
 Return unique identifier of public object.
 
internal::BaseObjectImpl * Impl () const
 
bool IsNull () const
 
 operator bool () const
 
template<typename T >
bool IsOfType () const
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 

Additional Inherited Members

- Public Types inherited from cadex::BaseObject
typedef std::shared_ptr< internal::BaseObjectImpl > ImplType
 
- Protected Member Functions inherited from cadex::BaseObject
 BaseObject (const ImplType &theImpl)
 

Detailed Description

Represents a single contour of a projection region as an outer or inner boundary.

See also
Projector_ProjectionRegion
Projector_Projection

Member Function Documentation

◆ Area()

double cadex::Projector_ProjectionContour::Area ( ) const

Returns area of the contour.

◆ Mesh()

const ModelData::IndexedTriangleSet & cadex::Projector_ProjectionContour::Mesh ( ) const

Returns the complete mesh representation of the contour.

◆ Perimeter()

double cadex::Projector_ProjectionContour::Perimeter ( ) const

Returns perimeter of the contour.

◆ Polyline()

const Geom::Polyline2d & cadex::Projector_ProjectionContour::Polyline ( ) const

Returns the Polyline2d representation of the contour.