Resource Base
Table of contents

CRegionObjectElement

The CRegionObjectElement class represents an element of a region object in 2D space. It is an abstract class that provides the interface for region object elements.

Definition

Namespace: dynamsoft::intermediate_results

Assembly: DynamsoftCore

class CRegionObjectElement 

Methods Summary

Method Description
GetLocation Get the location of the region object element.
GetReferencedElement Get a pointer to a referenced region object element.
GetElementType Get the type of the region object element.
SetLocation Set the location of the region object element.
Clone Clone the region object element.
Retain Increases the reference count of the CRegionObjectElement object.
Release Decreases the reference count of the CRegionObjectElement object.

GetLocation

Get the location of the region object element.

CQuadrilateral GetLocation() const

Return value

Returns a CQuadrilateral object which represents the location of the region object element.

See Also

CQuadrilateral

GetReferencedElement

Get a pointer to a referenced region object element.

const CRegionObjectElement* GetReferencedElement() const

Return value

Returns a const pointer to a referenced CRegionObjectElement object.

See Also

CRegionObjectElement

GetElementType

Get the type of the region object element.

RegionObjectElementType GetElementType() const

Return value

Returns a RegionObjectElementType enum value which represents the type of the region object element.

See Also

RegionObjectElementType

SetLocation

Set the location of the region object element.

virtual int SetLocation(const CQuadrilateral& location) = 0;

Parameters

location The location of the region object element.

Return value

Returns 0 if success, otherwise an error code.

Clone

Clone the region object element.

virtual CRegionObjectElement* Clone() const = 0;

Return value

Returns a pointer to a copy of the region object element.

Retain

Increases the reference count of the CRegionObjectElement object.

virtual CRegionObjectElement* Retain() = 0;

Return value

An object of CRegionObjectElement.

Release

Decreases the reference count of the CRegionObjectElement object.

virtual void Release() = 0;

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version (2.2.20)
  • Version 2.x
    • Version 2.2.10
    • Version 2.2.0
    • Version 2.0.30
    • Version 2.0.20
    • Version 2.0.10
    • Version 2.0.0
Change +
© 2003–2024 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support