AutoOpenPt Module
When Euclid is opened this module will be auto-opened. It only contains extension members for type Pt.
Type extensions
Type extension |
Description
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns the Diamond Angle from this point to another point. Calculates the proportion of X to Y component. It is always positive and in the range of 0.0 to 4.0 (for 360 Degrees) 0.0 = Xaxis, going Counter-Clockwise. It is the fastest angle calculation since it does not involve Cosine or ArcTangent functions.
Extended Type:
|
Full Usage:
this.DistanceFromOrigin
Parameters:
unit
Returns: float
Modifiers: inline |
|
Full Usage:
this.DistanceFromOrigin
Returns: float
Modifiers: inline |
|
Full Usage:
this.DistanceFromOriginSquare
Parameters:
unit
Returns: float
Modifiers: inline |
|
Full Usage:
this.DistanceFromOriginSquare
Returns: float
Modifiers: inline |
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
this.IsAlmostOrigin
Parameters:
float
Returns: bool
Modifiers: inline |
Returns a boolean indicating wether the absolute value of X and Y is each less than the given tolerance.
Extended Type:
|
Full Usage:
this.IsNotOrigin
Parameters:
unit
Returns: bool
Modifiers: inline |
Returns a boolean indicating if any of X and Y is not exactly 0.0.
Extended Type:
|
Full Usage:
this.IsNotOrigin
Returns: bool
Modifiers: inline |
|
Full Usage:
this.IsOrigin
Parameters:
unit
Returns: bool
Modifiers: inline |
Returns a boolean indicating wether X and Y are exactly 0.0.
Extended Type:
|
Full Usage:
this.IsOrigin
Returns: bool
Modifiers: inline |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
Pt.createFromMembersXY pt
Parameters:
^T
Returns: Pt
Modifiers: inline Type parameters: ^T, ^a, ^b |
|
Full Usage:
Pt.createFromMembersxy pt
Parameters:
^T
Returns: Pt
Modifiers: inline Type parameters: ^T, ^a, ^b |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Rotate the a 2D point Counter Clockwise by a 2D Rotation (that has cos and sin precomputed)
Extended Type:
|
|
|
Full Usage:
Pt.rotateWithCenterBy cen r pt
Parameters:
Pt
r : Rotation2D
pt : Pt
Returns: Pt
Modifiers: inline |
Rotate the 2D point around a center 2D point. Counter Clockwise. By a 2D Rotation (that has cos and sin precomputed)
Extended Type:
|
|
|
|
|
|
|
|
|
|
|
|
|
|