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.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.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.DistanceInXYFromOrigin
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 square distance from Origin (0, 0, 0). Ignoring the Z component.
Extended Type:
|
Full Usage:
this.DistanceInXYFromOriginSquare
Returns: float
Modifiers: inline |
Returns the projected square 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 wether the absolute value of X, Y and Z 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, Y and Z is not exactly 0.0.
Extended Type:
|
Full Usage:
this.IsNotOrigin
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 wether X, Y and Z are exactly 0.0.
Extended Type:
|
Full Usage:
this.IsOrigin
Returns: bool
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Offsets two 3D points by two given distances. The fist distance (distHor) is applied in in X-Y plane. The second distance (distNormal) is applied perpendicular to the line (made by the two 3D points) and perpendicular to the horizontal offset direction. This is in World.Z direction if both points are at the same Z level. If points are closer than than 1e-6 units the World.Xaxis is used as first direction and World Z-axis as second direction.
Extended Type:
|
|
|
|
|
|
|
|
|
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:
|
|
|
|
|
|
|
|