CrossProduct - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


geometry

  

CrossProduct

  

compute the cross product of two directed segments

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

CrossProduct(dseg1, dseg2)

Parameters

dseg1, dseg2

-

two directed segment

Description

• 

The cross product dseg1Xdseg2 can be interpret as the signed area of the parallelogram formed by the point 0,0, dseg1, dseg2 and dseg1+dseg2.

• 

Note that the tails of dseg1 and dseg2 must be the same.

• 

The command with(geometry,CrossProduct) allows the use of the abbreviated form of this command.

Examples

withgeometry:

pointA,0,0,pointB,1,1,pointC,11,5:

dsegmentdseg1,A,B:dsegmentdseg2,A,C:

CrossProductdseg1,dseg2

−6

(1)

triangleT,A,B,C

T

(2)

areaT

3

(3)

See Also

geometry[area]

geometry[dsegment]

geometry[point]

geometry[triangle]