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

Provides a computed projection results. More...

#include <cadex/Projector_Projection.hxx>

Inheritance diagram for cadex::Projector_Projection:
cadex::BaseObject

Public Types

typedef std::vector< Projector_ProjectionRegionProjectionRegionList
 
- Public Types inherited from cadex::BaseObject
typedef std::shared_ptr< internal::BaseObjectImpl > ImplType
 

Public Member Functions

double Area () const
 Returns the total area of the projection.
 
double OuterPerimeter () const
 Returns the sum of regions' outer perimeter.
 
const ProjectionRegionList & Regions () const
 Returns all projected regions.
 
const ModelData::IndexedTriangleSetMesh () const
 Returns the complete mesh representation of the projection.
 
- 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

- Protected Member Functions inherited from cadex::BaseObject
 BaseObject (const ImplType &theImpl)
 

Detailed Description

Provides a computed projection results.

See also
Projector_Projector
Projector_ProjectionRegion
Projector_ProjectionContour
Examples
projector/poly_projector/Program.cs, and projector/poly_projector/main.cxx.

Member Function Documentation

◆ Area()

double cadex::Projector_Projection::Area ( ) const

Returns the total area of the projection.

Examples
projector/poly_projector/Program.cs, and projector/poly_projector/main.cxx.

◆ Mesh()

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

Returns the complete mesh representation of the projection.

Examples
projector/poly_projector/Program.cs.

◆ OuterPerimeter()

double cadex::Projector_Projection::OuterPerimeter ( ) const

Returns the sum of regions' outer perimeter.

Examples
projector/poly_projector/Program.cs, and projector/poly_projector/main.cxx.

◆ Regions()

const Projector_Projection::ProjectionRegionList & cadex::Projector_Projection::Regions ( ) const

Returns all projected regions.