Uses of Class
jpicedt.graphic.PicPoint
-
Packages that use PicPoint Package Description jpicedt.format.input.util This package contains helper classes for building a parser based on the well-known RegExp scheme, yet with a strong object-oriented approach in mind.jpicedt.format.output.eepic Classes (formatter, view factory,...) related to the epic/eepic content-type.jpicedt.format.output.latex Classes (formatter, view factory,...) related to the LaTeX (standard) content-type.jpicedt.graphic jPicEdt library core classes and packages.jpicedt.graphic.event Various events used for the communication between model, view and controler, as well as to notify external receivers of changes in the document structure, appearance,...jpicedt.graphic.grid Grids for PECanvas.jpicedt.graphic.io.formatter Interfaces and base classes useful to implement a formatter for a given format, for instance Pstricks.jpicedt.graphic.model Document structure and graphic primitives.jpicedt.graphic.toolkit Controller (document editing through UI actions)jpicedt.graphic.view Document appearance.jpicedt.ui Some classes and interfaces that help building concrete implementation of MDIManager's. -
-
Uses of PicPoint in jpicedt.format.input.util
Methods in jpicedt.format.input.util that return PicPoint Modifier and Type Method Description PicPointPicPointExpression. getPicPoint()Returns the parsed PicPoint -
Uses of PicPoint in jpicedt.format.output.eepic
Methods in jpicedt.format.output.eepic with parameters of type PicPoint Modifier and Type Method Description protected voidEepicFormatter. appendDashLine(java.lang.StringBuffer buf, PicPoint p1, PicPoint p2, double dash)Append a \\dashline with the given points and dash value to the given buffer -
Uses of PicPoint in jpicedt.format.output.latex
Methods in jpicedt.format.output.latex with parameters of type PicPoint Modifier and Type Method Description java.lang.StringBufferLatexFormatter. arrowToLatexString(PicPoint loc, PicPoint dir)Create a string representation of an arrow in the LaTeX format using \\vector's.java.lang.StringLatexFormatter. lineToLatexString(PicPoint pt0, PicPoint pt1, Arrow leftArrow, Arrow rightArrow, double dash)Computes a LaTeX string for a line segment, given its two end-points and decoration parameters. -
Uses of PicPoint in jpicedt.graphic
Subclasses of PicPoint in jpicedt.graphic Modifier and Type Class Description classPicVectorThis class encapsulates a geometrical vector (ie it has absolutely no relation with java.util.Vector !).Methods in jpicedt.graphic that return PicPoint Modifier and Type Method Description static PicPoint[]PEToolKit. convertCubicBezierToQuad(java.awt.geom.Point2D p1, java.awt.geom.Point2D pCtrl1, java.awt.geom.Point2D pCtrl2, java.awt.geom.Point2D p2)Given four specification points of a cubic bezier spline, returns an array of five PicPoint's containing the specification points of two quad bezier splines having the same geometry as the given curve.static PicPoint[]PEToolKit. convertQuadBezierToCubic(java.awt.geom.Point2D p1, java.awt.geom.Point2D pCtrl, java.awt.geom.Point2D p2)Given the three specification points of a quad bezier spline, returns an array of PicPoint's containing the four specification points of a cubic spline having the same geometry.static PicPointPEToolKit. getDirector(double startPtX, double startPtY, double endPtX, double endPtY, PicPoint dest)Deprecated.static PicPointPEToolKit. getDirector(PicPoint startPt, PicPoint endPt)Deprecated.static PicPointPEToolKit. getDirector(PicPoint startPt, PicPoint endPt, PicPoint dest)PicPointPageFormat. getOrgPx(double zoom)Return (x,y) double-precision pixel-coordinates of the (0,0) model origin.static PicPointPEToolKit. getOrthogonal(PicPoint startPt, PicPoint endPt)Return a unitary vector orthogonal to the vector pointing from startPt to endPt and built by rotating this vector CounterClockWise.PicPointPECanvas. getSheetOrigin()PicPointPicPoint. middle(PicPoint other)Translate this point to the middle of the segment made of [this,other].PicPointPECanvas. modelToView(PicPoint src, PicPoint dst)Converts a point from the model-coordinate system to the pixel-coordinate system.PicPointPicPoint. project(PicPoint p1, PicPoint p2)Project this point onto the line joining p1 and p2.PicPointPicPoint. project(PicPoint p1, PicPoint p2, PicPoint dir)Project this point onto the line joining p1 and p2.PicPointPicPoint. rotate(PicPoint ptOrg, double angle)Apply a rotation of center ptOrg and the given angle in radians to this PicPoint Current implementation arranges for a very fast code if angle is Math.PI, Math.PI/2 or -Math.PI/2.PicPointPicPoint. scale(double ptOrgX, double ptOrgY, double s)Apply a scaling transform to this point.PicPointPicPoint. scale(double ptOrgX, double ptOrgY, double sx, double sy)Apply a scaling transform to this point.PicPointPicPoint. scale(PicPoint ptOrg, double s)Apply a scaling transform to this point.PicPointPicPoint. scale(PicPoint ptOrg, double sx, double sy)Apply a scaling transform to this point.PicPointPicPoint. setCoordinates(PicPoint pt)Set the coordinates of this point from the given point.PicPointPicPoint. shear(PicPoint ptOrg, double shx, double shy)Apply a shearing transform of given parameters wrt to the given origin, to this PicPointPicPointPicPoint. symmetry(PicPoint center)Apply a central-symmetry wrt the given pointstatic PicPointPicPoint. symmetry(PicPoint center, PicPoint src)Return a new PicPoint obtained by applying a central-symmetry with the given center to the given src point.PicPointPicPoint. toMm(double unitLength)Convert a PicPoint with coordinates expressed in the given unitlenth (expressed in mm), to a new PicPoint in mm coordinates.PicPointPicPoint. toMm(double xUnit, double yUnit)Convert a PicPoint with coordinate expressed in the given unitlenths along X- and Y-axis (the latter being expressed in mm) to a new PicPoint in mm coordinate.PicPointPicPoint. translate(double dx, double dy)translates this point by (dx,dy)PicPointPicPoint. translate(PicPoint p)translates this point by (p.x, p.y), ie the given point is considered as a translation vector.PicPointPicPoint. translate(PicPoint p, double a)translates this point by a*(p.x, p.y), ie the given point is considered as a translation vector scaled by the given double.
This method proves a useful when one wants to minimize object creation, since it avoids cloning a given PicPoint, scaling it by "a", then passing it to the translate(PicPoint) method.PicPointPicPoint. translate(PicPoint p1, PicPoint p2)translates this point by (p2.x-p1.x, p2.y-p2.y), ie the given point is considered as a translation vector build from the two given points.PicPointPicPoint. translate(PicPoint p1, PicPoint p2, double a)translates this point by a*(p2.x-p1.x, p2.y-p2.y), ie the given point is considered as a translation vector build from the two given points, then scaled by the given double.PicPointPECanvas. view2Model(PicPoint src, PicPoint dst)Converts a point from the pixel-coordinate system to the model-coordinate system.Methods in jpicedt.graphic with parameters of type PicPoint Modifier and Type Method Description static PicVectorPEToolKit. computeTangentToPath(java.awt.Shape s, PicPoint pt, double maxDist)Returns the tangent to the given path, computed at the path-point which is closest to the given point "pt" than the given maximum distance Return null otherwise (ie if pt is too far from the given shape).protected voidPECanvas. fireZoomUpdate(double oldZoom, double newZoom, PicPoint ptClick)Notify all listeners that have registered interest for notification on this event type.static PicPointPEToolKit. getDirector(double startPtX, double startPtY, double endPtX, double endPtY, PicPoint dest)Deprecated.static PicPointPEToolKit. getDirector(PicPoint startPt, PicPoint endPt)Deprecated.static PicPointPEToolKit. getDirector(PicPoint startPt, PicPoint endPt, PicPoint dest)static PicVectorPicVector. getDirector(PicPoint startPt, PicPoint endPt)Return a unitary vector pointing from startPt to endPtstatic PicVectorPicVector. getDirector(PicPoint startPt, PicPoint endPt, PicVector dest)Return a unitary vector pointing from startPt to endPt ; if dest is non-null, it's filled with the result and returned for convenience ; otherwise, a new PicPoint gets allocated.static PicPointPEToolKit. getOrthogonal(PicPoint startPt, PicPoint endPt)Return a unitary vector orthogonal to the vector pointing from startPt to endPt and built by rotating this vector CounterClockWise.static PicVectorPicVector. getOrthogonal(PicPoint startPt, PicPoint endPt)Return a UNITARY vector orthogonal to the vector pointing from startPt to endPt and built by rotating this vector CCW.PicPointPicPoint. middle(PicPoint other)Translate this point to the middle of the segment made of [this,other].PicPointPECanvas. modelToView(PicPoint src, PicPoint dst)Converts a point from the model-coordinate system to the pixel-coordinate system.PicPointPicPoint. project(PicPoint p1, PicPoint p2)Project this point onto the line joining p1 and p2.PicPointPicPoint. project(PicPoint p1, PicPoint p2, PicPoint dir)Project this point onto the line joining p1 and p2.PicPointPicPoint. rotate(PicPoint ptOrg, double angle)Apply a rotation of center ptOrg and the given angle in radians to this PicPoint Current implementation arranges for a very fast code if angle is Math.PI, Math.PI/2 or -Math.PI/2.PicPointPicPoint. scale(PicPoint ptOrg, double s)Apply a scaling transform to this point.PicPointPicPoint. scale(PicPoint ptOrg, double sx, double sy)Apply a scaling transform to this point.PicPointPicPoint. setCoordinates(PicPoint pt)Set the coordinates of this point from the given point.voidPECanvas. setZoomFactor(double zoom, PicPoint ptClick)sets the current zoom factor to the given double, then updates various properties (model <-> view transforms, dimension, preferredSize...), finally, sources a ZoomEvent to give a chance to receiver to update their state accordingly (this may be used e.g.PicPointPicPoint. shear(PicPoint ptOrg, double shx, double shy)Apply a shearing transform of given parameters wrt to the given origin, to this PicPointPicPointPicPoint. symmetry(PicPoint center)Apply a central-symmetry wrt the given pointstatic PicPointPicPoint. symmetry(PicPoint center, PicPoint src)Return a new PicPoint obtained by applying a central-symmetry with the given center to the given src point.static intPEToolKit. testDistanceToPath(java.awt.Shape s, PicPoint pt, double maxDist)Return a positive integer if the given point "pt" lies closer to the given shape path (= stroke) than the given maximum distance ; this integer indicates which segment/quad/cubic of the path, starting from 0 (ie according to getPathIterator numbering scheme), lies at the closest distance from "pt" ; -1 otherwise.PicPointPicPoint. translate(PicPoint p)translates this point by (p.x, p.y), ie the given point is considered as a translation vector.PicPointPicPoint. translate(PicPoint p, double a)translates this point by a*(p.x, p.y), ie the given point is considered as a translation vector scaled by the given double.
This method proves a useful when one wants to minimize object creation, since it avoids cloning a given PicPoint, scaling it by "a", then passing it to the translate(PicPoint) method.PicPointPicPoint. translate(PicPoint p1, PicPoint p2)translates this point by (p2.x-p1.x, p2.y-p2.y), ie the given point is considered as a translation vector build from the two given points.PicPointPicPoint. translate(PicPoint p1, PicPoint p2, double a)translates this point by a*(p2.x-p1.x, p2.y-p2.y), ie the given point is considered as a translation vector build from the two given points, then scaled by the given double.PicPointPECanvas. view2Model(PicPoint src, PicPoint dst)Converts a point from the pixel-coordinate system to the model-coordinate system. -
Uses of PicPoint in jpicedt.graphic.event
Methods in jpicedt.graphic.event that return PicPoint Modifier and Type Method Description PicPointZoomEvent. getCenterPoint()Return the coordinates of the point that was at the center of the canvas before the zoom changed.PicPointPEMouseEvent. getPicPoint()Return the coordinates of the mouse click point in model-coordinate ; returned value is NOT guaranteed to remain unchaged over time ! Make a copy if you need an immutable value (e.g.Constructors in jpicedt.graphic.event with parameters of type PicPoint Constructor Description PEMouseEvent(java.awt.event.MouseEvent awtEvent, PECanvas source, PicPoint pt)ZoomEvent(PECanvas source, double oldZoom, double newZoom, PicPoint ptCenter)a new ZoomEvent sourced from the given PECanvas -
Uses of PicPoint in jpicedt.graphic.grid
Methods in jpicedt.graphic.grid that return PicPoint Modifier and Type Method Description PicPointGrid. nearestNeighbour(PicPoint srcPt, PicPoint dstPt)Compute the nearest-neighbour of the given src point on this grid, using the current snap-step value, and store the result in dst.Methods in jpicedt.graphic.grid with parameters of type PicPoint Modifier and Type Method Description PicPointGrid. nearestNeighbour(PicPoint srcPt, PicPoint dstPt)Compute the nearest-neighbour of the given src point on this grid, using the current snap-step value, and store the result in dst. -
Uses of PicPoint in jpicedt.graphic.io.formatter
Methods in jpicedt.graphic.io.formatter with parameters of type PicPoint Modifier and Type Method Description protected voidXmlAttributeSet. putNameValuePair(java.lang.Object name, PicPoint pt)Given attribute name and value, append a name/value entry to the given mapprotected voidXmlAttributeSet. putNameValuePair(java.lang.Object name, PicPoint[] values)Given attribute name and an array of PicPoint's, append a name/value entry to the given map. -
Uses of PicPoint in jpicedt.graphic.model
Methods in jpicedt.graphic.model that return PicPoint Modifier and Type Method Description PicPointPicParallelogram. getCenter(PicPoint src)Return the parallelogram's centreprotected PicPointPicCircleFrom3Points. getControlPoint(int i)Returns a reference to the ith control-point in thecontrolPtslist.PicPointPicNodeConnection. getEndPointA(PicPoint pt)Returns the coordinates of the edge's end-point at node APicPointPicNodeConnection. getEndPointB(PicPoint pt)Returns the coordinates of the edge's end-point at node BPicPoint[]PicPsCurve. getFinalControlCurve()Returns the 4 Bezier points of the final prolongation of the PsCurve.PicPoint[]PicPsCurve. getInitialControlCurve()Returns the 4 Bezier points of the initial prolongation of the PsCurve.PicPointBranchElement. getPoint(int numPoint, PicPoint src)Return the user-controlled point having the given index.PicPointDefaultLeafElement. getPoint(int numPoint)Convenience call to getPoint(numPoint,null), i.e., a new Point is allocated on the fly.PicPointDefaultLeafElement. getPoint(int numPoint, PicPoint src)Return the user-controlled point having the given index.PicPointDrawing.RootElement. getPoint(int numPoint, PicPoint src)return nullPicPointElement. getPoint(int index, PicPoint src)Return the user-controlled point having the given index.PicPointPicCircleFrom3Points. getPoint(int numPoint, PicPoint src)Get the coordinate of the point indexed by "numPoint" to the given value.PicPointPicEllipse. getPoint(int numPoint, PicPoint src)Return the user-controlled point having the given index.PicPointPicNodeConnection. getPoint(int index, PicPoint src)PicPointPicParallelogram. getPoint(int numPoint, PicPoint src)Return the user-controlled point having the given index.PicPointPicPsCurve. getPoint(int numPoint, PicPoint src)Return the user-controlled point (ie a polygon point, not a bezier point) having the given index.PicPointPicSmoothPolygon. getPoint(int numPoint, PicPoint src)Return the user-controlled point (ie a polygon point, not a bezier point) having the given index.protected PicPointPicPsCurve. getPolygonPoint(int numPoint)Return a reference on the polygon point with the given index.protected PicPointPicSmoothPolygon. getPolygonPoint(int numPoint)Return a reference on the polygon point with the given index.protected PicPointAbstractCurve. getSpecificationPoint(int index)Returns a reference on the specification point with the given index.protected PicPointDefaultLeafElement. getSpecificationPoint(int index)Return a reference on the specification point with the given index.PicPointDefaultLeafElement. getSpecificationPoint(int index, PicPoint src)Return the specification-point having the given index.PicPointPicEllipse. getTangentAtAngleEnd(PicVector pt)Utility for computing arrow direction.PicPointPicEllipse. getTangentAtAngleStart(PicVector pt)Utility for computing arrow direction.PicPointDefaultLeafElement. nodeConnectionOrigin(double dx, double dy)PicPointPicText. nodeConnectionOrigin(double dx, double dy)PicPointDefaultLeafElement. nodeReferencePoint()PicPointPicText. nodeReferencePoint()Methods in jpicedt.graphic.model with parameters of type PicPoint Modifier and Type Method Description abstract voidAbstractCurve. addPoint(PicPoint pt)Adds the given point to the end of this curve.voidPicMultiCurve. addPoint(PicPoint pt)Adds a new subdivision point to the end of this curve.voidPicPsCurve. addPoint(int ptIndex, PicPoint pt)Inserts the specified point at the specified index.voidPicPsCurve. addPoint(PicPoint pt)adds the given point at the end of this pscurve.voidPicSmoothPolygon. addPoint(int ptIndex, PicPoint pt)Adds the given polygon point at the given position, shifting ensuing point indices to the right.voidPicSmoothPolygon. addPoint(int ptIndex, PicPoint pt, double smoothCoeff)Adds the given polygon point at the given position, shifting ensuing point indices to the right.voidPicSmoothPolygon. addPoint(PicPoint pt)adds the given point at the end of this PicSmoothPolygon.voidPicSmoothPolygon. addPoint(PicPoint pt, double smoothCoeff)adds the given point with the given smoothness-coefficient at the end of this PicSmoothPolygon.voidAbstractCurve. curveTo(PicPoint ptCtrl1, PicPoint ptCtrl2, PicPoint ptEnd)If this curve if OPEN and NON-EMPTY, adds the given points (2 control points and an endpoint) to the end of the curve.
If the curve is closed, usesplitSegmentinstead.voidPicMultiCurve. curveTo(PicPoint ptCtrl1, PicPoint ptCtrl2, PicPoint ptEnd)If this curve if OPEN and NON-EMPTY, adds the given points (2 control points and an endpoint) to the end of the curve, then fire a GEOMETRY_CHANGE event.
If the curve is closed, you should usesplitSegmentinstead, since this method does nothing in this case ;-)PicPointPicParallelogram. getCenter(PicPoint src)Return the parallelogram's centrePicPointPicNodeConnection. getEndPointA(PicPoint pt)Returns the coordinates of the edge's end-point at node APicPointPicNodeConnection. getEndPointB(PicPoint pt)Returns the coordinates of the edge's end-point at node BPicPointBranchElement. getPoint(int numPoint, PicPoint src)Return the user-controlled point having the given index.PicPointDefaultLeafElement. getPoint(int numPoint, PicPoint src)Return the user-controlled point having the given index.PicPointDrawing.RootElement. getPoint(int numPoint, PicPoint src)return nullPicPointElement. getPoint(int index, PicPoint src)Return the user-controlled point having the given index.PicPointPicCircleFrom3Points. getPoint(int numPoint, PicPoint src)Get the coordinate of the point indexed by "numPoint" to the given value.PicPointPicEllipse. getPoint(int numPoint, PicPoint src)Return the user-controlled point having the given index.PicPointPicNodeConnection. getPoint(int index, PicPoint src)PicPointPicParallelogram. getPoint(int numPoint, PicPoint src)Return the user-controlled point having the given index.PicPointPicPsCurve. getPoint(int numPoint, PicPoint src)Return the user-controlled point (ie a polygon point, not a bezier point) having the given index.PicPointPicSmoothPolygon. getPoint(int numPoint, PicPoint src)Return the user-controlled point (ie a polygon point, not a bezier point) having the given index.PicPointDefaultLeafElement. getSpecificationPoint(int index, PicPoint src)Return the specification-point having the given index.voidAbstractCurve. lineTo(PicPoint pt)Adds a STRAIGHT segment to the end of this curve, i.e.voidArrow. paint(java.awt.Graphics2D g, double linewidth, double locX, double locY, PicPoint dir)Paints this arrow (this implementation does nothing)voidArrow. paint(java.awt.Graphics2D g, double linewidth, PicPoint loc, PicPoint dir)Paints this arrow.voidBranchElement. rotate(PicPoint ptOrg, double angle)Rotate this Element by the given angle along the given pointvoidDefaultLeafElement. rotate(PicPoint ptOrg, double angle)Rotate this Element by the given angle along the given pointvoidElement. rotate(PicPoint ptOrg, double angle)Rotate this Element by the given angle along the given pointvoidPicCircleFrom3Points. rotate(PicPoint ptOrg, double angle)Rotate this Element by the given angle along the given pointvoidPicEllipse. rotate(PicPoint ptOrg, double angle)Rotate this Element by the given angle along the given pointvoidPicNodeConnection. rotate(PicPoint ptOrg, double angle)Rotate this Element by the given angle along the given pointvoidPicParallelogram. rotate(PicPoint ptOrg, double angle)Rotate this Element by the given angle along the given pointvoidPicPsCurve. rotate(PicPoint ptOrg, double angle)Rotate this Element by the given angle along the given pointvoidPicSmoothPolygon. rotate(PicPoint ptOrg, double angle)Rotate this Element by the given angle along the given pointvoidAbstractElement. scale(PicPoint ptOrg, double sx, double sy)Scale this object by (sx,sy) using ptOrg as origin sx and sy can be negative.voidBranchElement. scale(PicPoint ptOrg, double sx, double sy)Scale children by (sx,sy) using ptOrg as origin ; sx and sy can be negative.voidElement. scale(PicPoint ptOrg, double sx, double sy)Scale this object by (sx,sy) using ptOrg as origin sx and sy may be negative.protected voidPicCircleFrom3Points. setControlPoint(int i, PicPoint pt)Set the coordinates of ith control-point from the given point.voidAbstractCurve. setPoint(int index, PicPoint pt, EditPointConstraint c)Set the coordinates of the Bezier point with the given index to the given location, but doesn't fire any DrawingEvent.voidBranchElement. setPoint(int index, PicPoint pt)Deprecated.use setPoint(int, PicPoint, EditPointConstraint) instead.voidBranchElement. setPoint(int numPoint, PicPoint pt, EditPointConstraint c)Set the point indexed by "numPoint" to the given value.voidDefaultLeafElement. setPoint(int index, PicPoint pt)Deprecated.use setPoint(index,pt,constraint) insteadvoidDefaultLeafElement. setPoint(int index, PicPoint pt, EditPointConstraint constraint)Set the user-controlled point indexed by "index" to the given value, using the specified geometrical constraint.voidDrawing.RootElement. setPoint(int numPoint, PicPoint src)Deprecated.use setPoint(int, PicPoint, EditPointConstraint) insteadvoidDrawing.RootElement. setPoint(int numPoint, PicPoint src, EditPointConstraint c)does nothingvoidElement. setPoint(int index, PicPoint pt)Deprecated.Use setPoint(int, PicPoint, EditPointConstraint)voidElement. setPoint(int index, PicPoint pt, EditPointConstraint constraint)Set the user-controlled point indexed by "index" to the given value, using the specified geometrical constraint.voidPicCircleFrom3Points. setPoint(int numPoint, PicPoint pt, EditPointConstraint c)Set the coordinate of the point indexed by "numPoint" to the given value.voidPicEllipse. setPoint(int numPoint, PicPoint pt, EditPointConstraint constraint)Set the coordinate of the point indexed by "numPoint" to the given value.voidPicGroup. setPoint(int numPoint, PicPoint ptNew, EditPointConstraint constraint)Set the point numbered by "numPoint" to the "pt" value, and scales inward object accordinglyvoidPicMultiCurve. setPoint(int index, PicPoint pt, EditPointConstraint constraint)Set the coordinates of a Bezier point having the given index to the given location, possibly moving other control-points according to the given constraint.voidPicNodeConnection. setPoint(int index, PicPoint pt)voidPicNodeConnection. setPoint(int index, PicPoint pt, EditPointConstraint constraint)voidPicParallelogram. setPoint(int numPoint, PicPoint pt, EditPointConstraint constraint)Set the coordinate of the control-point indexed by "numPoint" to the given value.voidPicPsCurve. setPoint(int index, PicPoint pt, EditPointConstraint constraint)Set the user-controlled point with the given index to the given value.voidPicSmoothPolygon. setPoint(int index, PicPoint pt, EditPointConstraint constraint)Set the user-controlled point with the given index to the given value.voidPicText. setPoint(int index, PicPoint pt, EditPointConstraint constraint)protected voidDefaultLeafElement. setSpecificationPoint(int index, PicPoint pt)set the specification point with the given index to the given location.voidBranchElement. shear(PicPoint ptOrg, double shx, double shy)Shear this Element by the given params wrt to the given originvoidDefaultLeafElement. shear(PicPoint ptOrg, double shx, double shy)Shear this Element by the given params wrt to the given originvoidElement. shear(PicPoint ptOrg, double shx, double shy)Shear this Element by the given params wrt to the given originvoidPicCircleFrom3Points. shear(PicPoint ptOrg, double shx, double shy)Shear this Element by the given params wrt to the given originvoidPicEllipse. shear(PicPoint ptOrg, double shx, double shy)Shear this Element by the given params wrt to the given originvoidPicNodeConnection. shear(PicPoint ptOrg, double shx, double shy)Shear this Element by the given params wrt to the given originvoidPicParallelogram. shear(PicPoint ptOrg, double shx, double shy)Shear this Element by the given params wrt to the given originvoidPicPsCurve. shear(PicPoint ptOrg, double shx, double shy)Shear this Element by the given params wrt to the given originvoidPicSmoothPolygon. shear(PicPoint ptOrg, double shx, double shy)Shear this Element by the given params wrt to the given originabstract intAbstractCurve. splitSegment(int index, PicPoint pt)Split the segment having the given index.intAbstractCurve. splitSegment(int seg, PicPoint ptleft, PicPoint pt, PicPoint ptright)Split a segment (either straight or curved) at a given point using two additionnal control points given as parameters.intPicMultiCurve. splitSegment(int seg_idx, PicPoint pt)Adds a new point to a (maybe curved) segment then fires a changed-update.intPicPsCurve. splitSegment(int segIdx, PicPoint pt)Split the given polygon segment (starting from 0), by inserting a new polygon point at the appropriate position.intPicSmoothPolygon. splitSegment(int segIdx, PicPoint pt)Split the given polygon segment (starting from 0), by inserting a new polygon point at the appropriate position.intPicSmoothPolygon. splitSegment(int segIdx, PicPoint pt, double smoothCoeff)Split the given polygon segment (starting from 0), by inserting a new polygon point at the appropriate position.protected PicVectorPicParallelogram. toParalleloBasisCoordinates(PicPoint ptOrg, PicPoint ptSrc, PicVector ptDest)Compute the contravariant coordinate of the given point "ptSrc" along the "l2r" and "b2t" vectors of the parallelogram's basis, the origin of the basis being set at "ptOrg" This simply reduces to a contravariant change of coordinates from the cartesian basis to the (non-orthonormalized) parallelogram basis.
To wind up : denoting OM = vec(ptOrg -> ptSrc), (e1,e2) the cartesian basis (ie std model-coordinates), and (x',y') the new coords in the (l2r,b2t) basis, yields :
OM = x e1 + y e2 = x' l2r + y' b2t.Constructors in jpicedt.graphic.model with parameters of type PicPoint Constructor Description PicCircleFrom3Points(PicPoint pt1, PicPoint pt2, PicPoint pt3, boolean plain, int closure, PicAttributeSet set)Create a new arc or circle whose geometry is specified by the 3 given points, and with the given attribute set.PicCircleFrom3Points(PicPoint pt1, PicPoint pt2, PicPoint pt3, PicAttributeSet set)Create a new circle whose geometry is specificed by the the 3 given points, and with the given attribute set.PicEllipse(PicPoint p1, PicPoint p2, PicPoint p3, int closure)Create a new PicEllipse object using the 3 given points as 3 consecutive points of the surrounding parallelogram, and a default attribute set.PicEllipse(PicPoint p1, PicPoint p2, PicPoint p3, int closure, PicAttributeSet set)Create a new PicEllipse object using the 3 given points as 3 consecutive points of the surrounding parallelogram, and the given attribute set.PicMultiCurve(PicPoint pt1)Create a new open multi curve reduced to the given point, and a default attribute set.PicMultiCurve(PicPoint[] pts, PicAttributeSet set)Create a new multi-curve filled with the given array of PicPoint's, each segment being a curved Bezier segment.PicMultiCurve(PicPoint pt1, PicAttributeSet set)Create a new open multi curve reduced to the given point, and the given attribute setPicMultiCurve(PicPoint pt1, PicPoint pt2)Create a new line, i.e.PicMultiCurve(PicPoint pt1, PicPoint pt2, PicAttributeSet set)Create a new straight open multi curve with the two given points, and the given attribute set.PicMultiCurve(PicPoint pt1, PicPoint ctrl1, PicPoint ctrl2, PicPoint pt2)Create an open single cubic bezier curve from the four given points, and a default attribute setPicParallelogram(PicPoint pt, PicAttributeSet set)Create a new PicParallelogram reduced to a point located at the given positionPicParallelogram(PicPoint pt1, PicPoint pt3)Create a new rectangle with axes parallel to X- and Y-axes, using the 2 given points to build the diagonal, and a default attribute set.PicParallelogram(PicPoint pt1, PicPoint pt2, PicPoint pt3)Create a new PicParallelogram object using the 3 given points as 3 consecutive points of the parallelogram, and a default attribute set.PicParallelogram(PicPoint pt1, PicPoint pt2, PicPoint pt3, PicAttributeSet set)Create a new PicParallelogram object using the 3 given points as 3 consecutive points of the parallelogram.PicPsCurve(PicPoint[] polyPts, boolean closed, double a, double b, double c, PicAttributeSet set)Create a new pscurve initialized from the given array of PicPoint's.PicPsCurve(PicPoint[] polygonPts, boolean closed, PicAttributeSet set)Create a new pscurve initialized from the given array of PicPoint's, using the default curvature values.PicSmoothPolygon(PicPoint[] polygonPts, boolean closed, double[] smoothCoeffs, PicAttributeSet set)Create a new smooth polygon initialized from the given array of PicPoint's, using the given array of smoothness values.PicSmoothPolygon(PicPoint[] polyPts, boolean closed, double smoothCoeff, PicAttributeSet set)Create a new smooth polygon initialized from the given array of PicPoint's.PicSmoothPolygon(PicPoint[] polygonPts, boolean closed, PicAttributeSet set)Create a new smooth polygon initialized from the given array of PicPoint's, using the default smoothness value.PicText(PicPoint ptA, java.lang.String textString, PicAttributeSet set)Create a new PicText object with the whole bunch of parameters !PicText(PicPoint ptA, PicAttributeSet set)Creates a PicText object with the following default values :
empty string, frame and alignment according to the attribute setTextEditable(java.lang.String textString, PicPoint anchorPoint)Construct a new TextEditable with the given content and a default attribute setTextEditable(java.lang.String textString, PicPoint anchorPoint, PicAttributeSet set)Construct a new TextEditable with the given content and attribute set -
Uses of PicPoint in jpicedt.graphic.toolkit
Constructors in jpicedt.graphic.toolkit with parameters of type PicPoint Constructor Description _MoveElementTransform(BranchElement target, int anchorChildIndex, PicPoint clickPt, Grid grid)_MoveElementTransform(Element target, PicPoint clickPt, Grid grid)MoveElementTransform(BranchElement target, int anchorChildIndex, PicPoint clickPt, Grid grid)MoveElementTransform(Element target, PicPoint clickPt, Grid grid) -
Uses of PicPoint in jpicedt.graphic.view
Fields in jpicedt.graphic.view declared as PicPoint Modifier and Type Field Description protected PicPointDefaultViewFactory.AbstractCurveView. arrow1Locprotected PicPointDefaultViewFactory.PicNodeConnectionView. arrow1Locprotected PicPointDefaultViewFactory.AbstractCurveView. arrow2Locprotected PicPointDefaultViewFactory.PicNodeConnectionView. arrow2Locprotected PicPointDefaultViewFactory.EllipseView. arrowEndDirprotected PicPointDefaultViewFactory.EllipseView. arrowStartDirprotected PicPointDefaultViewFactory.EllipseView. ptAngleEndprotected PicPointDefaultViewFactory.EllipseView. ptAngleStartprotected PicPointDefaultHighlighterFactory.DefaultHighlighter. ptBufferbuffer used by paint only ; may be safely used by subclasses as well -
Uses of PicPoint in jpicedt.ui
Methods in jpicedt.ui with parameters of type PicPoint Modifier and Type Method Description voidPEDrawingBoard.StatusBar. showCoord(PicPoint pt)Displays current mouse coordinates
-