Table of contents

Contour

The Contour class represents a contour in 2D space. It contains an array of Point objects, which represent the vertices of the contour.

Definition

Module: dynamsoft_core

class Contour 

Methods

Method Description
__init__ Initializes a new instance of the Contour class.
set_points Sets the point array.
get_points Gets the point array.

__init__

Initializes a new instance of the Contour class.

def __init__(self):

set_points

Sets the point array and the points.

def set_points(self, points: List[Point]) -> None:

Parameters

points: The point array.

get_points

Gets the point array.

def get_points(self) -> List[Point]:

Return Value

Return the point array.

Is this page helpful?

YesYes NoNo

In this article: