C# Class csCommon.Types.Geometries.AdvancedGeometry.GeometryTransformers.GeometryExtension

Geometry helper extension methods
Afficher le fichier Open project: TNOCS/csTouch

Méthodes publiques

Méthode Description
Concat ( this pathGeometry, IEnumerable pathFigures ) : void

Concats path figures to a path geometry.

EndPoint ( this pathSegment ) : Point

Returns the end point of a path segment.

MiddlePoint ( this pathFigure ) : Point

Returns the middle point of a path figure.

MiddlePoint ( this pathSegment, System startPoint ) : Point

Returns the middle point of a path segment.

OrientationAtEnd ( this pathFigure ) : double

The orientation at the end of the path figure.

OrientationAtEnd ( this pathSegment, System startSegmentPoint ) : double

The orientation at the end of the path segment.

OrientationAtMiddle ( this pathFigure ) : double

The orientation at the middle of the path figure.

OrientationAtMiddle ( this pathSegment, System startPoint ) : double

The orientation at the middle of the path segment (very approximative implementation....).

OrientationAtStart ( this pathFigure ) : double

The orientation at the origin of the path figure.

OrientationAtStart ( this pathSegment, System startPoint ) : double

The orientation at the origin of the path segment.

Transform ( this pathGeometry, System.Windows.Media.TransformGroup transform ) : IEnumerable

Transforms the specified path geometry and returns the result (as enumeration of PathFigure).

Transform ( this pathFigure, System.Windows.Media.TransformGroup transform ) : System.Windows.Media.PathFigure

Transforms the specified path figure and returns the result.

Transform ( this pathSegment, System.Windows.Media.TransformGroup transform ) : System.Windows.Media.PathSegment

Transforms the specified path segment and returns the result.

Transform ( this point, Transform transform ) : Point

Transforms the specified point and returns the result.

Private Methods

Méthode Description
BezierSegmentPoint ( System.Windows.Media.BezierSegment quadraticBezier, System startPoint, double t ) : Point

Method Details

Concat() public static méthode

Concats path figures to a path geometry.
public static Concat ( this pathGeometry, IEnumerable pathFigures ) : void
pathGeometry this The path geometry.
pathFigures IEnumerable The path figures.
Résultat void

EndPoint() public static méthode

Returns the end point of a path segment.
public static EndPoint ( this pathSegment ) : Point
pathSegment this The path segment.
Résultat System.Windows.Point

MiddlePoint() public static méthode

Returns the middle point of a path figure.
public static MiddlePoint ( this pathFigure ) : Point
pathFigure this The path figure.
Résultat System.Windows.Point

MiddlePoint() public static méthode

Returns the middle point of a path segment.
public static MiddlePoint ( this pathSegment, System startPoint ) : Point
pathSegment this The path segment.
startPoint System The start point.
Résultat System.Windows.Point

OrientationAtEnd() public static méthode

The orientation at the end of the path figure.
public static OrientationAtEnd ( this pathFigure ) : double
pathFigure this The path figure.
Résultat double

OrientationAtEnd() public static méthode

The orientation at the end of the path segment.
public static OrientationAtEnd ( this pathSegment, System startSegmentPoint ) : double
pathSegment this The path segment.
startSegmentPoint System The starting point of the segment.
Résultat double

OrientationAtMiddle() public static méthode

The orientation at the middle of the path figure.
public static OrientationAtMiddle ( this pathFigure ) : double
pathFigure this The path figure.
Résultat double

OrientationAtMiddle() public static méthode

The orientation at the middle of the path segment (very approximative implementation....).
public static OrientationAtMiddle ( this pathSegment, System startPoint ) : double
pathSegment this The path segment.
startPoint System The start point.
Résultat double

OrientationAtStart() public static méthode

The orientation at the origin of the path figure.
public static OrientationAtStart ( this pathFigure ) : double
pathFigure this The path figure.
Résultat double

OrientationAtStart() public static méthode

The orientation at the origin of the path segment.
public static OrientationAtStart ( this pathSegment, System startPoint ) : double
pathSegment this The path segment.
startPoint System The start point.
Résultat double

Transform() public static méthode

Transforms the specified path geometry and returns the result (as enumeration of PathFigure).
public static Transform ( this pathGeometry, System.Windows.Media.TransformGroup transform ) : IEnumerable
pathGeometry this The path geometry.
transform System.Windows.Media.TransformGroup The transform.
Résultat IEnumerable

Transform() public static méthode

Transforms the specified path figure and returns the result.
public static Transform ( this pathFigure, System.Windows.Media.TransformGroup transform ) : System.Windows.Media.PathFigure
pathFigure this The path figure.
transform System.Windows.Media.TransformGroup The transform.
Résultat System.Windows.Media.PathFigure

Transform() public static méthode

Transforms the specified path segment and returns the result.
public static Transform ( this pathSegment, System.Windows.Media.TransformGroup transform ) : System.Windows.Media.PathSegment
pathSegment this The path segment.
transform System.Windows.Media.TransformGroup The transform.
Résultat System.Windows.Media.PathSegment

Transform() public static méthode

Transforms the specified point and returns the result.
public static Transform ( this point, Transform transform ) : Point
point this The point.
transform System.Windows.Media.Transform The transform.
Résultat System.Windows.Point