polyorient Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: polyorient.m
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: M MA (View more)

polyorient script description:




Publisher review:
polyorient returns the orientation and signed area of a 2D polygon Syntax:[ORIENT,SAREA] = POLYORIENT(X,Y)Inputs:X, Y Vectors with the polygon verticesOutputs:ORIENT Polygon orientation. 1 if the orientation is counter-clockwise (direct), 0 otherwiseSAREA Signed area of the polygon, negative if orientation is not directExamples:x1 = [0 0 1 1]; y1 = [1 2 2 1];x2 = [0 0 1 1]; y2 = [1 0 0 1];x3 = [x1 x2]; y3 = [y1 y2];[o1,a1] = polyorient(x1,y1) % 0, -1[o2,a2] = polyorient(x2,y2) % 1, 1[o3,a3] = polyorient(x3,y3) % 0, 0 Requirements: ยท MATLAB Release: R12
polyorient is a Matlab script for Mathematics scripts design by M MA. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
polyorient returns the orientation and signed area of a 2D polygon

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5