The Convex type exposes the following members.

Constructors

  NameDescription
Public methodConvex()()()()
Creates an empty convex.
Public methodConvex(Int32)
Creates an empty convex of given capacity.
Public methodConvex(Convex)
Creates a convex from another one.
Public methodConvex(Halfspace)
Creates a convex with a single halfspace in it.
Public methodConvex(IEnumerable<(Of <<'(Halfspace>)>>))
Creates a convex from a collection of halfspaces.
Public methodConvex(IList<(Of <<'(Halfspace>)>>))
Creates a convex from a list of halfspaces.
Public methodConvex(List<(Of <<'(Cartesian>)>>), PointOrder)
Creates a polygon from a list of points.
Public methodConvex(Halfspace, Boolean)
Creates a convex with a single halfspace in it.
Public methodConvex(Double, Double, Double)
Creates a circle of specified center (RA, Dec) and radius (arcmin).
Public methodConvex(Cartesian, Cartesian, Cartesian)
Creates a triangle from three points.

Methods

  NameDescription
Public methodAdd
Adds a halfspace to the convex.
Public methodAddRange
Adds a collection of halfspaces to the convex.
Public methodClear
Removes all halfspaces.
Public methodStatic memberClone
Returns a clone of the given convex.
Public methodStatic memberComparisonAreaAscending
Compares two convexes by area.
Public methodStatic memberComparisonAreaDescending
Compares two convexes by area.
Public methodContains(Cartesian)
Determines whether the convex covers a point.
Public methodContains(Cartesian, Double, Double)
Determines whether the convex covers a point.
Public methodDifference
Returns the difference of this convex and another.
Public methodDoesCollide
Determines whether the convex collides with another.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExists
Determines whether a halfspace matches the specified conditions.
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 methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGrow
Increases the angles of all halfspaces by the given amount.
Public methodHasCommonHalfspace
Determines whether two convexes have a common halfspace.
Public methodHasESignNegative
Determines whether the list of halfspaces contains a hole.
Public methodHasOnlyOneCommonHalfspace
Determines whether two convexes have only one common halfspace within specified accuracy.
Public methodHasOnlyOneESignNegative
Determines whether only one halfspace is a hole.
Public methodIndexFirstCommonHalfspacePair
Returns the indices of the first pair of halfspaces that are common.
Public methodIntersect(Convex)
Intersects the convex with the specified convex.
Public methodIntersect(Halfspace)
Intersects the convex with the specified halfspace.
Public methodMecContains(Cartesian)
Determines whether the minimal enclosing circles of the patches contain the specified point.
Public methodMecContains(Cartesian, Double, Double)
Determines whether the minimal enclosing circles of the patches contain the specified point.
Public methodMecDisjoint
Determines whether the minimal enclosing circles of two convexes are disjoint.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberParse
Parses a string of 'CONVEX x1 y1 z1 d1 x2... dN' into a Convex
Public methodRemoveAt
Removes the halfspace at the specified index.
Public methodRemoveRange
Removes a range of halfspaces.
Public methodSame
Determines whether two convexes are the same within the specified accuracy.
Public methodSimplify()()()()
Simplifies the description of convex by computing the roots and the optimal representation.
Public methodSimplify(Boolean)
Simplifies the description of convex by computing the roots and the optimal representation.
Public methodSmartContains(Cartesian)
Determines whether the convex covers the specified point by first testing the minimal enclosing circles.
Public methodSmartContains(Cartesian, Double, Double)
Determines whether the convex covers the specified point by first testing the minimal enclosing circles.
Public methodSmartDifference
Returns the difference of this convex and the specified one.
Public methodSmartIntersect
Intersects the convex with another one by comparing the minimal enclosing circles first.
Public methodSort
Sorts the halfspaces of the convex by radius, x, y and z.
Public methodToString()()()()
Returns the string representation.
(Overrides Object..::..ToString()()()().)
Public methodToString(String)
String representation.
Public methodTrueForAll
Determines whether every halfspace matches the specified conditions.

Fields

  NameDescription
Public fieldStatic memberRevision
Revision from CVS

Properties

  NameDescription
Public propertyArea
Gets the area of the convex.
Public propertyCapacity
Gets or sets the total number of halfspaces the internal data structure can hold without resizing.
Public propertyCount
Gets the number of halfspaces.
Public propertyESign
Gets the extended sign property.
Public propertyHalfspaceList
Gets a readonly collection of the halfspaces.
Public propertyPatchList
Gets the list of patches.
Public propertySimplified
Gets value determining whether convex is simplified.
Public propertySorted
Gets value determining whether halfspaces are sorted.
Public propertyXmlSerialization
Used by the XML serializer.

See Also