Class PoCircleArcThreePts

All Implemented Interfaces:
SafeDisposable

public class PoCircleArcThreePts extends PoCircleArc
Class to build a 2D circle arc. This class builds a circle arc in the plane XY. The circle arc is defined by three points: the start point, the middle point and the end point.

File format/default:

PoCircleArcThreePts {

    arcType OPENED
    startPoint 1 0
    middlePoint -1 0
    endPoint 1 0
}

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <link REL="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"> <title></title> </head> <BODY> <h1></h1> <h4> <A NAME="Heading319">CATALOG PARTS</A></h4> <ul><b>PoCircleArcThreePts</b> {</ul> <ul><ul><b>Separator</b> <tt>alternateRep</tt> (from PoBase) {<br> </ul></ul> <ul><ul><ul><b>AppearanceKit</b> <tt>appearance</tt> (from PoBase)</ul></ul></ul> <ul><ul><ul><i>Specifies the appearance of all the kit. By default lightModel.model=BASE_COLOR.</i></ul></ul></ul> <ul><ul><ul><b>MatrixTransform</b> <tt>domainTransform</tt> (from PoBase)</ul></ul></ul> <ul><ul><ul><i>Corresponds to the domain transformation.</i></ul></ul></ul> <ul><ul><ul><ul></ul></ul></ul></ul> <ul><ul><ul><b>Group</b> <tt>circleArc </tt>(from PoCircleArc)</ul></ul></ul> <ul><ul><ul><i>Contains a SoFaceSet shape (arcType = END_CLOSE or arcType = CENTER_CLOSE) or SoLineSet shape (arcType = OPENED) to draw the circle arc.</i></ul></ul></ul> <ul><ul>}</ul></ul> <ul>}</ul> <ul><ul><br> </ul></ul> </body> </html>

  • Field Details

    • startPoint

      public final SoSFVec2f startPoint
      Start point of the arc. (1,0) by default.
    • middlePoint

      public final SoSFVec2f middlePoint
      Intermediate point of the arc. (-1,0) by default.
    • endPoint

      public final SoSFVec2f endPoint
      End point of the arc. (1,0) by default.
  • Constructor Details

    • PoCircleArcThreePts

      public PoCircleArcThreePts(SbVec2f _startPoint, SbVec2f _middlePoint, SbVec2f _endPoint)
      Constructor.
    • PoCircleArcThreePts

      public PoCircleArcThreePts()
      Default constructor.
  • Method Details