[x3d-public] SFImage regex
Don Brutzman
brutzman at nps.edu
Sat Jun 9 06:25:37 PDT 2018
On 6/8/2018 3:29 PM, John Carlson wrote:
> Here's where you're mixing SFRotation an ScaleOrientation.
>
> John
>
> On Fri, Jun 8, 2018, 6:17 PM Don Brutzman <brutzman at nps.edu <mailto:brutzman at nps.edu>> wrote:
>
> validationResult.append((new SFRotationObject(getScaleOrientation())).validate()); // regex check of corresponding String value
thanks for checking - actually this snippet of autogenerated code is OK. the Transform scaleOrientation field has type SFRotation.
http://www.web3d.org/x3d/content/X3dTooltips.html#Transform.scaleOrientation
http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/group.html#Transform
... which is indeed a nice thing about strong typing in schemas and X3DUOM, it keeps strict account of node and field types.
all the best, Don
--
Don Brutzman Naval Postgraduate School, Code USW/Br brutzman at nps.edu
Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman
More information about the x3d-public
mailing list