﻿Contour(T) Members
http://www.emgu.com

The Contour<(Of <(<'T>)>)> type exposes the following members.

# Constructors

NameDescription
Contour<(Of <(<'T>)>)>(MemStorage)
Create a contour using the specific storage
Contour<(Of <(<'T>)>)>(Int32, MemStorage)
Create a contour using the specific seqFlag and storage
Contour<(Of <(<'T>)>)>(IntPtr, MemStorage)
Craete a contour from the specific IntPtr and storage
Contour<(Of <(<'T>)>)>(SEQ_ELTYPE, SEQ_KIND, SEQ_FLAG, MemStorage)
Create a contour of the specific kind, type and flag

# Methods

NameDescription
ApproxPoly(Double)
Approximates one or more curves and returns the approximation result[s]. In case of multiple curves approximation the resultant tree will have the same structure as the input one (1:1 correspondence)
ApproxPoly(Double, MemStorage)
Approximates one curves and returns the approximation result.
ApproxPoly(Double, Int32, MemStorage)
Approximates one or more curves and returns the approximation result[s]. In case of multiple curves approximation the resultant tree will have the same structure as the input one (1:1 correspondence)
Clear
Removes all elements from the sequence. The function does not return the memory to the storage, but this memory is reused later when new elements are added to the sequence. This function time complexity is O(1).
(Inherited from Seq<(Of <(<'T>)>)>.)
Distance
Determines the distance from the point to the contour
(Inherited from Seq<(Of <(<'T>)>)>.)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetConvexHull(ORIENTATION)
Get the convex hull of this point sequence, the resulting convex hull use the same storage as the current sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
GetConvexHull(ORIENTATION, MemStorage)
Get the convex hull of this point sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
GetConvexityDefacts
Finds all convexity defects of the input contour and returns a sequence of the CvConvexityDefect structures.
(Inherited from Seq<(Of <(<'T>)>)>.)
GetEnumerator
return an enumerator of the elements in the sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetMinAreaRect()()()()
Get the minimum area rectangle for this point sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
GetMinAreaRect(MemStorage)
Get the minimum area rectangle for this point sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
GetMoments
Get the moments for this point sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
InContour
Determines whether the point is inside contour, outside, or lies on an edge (or coinsides with a vertex)
(Overrides Seq<(Of <(<'T>)>)>..::..InContour(PointF).)
Insert
Inserts element in sequence middle
(Inherited from Seq<(Of <(<'T>)>)>.)
MatchShapes
Compare the shape of the current contour with objectToMatch
(Inherited from Seq<(Of <(<'T>)>)>.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Pop
Pop an element from the back of the sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
PopFront
Pop an element from the front of the sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
PopMulti
Pop multiple elements from the sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
Push
Push the data to the sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
PushFront
Push the data to the sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
PushMulti
Push multiple elements to the sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
RemoveAt
Removes element from sequence middle
(Inherited from Seq<(Of <(<'T>)>)>.)
Slice
Creates a sequence that represents the specified slice of the input sequence. The new sequence either shares the elements with the original sequence or has own copy of the elements. So if one needs to process a part of sequence but the processing function does not have a slice parameter, the required sub-sequence may be extracted using this function
(Inherited from Seq<(Of <(<'T>)>)>.)
ToArray
Convert this sequence to array
(Inherited from Seq<(Of <(<'T>)>)>.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

# Fields

NameDescription
_ptr
The pointer to this sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
_stor
The pointer to the storage used by this sequence
(Inherited from Seq<(Of <(<'T>)>)>.)

# Properties

NameDescription
Area
Get the area of the contour
(Inherited from Seq<(Of <(<'T>)>)>.)
BoundingRectangle
Get the smallest bouding rectangle
(Overrides Seq<(Of <(<'T>)>)>..::..BoundingRectangle.)
Convex
Indicate if the coutour is a convex one
(Inherited from Seq<(Of <(<'T>)>)>.)
ElementType
Get or Set the element Type
(Inherited from Seq<(Of <(<'T>)>)>.)
HNext
Same as h_next pointer in CvSeq
HPrev
Same as h_prev pointer in CvSeq
Item
Obtain the index element in this sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
MCvContour
Return the MCvContour structure
MCvSeq
Get the MCvSeq structure
(Inherited from Seq<(Of <(<'T>)>)>.)
Perimeter
The perimeter of the sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
Ptr
Get the pointer of this sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
Storage
A Pointer to the storage used by this Seq
(Inherited from Seq<(Of <(<'T>)>)>.)
Total
Get the number of eelments in the sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
VNext
Same as v_next pointer in CvSeq
VPrev
Same as v_prev pointer in CvSeq