The Region type exposes the following members.

Constructors

  NameDescription
Public methodRegion()()()()
Creates an empty region.
Public methodRegion(Int32)
Creates an empty region of given capacity.
Public methodRegion(IEnumerable<(Of <<'(Convex>)>>))
Creates a region from a collection of convexes.
Public methodRegion(List<(Of <<'(Convex>)>>))
Creates a region from a list of convexes.
Public methodRegion(Halfspace)
Creates a region with a single halfspace in it.
Public methodRegion(Region)
Creates a region by copying the specified region.
Public methodRegion(Convex, Boolean)
Creates a region with a single convex in it.
Public methodRegion(Double, Double, Double)
Creates a region with a single halfspace in it.

Methods

  NameDescription
Public methodAdd
Adds a convex to the list.
Public methodAddRange(IEnumerable<(Of <<'(Convex>)>>))
Adds a collection of convexes to the region.
Public methodAddRange(IList<(Of <<'(Convex>)>>))
Adds a list of convexes to the region.
Public methodClear
Removes all convexes.
Public methodContains(Cartesian)
Determines whether the region covers the specified point on the unit sphere.
Public methodContains(Cartesian, Double, Double)
Determines whether the region covers the specified point on the unit sphere.
Public methodDifference(Convex)
Derives the difference of the region and the specified convex.
Public methodDifference(Halfspace)
Derives the difference of the region and the specified halfspace.
Public methodDoesCollide
Determines whether the region collides with the specified convex.
Public methodEnumIPatches
Yields all patch interfaces of the region.
Public methodEnumPatches
Yields all patches of the region.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFormat
Returns a string representation with the CARTESIAN keyword for compliance to legacy code.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetNumberOfHalfspaces
Returns the total number of halfspaces of all convexes.
Public methodGetNumberOfPatches
Returns the total number of patches of all convexes.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGrow
Increases the angles of all halfspaces in all convexes by the specified angle.
Public methodIntersect(Convex)
Intersects the region with the specified convex.
Public methodIntersect(Halfspace)
Intersects the region with the specified halfspace in place.
Public methodIntersect(Region)
Intersects the region with the specified region.
Public methodMecContains
Determines whether the minimal enclosing circles of the patches contain the specified point.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberParse
Parses string "REGION {CONVEX ...}" into a region.
Public methodRemove
Removes the first occurance of the specified convex.
Public methodRemoveAt
Removes the convex at the specified index.
Public methodRemoveRange
Removes a range of convexes.
Public methodSimplify()()()()
Performs full simplification of the region.
Public methodSimplify(Boolean, Boolean, Boolean, Boolean)
Performs full simplification of the region.
Public methodSimplify(Boolean, Boolean, Boolean, Boolean, CollisionGraph)
Performs full simplification of the region.
Public methodSmartContains(Cartesian)
Determines whether the region covers the specified point by first testing the minimal enclosing circles for overlap.
Public methodSmartContains(Cartesian, Double, Double)
Determines whether the region covers the specified point by first testing the minimal enclosing circles for overlap.
Public methodSmartDifference
Derives the difference of the region and the specified convex.
Public methodSmartIntersect(Convex)
Intersects the region with the specified convex by first testing the minimal circles for overlap.
Public methodSmartIntersect(Region, Boolean)
Intersects the region with the specified region.
Public methodSmartUnion(Region)
Derives the union of two simplified regions.
Public methodSmartUnion(Region, Boolean)
Derives the union of two simplified regions.
Public methodSmartUnion(Region, Boolean, Boolean)
Derives the union of two simplified regions.
Public methodSort()()()()
Sorts convexes by the descending area.
Public methodSort(Comparison<(Of <<'(Convex>)>>))
Sorts convexes by the specified comparison.
Public methodToString()()()()
Returns the string representation.
(Overrides Object..::..ToString()()()().)
Public methodToString(String)
Returns a string representation.
Public methodUnion(Convex)
Derives the union of the region and the specified convex.
Public methodUnion(Region)
Derives the union of the region and another one in place.
Public methodUpdateArea
Updates the area of the region.

Fields

  NameDescription
Public fieldStatic memberRevision
Revision from CVS.

Properties

  NameDescription
Public propertyArea
Gets the area of the region.
Public propertyCapacity
Gets or sets the capacity of the convex list.
Public propertyConvexList
Gets a readonly collection of the convexes.
Public propertySimplified
Gets value determining whether all convexes are simplified.
Public propertyXmlSerialization
Used only by the XML serializer.

See Also