AutoOpenPnt Module
When Euclid is opened this module will be auto-opened. It only contains extension members for type Pnt.
Type extensions
| Type extension |
Description
|
|
|
|
|
|
|
|
|
|
Returns the Diamond Angle from this point to another point projected in X-Y plane. The diamond angle is always positive and in the range of 0.0 to 4.0 (for 360 Degrees) 0.0 = Xaxis, going Counter-Clockwise. Ignoring Z component. This is the fastest angle computation since it does not use Math.Cos or Math.Sin. It is useful for radial sorting.
Extended Type:
|
Full Usage:
this.DistanceFromOrigin
Parameters:
unit
Returns: float
Modifiers: inline |
|
Full Usage:
this.DistanceInXYFromOrigin
Parameters:
unit
Returns: float
Modifiers: inline |
Returns the projected distance from Origin (0, 0, 0). Ignoring the Z component.
Extended Type:
|
Full Usage:
this.DistanceInXYFromOriginSquare
Parameters:
unit
Returns: float
Modifiers: inline |
Returns the projected squared distance from Origin (0, 0, 0). Ignoring the Z component.
Extended Type:
|
|
|
|
|
Full Usage:
this.IsAlmostOrigin
Parameters:
float
Returns: bool
Modifiers: inline |
Returns a boolean indicating whether the absolute value of X, Y and Z is each less than the given tolerance.
Extended Type:
|
Full Usage:
this.IsInValid
Parameters:
unit
Returns: bool
Modifiers: inline |
Returns a boolean indicating whether X, Y or Z is NaN or Infinity.
Extended Type:
|
Full Usage:
this.IsNotOrigin
Parameters:
unit
Returns: bool
Modifiers: inline |
Returns a boolean indicating if any of X, Y and Z is not exactly 0.0.
Extended Type:
|
Full Usage:
this.IsOrigin
Parameters:
unit
Returns: bool
Modifiers: inline |
Returns a boolean indicating whether X, Y and Z are exactly 0.0.
Extended Type:
|
Full Usage:
this.IsValid
Parameters:
unit
Returns: bool
Modifiers: inline |
Returns a boolean indicating whether X, Y and Z are valid (not NaN or Infinity).
Extended Type:
|
Full Usage:
this.SqDistanceFromOrigin
Parameters:
unit
Returns: float
Modifiers: inline |
|
|
|
|
|
|
|
|
Multiplies (or applies) a RigidMatrix to a 3D point.
Extended Type:
|
Full Usage:
this.TransformRigidRotateOnly
Parameters:
RigidMatrix
Returns: Pnt
Modifiers: inline |
Multiplies (or applies) only the 3x3 rotation part of a RigidMatrix to a 3D point.
Extended Type:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
Pnt.create (x, y, z)
Parameters:
float
y : float
z : float
Returns: Pnt
Modifiers: inline |
|
Full Usage:
Pnt.createFromMembersXYZ pt
Parameters:
^T
Returns: Pnt
Modifiers: inline Type parameters: ^T, ^a, ^b, ^c |
|
Full Usage:
Pnt.createFromMembersxyz pt
Parameters:
^T
Returns: Pnt
Modifiers: inline Type parameters: ^T, ^a, ^b, ^c |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
Pnt.rotateByQuaternion q pt
Parameters:
Quaternion
pt : Pnt
Returns: Pnt
Modifiers: inline |
|
Full Usage:
Pnt.rotateWithCenterByQuat cen q pt
Parameters:
Pnt
q : Quaternion
pt : Pnt
Returns: Pnt
Modifiers: inline |
Rotate by Quaternion around given Center point.
Extended Type:
|
|
|
|
Rotate the 3D point around X-axis, from Y to Z-axis, Counter Clockwise looking from right.
Extended Type:
|
|
|
Full Usage:
Pnt.rotateXwithCenterBy cen r pt
Parameters:
Pnt
r : Rotation2D
pt : Pnt
Returns: Pnt
|
Rotate the 3D point around a center 3D point and a X aligned axis, from Y to Z-axis, Counter Clockwise looking from right.
Extended Type:
|
|
|
|
Rotate the 3D point around Y-axis, from Z to X-axis, Counter Clockwise looking from back.
Extended Type:
|
|
|
Full Usage:
Pnt.rotateYwithCenterBy cen r pt
Parameters:
Pnt
r : Rotation2D
pt : Pnt
Returns: Pnt
|
Rotate the 3D point around a center point and a Y aligned axis, from Z to X-axis, Counter Clockwise looking from back.
Extended Type:
|
|
|
|
Rotate the 3D point around Z-axis, from X to Y-axis, Counter Clockwise looking from top.
Extended Type:
|
|
|
Full Usage:
Pnt.rotateZwithCenterBy cen r pt
Parameters:
Pnt
r : Rotation2D
pt : Pnt
Returns: Pnt
|
Rotate the 3D point around a center point and a Z aligned axis, from X to Y-axis, Counter Clockwise looking from top.
Extended Type:
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
Pnt.transformRigid m p
Parameters:
RigidMatrix
p : Pnt
Returns: Pnt
Modifiers: inline |
Multiplies (or applies) a RigidMatrix to a 3D point.
Extended Type:
|
|
Multiplies (or applies) only the 3x3 rotation part of a RigidMatrix to a 3D point.
Extended Type:
|
|
|
|
|
|
|
|
Euclid