NevronOpenVision
Nevron.Nov.Graphics Namespace / NPoint Structure


In This Topic
NPoint Structure Methods
In This Topic

For a list of all members of this type, see NPoint members.

Public Methods
 NameDescription
Public MethodClamps the point coordinates to the specified rect.  
Public MethodDeserializes the object state from the specified property bag.  
Public MethodMeasures the distance between this point and the specified point.  
Public MethodPerforms a scalar division of a vector.  
Public MethodComputes the dot product of this vector with another vector. Geometrically the dot product is |a| * |b| * cos(angle), where

angle - is the angle between the two vectors

|a| - is the length of this vector

|b| - is the length of the specified vector.

 
Public MethodOverloaded. Checks whether this point is equal to the given point.  
Public MethodChecks whether this point is equal to the other point with an epsilon delta.  
Public MethodGets the compass direction which corresponds to the vector formed by this point and the specified point.  
Public Method  
Public MethodInverses this vector (e.g. makes this vector with oposite direction).  
Public MethodPerforms a scalar multiplication of this vector with the specified scalar and returns the resulting vector.  
Public MethodMakes this vector the unit vector (e.g. its length becomes 1).  
Public MethodComputes the perpendicular dot product of this vector with another vector Geometrically the perpendicular dot product is |a| * |b| * sin(angle), where

angle - is the angle between the two vectors

|a| - is the length of this vector

|b| - is the length of the specified vector.

 
Public MethodOverloaded. Rotates the point with the specified angle around the specified pin.  
Public MethodOverloaded. Round this point.  
Public MethodOverloaded. Scales the point around the specified pin with the specified scale factors.  
Public MethodSerializes the object state into the specified property bag.  
Public MethodReturns the string representation of this object  
Public MethodTranslates the point with the specified amounts.  
Top
See Also