The Region type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Region()()()() |
Creates an empty region.
| |
Region(Int32) |
Creates an empty region of given capacity.
| |
Region(IEnumerable<(Of <<'(Convex>)>>)) |
Creates a region from a collection of convexes.
| |
Region(List<(Of <<'(Convex>)>>)) |
Creates a region from a list of convexes.
| |
Region(Halfspace) |
Creates a region with a single halfspace in it.
| |
Region(Region) |
Creates a region by copying the specified region.
| |
Region(Convex, Boolean) |
Creates a region with a single convex in it.
| |
Region(Double, Double, Double) |
Creates a region with a single halfspace in it.
|
Methods
Name | Description | |
---|---|---|
Add |
Adds a convex to the list.
| |
AddRange(IEnumerable<(Of <<'(Convex>)>>)) |
Adds a collection of convexes to the region.
| |
AddRange(IList<(Of <<'(Convex>)>>)) |
Adds a list of convexes to the region.
| |
Clear |
Removes all convexes.
| |
Contains(Cartesian) |
Determines whether the region covers the specified point on the unit sphere.
| |
Contains(Cartesian, Double, Double) |
Determines whether the region covers the specified point on the unit sphere.
| |
Difference(Convex) |
Derives the difference of the region and the specified convex.
| |
Difference(Halfspace) |
Derives the difference of the region and the specified halfspace.
| |
DoesCollide |
Determines whether the region collides with the specified convex.
| |
EnumIPatches |
Yields all patch interfaces of the region.
| |
EnumPatches |
Yields all patches of the region.
| |
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.) | |
Format |
Returns a string representation with the CARTESIAN keyword for compliance to legacy code.
| |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetNumberOfHalfspaces |
Returns the total number of halfspaces of all convexes.
| |
GetNumberOfPatches |
Returns the total number of patches of all convexes.
| |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
Grow |
Increases the angles of all halfspaces in all convexes by the specified angle.
| |
Intersect(Convex) |
Intersects the region with the specified convex.
| |
Intersect(Halfspace) |
Intersects the region with the specified halfspace in place.
| |
Intersect(Region) |
Intersects the region with the specified region.
| |
MecContains |
Determines whether the minimal enclosing circles of the patches
contain the specified point.
| |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
Parse |
Parses string "REGION {CONVEX ...}" into a region.
| |
Remove |
Removes the first occurance of the specified convex.
| |
RemoveAt |
Removes the convex at the specified index.
| |
RemoveRange |
Removes a range of convexes.
| |
Simplify()()()() |
Performs full simplification of the region.
| |
Simplify(Boolean, Boolean, Boolean, Boolean) |
Performs full simplification of the region.
| |
Simplify(Boolean, Boolean, Boolean, Boolean, CollisionGraph) |
Performs full simplification of the region.
| |
SmartContains(Cartesian) |
Determines whether the region covers the specified point
by first testing the minimal enclosing circles for overlap.
| |
SmartContains(Cartesian, Double, Double) |
Determines whether the region covers the specified point
by first testing the minimal enclosing circles for overlap.
| |
SmartDifference |
Derives the difference of the region and the specified convex.
| |
SmartIntersect(Convex) |
Intersects the region with the specified convex by first
testing the minimal circles for overlap.
| |
SmartIntersect(Region, Boolean) |
Intersects the region with the specified region.
| |
SmartUnion(Region) |
Derives the union of two simplified regions.
| |
SmartUnion(Region, Boolean) |
Derives the union of two simplified regions.
| |
SmartUnion(Region, Boolean, Boolean) |
Derives the union of two simplified regions.
| |
Sort()()()() |
Sorts convexes by the descending area.
| |
Sort(Comparison<(Of <<'(Convex>)>>)) |
Sorts convexes by the specified comparison.
| |
ToString()()()() |
Returns the string representation.
(Overrides Object..::..ToString()()()().) | |
ToString(String) |
Returns a string representation.
| |
Union(Convex) |
Derives the union of the region and the specified convex.
| |
Union(Region) |
Derives the union of the region and another one in place.
| |
UpdateArea |
Updates the area of the region.
|
Fields
Name | Description | |
---|---|---|
Revision |
Revision from CVS.
|
Properties
Name | Description | |
---|---|---|
Area |
Gets the area of the region.
| |
Capacity |
Gets or sets the capacity of the convex list.
| |
ConvexList |
Gets a readonly collection of the convexes.
| |
Simplified |
Gets value determining whether all convexes are simplified.
| |
XmlSerialization |
Used only by the XML serializer.
|