C# 클래스 Vertesaur.Generation.Expressions.SquaredDistanceExpression

An expression representing the squared distance between two points.
상속: ReducibleExpressionBase
파일 보기 프로젝트 열기: aarondandy/vertesaur 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CodeContractInvariants void

공개 메소드들

메소드 설명
Reduce ( ) : Expression
SquaredDistanceExpression ( Expression components, IExpressionGenerator reductionExpressionGenerator = null ) : System

Creates a new dot product expression.

비공개 메소드들

메소드 설명
CodeContractInvariants ( ) : void

메소드 상세

Reduce() 공개 메소드

public Reduce ( ) : Expression
리턴 System.Linq.Expressions.Expression

SquaredDistanceExpression() 공개 메소드

Creates a new dot product expression.
public SquaredDistanceExpression ( Expression components, IExpressionGenerator reductionExpressionGenerator = null ) : System
components System.Linq.Expressions.Expression The ordered components of the two vectors in the order of first vectors coordinates then second vectors coordinates (ex: x0,y0,x1,y1).
reductionExpressionGenerator IExpressionGenerator The optional expression generator that can be used to produce reduced expressions.
리턴 System