Click or drag to resize

Triangle2d Structure

Describes a triangle within a plane. It can be seen as a structure of three Point2d.

Namespace:  Gile.AutoCAD.Geometry
Assembly:  GeometryExtensions (in GeometryExtensions.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public struct Triangle2d

The Triangle2d type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCentroid
Gets the centroid.
Public propertyCircumscribedCircle
Gets the circumscribed circle.
Public propertyInscribedCircle
Gets the inscribed circle.
Public propertyIsClockwise
Gets a value indicating if the points are clockwise.
Public propertyItem
Gets the point at specified index.
Public propertySignedArea
Gets the signed area (negative if points are clockwise). Obtient l'aire algébrique.
Top
Methods
  NameDescription
Public methodConvert3d(Plane)
Converts the current instance into a Triangle3d according to the specified plane.
Public methodConvert3d(Vector3d, Double)
Converts the current instance into a Triangle3d according to the plane defined by its Normal and its Elevation.
Public methodEquals
Evaluates if the object is equal to the current instance of Triangle2d.
(Overrides ValueTypeEquals(Object).)
Public methodGetAngleAt
Gets the angle between two sides at the specified index.
Public methodGetHashCode
Serves as the Triangle2d hash function.
(Overrides ValueTypeGetHashCode.)
Public methodGetSegmentAt
Gets the LineSegement2d at specified index.
Public methodGetType (Inherited from Object.)
Public methodIntersectWith(LinearEntity2d)
Gets the intersection points between the current instance and a line using Tolerance.Global.
Public methodIntersectWith(LinearEntity2d, Tolerance)
Gets the intersection points between the current instance and a line using the specified Tolerance.
Public methodInverse
Reverse the order of points without changing the origin.
Public methodIsEqualTo(Triangle2d)
Evaluates if the current instance is equal to another Triangle2d using Tolerance.Global.
Public methodIsEqualTo(Triangle2d, Tolerance)
Evaluates if the current instance is equal to another Triangle2d using the specified Tolerance.
Public methodIsPointInside
Gets a value indicating if the the Point2d is strictly inside the current triangle.
Public methodIsPointOn
Gets a value indicating if the the Point2d is on an segment of the current triangle.
Public methodToArray
Converts the triangle into a Point2d array.
Public methodToString
Returns a string representing the current instance of Triangle2d.
(Overrides ValueTypeToString.)
Public methodToString(String)
Returns a string representing the current instance of Triangle2d.
Public methodToString(String, IFormatProvider)
Returns a string representing the current instance of Triangle2d.
Public methodTransformBy
Transforms the triangle using transformation matrix.
Top
See Also