Click or drag to resize

Point2 Structure

point in UV-space, see https://www.codeproject.com/Tips/862988/Find-the-Intersection-Point-of-Two-Line-Segments.

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
public struct Point2

The Point2 type exposes the following members.

Constructors
  NameDescription
Public methodPoint2
Initializes a new instance of the Point2 struct. constructor.
Top
Properties
  NameDescription
Public propertyStatic memberUnset
Gets the unset Point2.
Public propertyX
Gets the x-coordinate.
Public propertyY
Gets the y-coordinate.
Top
Methods
  NameDescription
Public methodEquals
Checks other point to equality with this up to small rounding error.
(Overrides ValueTypeEquals(Object).)
Public methodGetHashCode
Improvise a hash code.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Operators
  NameDescription
Public operatorStatic memberAddition(Point2, Point2)
Interprets two points as a vector each, and adds them.
Public operatorStatic memberAddition(Point2, Vector2)
Gets the translate of a point by a vector.
Public operatorStatic memberDivision
Interpret point as a vector and perform scalar division.
Public operatorStatic memberSubtraction
Gets vector from one point to another.
Top
See Also