Click or drag to resize

BindablePoint Class

Class for three dimensional double vector, that can be used for binding in wpf applications.
Inheritance Hierarchy
SystemObject
  RAYLASE.Shared.GUIBindablePoint

Namespace: RAYLASE.Shared.GUI
Assembly: RAYLASE.Shared (in RAYLASE.Shared.dll) Version: 2.19.0
Syntax
C#
public class BindablePoint : INotifyPropertyChanged

The BindablePoint type exposes the following members.

Constructors
 NameDescription
Public methodBindablePointInitializes a new instance of the Object class.
Public methodBindablePoint(BindablePoint)Initializes a new instance of the BindablePoint class
Public methodBindablePoint(Double)Initializes a new instance of the BindablePoint class
Public methodBindablePoint(dvec3)Initializes a new instance of the BindablePoint class
Public methodBindablePoint(dvec3, dmat4) Creates a new instance of BindablePoint. The resulting vector is calculated by transforming point. Useful for getting the reverse transformed point via GetInverseTransformed.
Public methodBindablePoint(Double, Double, Double)Initializes a new instance of the BindablePoint class
Top
Properties
 NameDescription
Public propertyLockRatio If true, X/Y/Z will be updated when setting one of them in order to keep the xyz ration constant.
Public propertyLockXyRatio If true, X/Y will be updated when setting the other one in order to keep the xy ration constant.
Public propertyX Gets or sets X.
Public propertyY Gets or sets Y.
Public propertyZ Gets or sets Z.
Top
Methods
 NameDescription
Public methodCopyFrom(BindablePoint) Copies XYZ from point.
Public methodCopyFrom(dvec3) Copies XYZ from point.
Public methodCopyFrom(Double, Double, Double) Sets XYZ.
Public methodGetInverseTransformed Returns the inverse transformation of the vector. Should be used with constructor including the transformation. BindablePoint(dvec3, dmat4)
Public methodHasValue 
Public methodToStringReturns a string that represents the current object.
(Overrides ObjectToString)
Top
Events
 NameDescription
Public eventPointChanged Raised when X, Y or Z has changed.
Public eventPropertyChanged Called after property changed.
Top
Operators
Extension Methods
 NameDescription
Public Extension MethodToDvec2 Converts a BindablePoint to a dvec2.
(Defined by Extensions)
Public Extension MethodToDvec3 Converts a BindablePoint to a dvec3.
(Defined by Extensions)
Public Extension MethodToIvec2 Converts a BindablePoint to a ivec2.
(Defined by Extensions)
Public Extension MethodToIvec3 Converts a BindablePoint to a ivec3.
(Defined by Extensions)
Top
See Also